aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: 1 ... 8 9 [10]
 91 
 on: May 31, 2017, 10:44:58 AM 
Started by klode82 - Last post by klode82
Another issue... When I have Download files, the Upload gone to 1,1kb/s, if I stop all downloads, the Uploads gone to 400kb/s (really!)
 ???

 92 
 on: May 31, 2017, 07:44:44 AM 
Started by klode82 - Last post by klode82
Good morning at all,
I'm workking again with amule SVN. thanks to GonoszTopi, I've compiled successfully my version of aMule for this platform, a PineA64+ 2Gb, with Aarch64 Linux Architecture Distro (Ubuntu Xenial)

So, I've some trouble with this version, because it seems to be slow, and I don't referring on download speed, but in the use of the same application. I'm testing web server as the remote GUI. Even from the same machine as from another machine. The result is the same. It shows screen after many time, when I try to close amuled, it gets many time (about 10 minutes)...

So, maybe there is some tips&tricks to boost something the app.


This is my configure:

Code: [Select]
$ ./configure --with-gdlib-config=/usr/lib/aarch64-linux-gnu --with-wxdir=/home/leocric/src/amule/wx/build --with-boost=/home/leocric/src/boost_1_58_0 --with-crypto-prefix=/home/leocric/src/amule_new/cryptopp --enable-alcc --enable-webserver --enable-amule-daemon --enable-optimize --enable-debug --enable-amule-gui --disable-monolithic --disable-upnp

I have added the source of boost otherwise I got some errors about boost (it cannot found any version instead).

thanks for your supply.

 93 
 on: May 30, 2017, 09:05:07 AM 
Started by Uqbar - Last post by Uqbar
UPDATE!
You cannot: it's a bug!

 94 
 on: May 27, 2017, 10:23:57 PM 
Started by Axl_Mas - Last post by Axl_Mas
Hi all,

I would like to compile amule 2.3.2 and SVN for openwrt https://openwrt.org/ and LEDE https://lede-project.org/ alternative and opensource firmware for routers.
Some years ago aMule was available on the openwrt repositories, I am asking your support to compile .ipk.

Once obtained the packages I'll push the opwnwrt guys to insert them back in their repositories, and I'll keep the packages always updated to the last version (compiling SVN versions twice per year).

I am in a ubuntu laptop, and I like to compile my programs (now I am running amule SVN compiled by me).

Could you please give me some instructions how to compile amule for openwrt?

Many thanks for this great project and you support,
Axl_Mas

 95 
 on: May 26, 2017, 08:10:01 PM 
Started by Uqbar - Last post by Uqbar
Hi all.
I have installed amule-daemon on mu Ubuntu 16.04.2.
The package version is said to be "2.4.0~git20151120.0023527bc2-1ubuntu1".

In order to have amuled listen only on a specific interface I have manually setup the
Code: [Select]
ECAddress=127.0.0.42This works as i can check the process is listening only on 127.0.0.42.
But then I have two issues:
  • amuleweb doesn't start anymore.
  • there's no similar setting for amuleweb so it's listening on all interfaces/IPs.
Without that setting, amuleweb is starting normally. With it I cannot see it (with neither "netstat -l" nor "ps ax"), despite the log says:

Code: [Select]
Command ''amuleweb' '--amule-config-file=/home/auser/.aMule/amule.conf'' with pid '25155' has finished with status code '0'.
Surely I am doing something wrong. Any hint?
Then, is there a way to accomplish the task with item no.2 without firewalling?
TALIA!

 96 
 on: May 26, 2017, 04:41:57 PM 
Started by LAZA - Last post by LAZA
I compiled the newest release from the Arch repo and confim this - crash happened while(?) hitting the "Start search" button:

Code: [Select]
2017-05-26 16:34:46: SharedFileList.cpp(333): Füge Datei /home/laza/.aMule/Temp/035.part.met zu freigegebenen Dateien hinzu
[Thread 0x7fffeaeaf700 (LWP 29382) exited]
[New Thread 0x7fffda7fc700 (LWP 29393)]
[Thread 0x7fffda7fc700 (LWP 29393) exited]
[New Thread 0x7fffeaeaf700 (LWP 29394)]
 2017-05-26 16:34:47: LibSocketAsio.cpp(1257): Asio thread 1 started
 2017-05-26 16:34:47: LibSocketAsio.cpp(1257): Asio thread 2 started
 2017-05-26 16:34:47: LibSocketAsio.cpp(1257): Asio thread 3 started
 2017-05-26 16:34:47: LibSocketAsio.cpp(1257): Asio thread 4 started

(amule:29349): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 17

(amule:29349): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 17
[New Thread 0x7fffd990f700 (LWP 29398)]

Thread 1 "amule" received signal SIGSEGV, Segmentation fault.
0x00007ffff620e7fe in wxWindow::DoClientToScreen(int*, int*) const () from /usr/lib/libwx_gtk2u_core-3.0.so.0

Backtraces

Code: [Select]
(gdb) bt full
[...]
#34925 0x00007ffff620ea9c in wxWindow::DoClientToScreen(int*, int*) const () at /usr/lib/libwx_gtk2u_core-3.0.so.0
#34926 0x00007ffff620ac7c in  () at /usr/lib/libwx_gtk2u_core-3.0.so.0
#34927 0x00007ffff620dae8 in  () at /usr/lib/libwx_gtk2u_core-3.0.so.0
#34928 0x00007ffff40e47ac in  () at /usr/lib/libgtk-x11-2.0.so.0
#34929 0x00007ffff3648f75 in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
#34930 0x00007ffff365af82 in  () at /usr/lib/libgobject-2.0.so.0
#34931 0x00007ffff366367f in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
#34932 0x00007ffff3663fbf in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
#34933 0x00007ffff41fc8cc in  () at /usr/lib/libgtk-x11-2.0.so.0
#34934 0x00007ffff40e2f74 in gtk_propagate_event () at /usr/lib/libgtk-x11-2.0.so.0
#34935 0x00007ffff40e332b in gtk_main_do_event () at /usr/lib/libgtk-x11-2.0.so.0
#34936 0x00007ffff3d5a46c in  () at /usr/lib/libgdk-x11-2.0.so.0
#34937 0x00007ffff336f7b7 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#34938 0x00007ffff336fa20 in  () at /usr/lib/libglib-2.0.so.0
#34939 0x00007ffff336fd42 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#34940 0x00007ffff40e23a7 in gtk_main () at /usr/lib/libgtk-x11-2.0.so.0
#34941 0x00007ffff61e0015 in wxGUIEventLoop::DoRun() () at /usr/lib/libwx_gtk2u_core-3.0.so.0
#34942 0x00007ffff5936b5b in wxEventLoopBase::Run() () at /usr/lib/libwx_baseu-3.0.so.0
#34943 0x00007ffff58fc266 in wxAppConsoleBase::MainLoop() () at /usr/lib/libwx_baseu-3.0.so.0
#34944 0x00007ffff5987c80 in wxEntry(int&, wchar_t**) () at /usr/lib/libwx_baseu-3.0.so.0
#34945 0x0000000000445872 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at amule-gui.cpp:95

Code: [Select]
(gdb) thread apply all bt

Thread 13 (Thread 0x7fffd990f700 (LWP 29398)):
#0  0x00007ffff7bc9ca6 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007ffff5a466c8 in  () at /usr/lib/libwx_baseu-3.0.so.0
#2  0x00007ffff5a46b25 in  () at /usr/lib/libwx_baseu-3.0.so.0
#3  0x00000000006184df in CTimerThread::Entry() (this=0x24f9ec0) at Timer.cpp:66
#4  0x00007ffff5a46222 in wxThread::CallEntry() () at /usr/lib/libwx_baseu-3.0.so.0
#5  0x00007ffff5a4efd0 in  () at /usr/lib/libwx_baseu-3.0.so.0
#6  0x00007ffff7bc32e7 in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007ffff4aee54f in clone () at /usr/lib/libc.so.6

Thread 12 (Thread 0x7fffeaeaf700 (LWP 29394)):
#0  0x00007ffff7bc9ca6 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007ffff5a466c8 in  () at /usr/lib/libwx_baseu-3.0.so.0
#2  0x00007ffff5a46b25 in  () at /usr/lib/libwx_baseu-3.0.so.0
#3  0x00000000006184df in CTimerThread::Entry() (this=0x218e990) at Timer.cpp:66
#4  0x00007ffff5a46222 in wxThread::CallEntry() () at /usr/lib/libwx_baseu-3.0.so.0
#5  0x00007ffff5a4efd0 in  () at /usr/lib/libwx_baseu-3.0.so.0
#6  0x00007ffff7bc32e7 in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007ffff4aee54f in clone () at /usr/lib/libc.so.6

Thread 9 (Thread 0x7fffdaffd700 (LWP 29391)):
#0  0x00007ffff7bc9756 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00000000006dec74 in boost::asio::detail::posix_event::wait<boost::asio::detail::scoped_lock<boost::asio::detail::posix_mutex> >(boost::asio::detail::scoped_lock<boost::asio::detail::posix_mutex>&) (this=this@entry=0xd14b78, lock=...) at /usr/include/boost/asio/detail/posix_event.hpp:106
#2  0x00000000006e3be8 in boost::asio::detail::task_io_service::do_run_one(boost::asio::detail::scoped_lock<boost::asio::detail::posix_mutex>&, boost::asio::detail::task_io_service_thread_info&, boost::system::error_code const&) (this=this@entry=0xd14b20, lock=..., this_thread=..., ec=...) at /usr/include/boost/asio/detail/impl/task_io_service.ipp:380
#3  0x00000000006e3d44 in boost::asio::detail::task_io_service::run(boost::system::error_code&) (this=0xd14b20, ec=...) at /usr/include/boost/asio/detail/impl/task_io_service.ipp:149
#4  0x00000000006d9d2b in boost::asio::io_service::run() (this=<optimized out>) at /usr/include/boost/asio/impl/io_service.ipp:59
#5  0x00000000006f0e8d in CAsioServiceThread::Entry() (this=0x1b32188) at LibSocketAsio.cpp:1259
#6  0x00007ffff5a46222 in wxThread::CallEntry() () at /usr/lib/libwx_baseu-3.0.so.0
#7  0x00007ffff5a4efd0 in  () at /usr/lib/libwx_baseu-3.0.so.0
#8  0x00007ffff7bc32e7 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007ffff4aee54f in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7fffdb7fe700 (LWP 29390)):
#0  0x00007ffff7bc9756 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00000000006dec74 in boost::asio::detail::posix_event::wait<boost::asio::detail::scoped_lock<boost::asio::detail::posix_mutex> >(boost::asio::detail::scoped_lock<boost::asio::detail::posix_mutex>&) (this=this@entry=0xd14b78, lock=...) at /usr/include/boost/asio/detail/posix_event.hpp:106
#2  0x00000000006e3be8 in boost::asio::detail::task_io_service::do_run_one(boost::asio::detail::scoped_lock<boost::asio::detail::posix_mutex>&, boost::asio::detail::task_io_service_thread_info&, boost::system::error_code const&) (this=this@entry=0xd14b20, lock=..., this_thread=..., ec=...) at /usr/include/boost/asio/detail/impl/task_io_service.ipp:380
#3  0x00000000006e3d44 in boost::asio::detail::task_io_service::run(boost::system::error_code&) (this=0xd14b20, ec=...) at /usr/include/boost/asio/detail/impl/task_io_service.ipp:149
#4  0x00000000006d9d2b in boost::asio::io_service::run() (this=<optimized out>) at /usr/include/boost/asio/impl/io_service.ipp:59
#5  0x00000000006f0e8d in CAsioServiceThread::Entry() (this=0x1b32168) at LibSocketAsio.cpp:1259
#6  0x00007ffff5a46222 in wxThread::CallEntry() () at /usr/lib/libwx_baseu-3.0.so.0
#7  0x00007ffff5a4efd0 in  () at /usr/lib/libwx_baseu-3.0.so.0
#8  0x00007ffff7bc32e7 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007ffff4aee54f in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7fffdbfff700 (LWP 29389)):
#0  0x00007ffff7bc9756 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00000000006dec74 in boost::asio::detail::posix_event::wait<boost::asio::detail::scoped_lock<boost::asio::detail::posix_mutex> >(boost::asio::detail::scoped_lock<boost::asio::detail::posix_mutex>&) (this=this@entry=0xd14b78, lock=...) at /usr/include/boost/asio/detail/posix_event.hpp:106
#2  0x00000000006e3be8 in boost::asio::detail::task_io_service::do_run_one(boost::asio::detail::scoped_lock<boost::asio::detail::posix_mutex>&, boost::asio::detail::task_io_service_thread_info&, boost::system::error_code const&) (this=this@entry=0xd14b20, lock=..., this_thread=..., ec=...) at /usr/include/boost/asio/detail/impl/task_io_service.ipp:380
#3  0x00000000006e3d44 in boost::asio::detail::task_io_service::run(boost::system::error_code&) (this=0xd14b20, ec=...) at /usr/include/boost/asio/detail/impl/task_io_service.ipp:149
#4  0x00000000006d9d2b in boost::asio::io_service::run() (this=<optimized out>) at /usr/include/boost/asio/impl/io_service.ipp:59
#5  0x00000000006f0e8d in CAsioServiceThread::Entry() (this=0x1b32148) at LibSocketAsio.cpp:1259
#6  0x00007ffff5a46222 in wxThread::CallEntry() () at /usr/lib/libwx_baseu-3.0.so.0
#7  0x00007ffff5a4efd0 in  () at /usr/lib/libwx_baseu-3.0.so.0
#8  0x00007ffff7bc32e7 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007ffff4aee54f in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7fffe88a7700 (LWP 29388)):
#0  0x00007ffff4aeeaa3 in epoll_wait () at /usr/lib/libc.so.6
#1  0x00000000006de8a3 in boost::asio::detail::epoll_reactor::run(bool, boost::asio::detail::op_queue<boost::asio::detail::task_io_service_operation>&) (this=0x17f9520, block=block@entry=true, ops=...) at /usr/include/boost/asio/detail/impl/epoll_reactor.ipp:392
#2  0x00000000006e3b8c in boost::asio::detail::task_io_service::do_run_one(boost::asio::detail::scoped_lock<boost::asio::detail::posix_mutex>&, boost::asio::detail::task_io_service_thread_info&, boost::system::error_code const&) (this=this@entry=0xd14b20, lock=..., this_thread=..., ec=...) at /usr/include/boost/asio/detail/impl/task_io_service.ipp:356
#3  0x00000000006e3d44 in boost::asio::detail::task_io_service::run(boost::system::error_code&) (this=0xd14b20, ec=...) at /usr/include/boost/asio/detail/impl/task_io_service.ipp:149
#4  0x00000000006d9d2b in boost::asio::io_service::run() (this=<optimized out>) at /usr/include/boost/asio/impl/io_service.ipp:59
#5  0x00000000006f0e8d in CAsioServiceThread::Entry() (this=0x1b32128) at LibSocketAsio.cpp:1259
#6  0x00007ffff5a46222 in wxThread::CallEntry() () at /usr/lib/libwx_baseu-3.0.so.0
#7  0x00007ffff5a4efd0 in  () at /usr/lib/libwx_baseu-3.0.so.0
#8  0x00007ffff7bc32e7 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007ffff4aee54f in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7fffe90a8700 (LWP 29387)):
#0  0x00007ffff7bcd5cd in nanosleep () at /usr/lib/libpthread.so.0
#1  0x00007ffff5a50eac in wxMicroSleep(unsigned long) () at /usr/lib/libwx_baseu-3.0.so.0
#2  0x0000000000526d86 in UploadBandwidthThrottler::Entry() (this=<optimized out>) at UploadBandwidthThrottler.cpp:306
#3  0x00007ffff5a46222 in wxThread::CallEntry() () at /usr/lib/libwx_baseu-3.0.so.0
#4  0x00007ffff5a4efd0 in  () at /usr/lib/libwx_baseu-3.0.so.0
#5  0x00007ffff7bc32e7 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007ffff4aee54f in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7fffe98d2700 (LWP 29384)):
#0  0x00007ffff4ae467d in poll () at /usr/lib/libc.so.6
#1  0x00007ffff336f9b6 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007ffff336fd42 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#3  0x00007ffff167cf86 in  () at /usr/lib/libgio-2.0.so.0
#4  0x00007ffff3397295 in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007ffff7bc32e7 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007ffff4aee54f in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7fffea0d3700 (LWP 29383)):
#0  0x00007ffff4ae467d in poll () at /usr/lib/libc.so.6
---Type <return> to continue, or q <return> to quit---
#1  0x00007ffff336f9b6 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007ffff336facc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007ffff336fb11 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007ffff3397295 in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007ffff7bc32e7 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007ffff4aee54f in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7ffff7fa3e00 (LWP 29349)):
#0  0x00007ffff620e7fe in wxWindow::DoClientToScreen(int*, int*) const () at /usr/lib/libwx_gtk2u_core-3.0.so.0
#1  0x00007ffff620ea9c in wxWindow::DoClientToScreen(int*, int*) const () at /usr/lib/libwx_gtk2u_core-3.0.so.0
#2  0x00007ffff620ea9c in wxWindow::DoClientToScreen(int*, int*) const () at /usr/lib/libwx_gtk2u_core-3.0.so.0
[...]
#34925 0x00007ffff620ea9c in wxWindow::DoClientToScreen(int*, int*) const () at /usr/lib/libwx_gtk2u_core-3.0.so.0
#34926 0x00007ffff620ac7c in  () at /usr/lib/libwx_gtk2u_core-3.0.so.0
#34927 0x00007ffff620dae8 in  () at /usr/lib/libwx_gtk2u_core-3.0.so.0
#34928 0x00007ffff40e47ac in  () at /usr/lib/libgtk-x11-2.0.so.0
#34929 0x00007ffff3648f75 in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
#34930 0x00007ffff365af82 in  () at /usr/lib/libgobject-2.0.so.0
#34931 0x00007ffff366367f in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
#34932 0x00007ffff3663fbf in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
#34933 0x00007ffff41fc8cc in  () at /usr/lib/libgtk-x11-2.0.so.0
#34934 0x00007ffff40e2f74 in gtk_propagate_event () at /usr/lib/libgtk-x11-2.0.so.0
#34935 0x00007ffff40e332b in gtk_main_do_event () at /usr/lib/libgtk-x11-2.0.so.0
#34936 0x00007ffff3d5a46c in  () at /usr/lib/libgdk-x11-2.0.so.0
#34937 0x00007ffff336f7b7 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#34938 0x00007ffff336fa20 in  () at /usr/lib/libglib-2.0.so.0
#34939 0x00007ffff336fd42 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#34940 0x00007ffff40e23a7 in gtk_main () at /usr/lib/libgtk-x11-2.0.so.0
#34941 0x00007ffff61e0015 in wxGUIEventLoop::DoRun() () at /usr/lib/libwx_gtk2u_core-3.0.so.0
#34942 0x00007ffff5936b5b in wxEventLoopBase::Run() () at /usr/lib/libwx_baseu-3.0.so.0
#34943 0x00007ffff58fc266 in wxAppConsoleBase::MainLoop() () at /usr/lib/libwx_baseu-3.0.so.0
#34944 0x00007ffff5987c80 in wxEntry(int&, wchar_t**) () at /usr/lib/libwx_baseu-3.0.so.0
#34945 0x0000000000445872 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at amule-gui.cpp:95

 97 
 on: May 26, 2017, 04:08:24 PM 
Started by LAZA - Last post by LAZA
Crashes with amule 10983-2 under Manjaro Xfce 64 Bit

Code: [Select]
(gdb) bt
[...]
#3426 0x00007ffff620ea9c in wxWindow::DoClientToScreen(int*, int*) const () at /usr/lib/libwx_gtk2u_core-3.0.so.0
#34927 0x00007ffff620ac7c in  () at /usr/lib/libwx_gtk2u_core-3.0.so.0
#34928 0x00007ffff620ded0 in  () at /usr/lib/libwx_gtk2u_core-3.0.so.0
#34929 0x00007ffff40e47ac in  () at /usr/lib/libgtk-x11-2.0.so.0
#34930 0x00007ffff3648f75 in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
#34931 0x00007ffff365af82 in  () at /usr/lib/libgobject-2.0.so.0
#34932 0x00007ffff366367f in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
#34933 0x00007ffff3663fbf in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
#34934 0x00007ffff41fc8cc in  () at /usr/lib/libgtk-x11-2.0.so.0
#34935 0x00007ffff40e3444 in gtk_main_do_event () at /usr/lib/libgtk-x11-2.0.so.0
#34936 0x00007ffff3d5a46c in  () at /usr/lib/libgdk-x11-2.0.so.0
#34937 0x00007ffff336f7b7 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#34938 0x00007ffff336fa20 in  () at /usr/lib/libglib-2.0.so.0
#34939 0x00007ffff336fd42 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#34940 0x00007ffff40e23a7 in gtk_main () at /usr/lib/libgtk-x11-2.0.so.0
#34941 0x00007ffff61e0015 in wxGUIEventLoop::DoRun() () at /usr/lib/libwx_gtk2u_core-3.0.so.0
#34942 0x00007ffff5936b5b in wxEventLoopBase::Run() () at /usr/lib/libwx_baseu-3.0.so.0
#34943 0x00007ffff58fc266 in wxAppConsoleBase::MainLoop() () at /usr/lib/libwx_baseu-3.0.so.0
#34944 0x00007ffff5987c80 in wxEntry(int&, wchar_t**) () at /usr/lib/libwx_baseu-3.0.so.0
#34945 0x000000000043fad2 in  ()
#34946 0x00007ffff4a22511 in __libc_start_main () at /usr/lib/libc.so.6
#34947 0x0000000000451dda in  ()



(gdb) bt full
[...]
#3426 0x00007ffff620ea9c in wxWindow::DoClientToScreen(int*, int*) const () at /usr/lib/libwx_gtk2u_core-3.0.so.0
#34927 0x00007ffff620ac7c in  () at /usr/lib/libwx_gtk2u_core-3.0.so.0
#34928 0x00007ffff620ded0 in  () at /usr/lib/libwx_gtk2u_core-3.0.so.0
#34929 0x00007ffff40e47ac in  () at /usr/lib/libgtk-x11-2.0.so.0
#34930 0x00007ffff3648f75 in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
#34931 0x00007ffff365af82 in  () at /usr/lib/libgobject-2.0.so.0
#34932 0x00007ffff366367f in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
#34933 0x00007ffff3663fbf in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
#34934 0x00007ffff41fc8cc in  () at /usr/lib/libgtk-x11-2.0.so.0
#34935 0x00007ffff40e3444 in gtk_main_do_event () at /usr/lib/libgtk-x11-2.0.so.0
#34936 0x00007ffff3d5a46c in  () at /usr/lib/libgdk-x11-2.0.so.0
#34937 0x00007ffff336f7b7 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#34938 0x00007ffff336fa20 in  () at /usr/lib/libglib-2.0.so.0
#34939 0x00007ffff336fd42 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#34940 0x00007ffff40e23a7 in gtk_main () at /usr/lib/libgtk-x11-2.0.so.0
#34941 0x00007ffff61e0015 in wxGUIEventLoop::DoRun() () at /usr/lib/libwx_gtk2u_core-3.0.so.0
#34942 0x00007ffff5936b5b in wxEventLoopBase::Run() () at /usr/lib/libwx_baseu-3.0.so.0
#34943 0x00007ffff58fc266 in wxAppConsoleBase::MainLoop() () at /usr/lib/libwx_baseu-3.0.so.0
#34944 0x00007ffff5987c80 in wxEntry(int&, wchar_t**) () at /usr/lib/libwx_baseu-3.0.so.0
#34945 0x000000000043fad2 in  ()
#34946 0x00007ffff4a22511 in __libc_start_main () at /usr/lib/libc.so.6
#34947 0x0000000000451dda in  ()



(gdb) thread apply all bt

Thread 15 (Thread 0x7fffeaeaf700 (LWP 7514)):
#0  0x00007ffff7bc9ca6 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007ffff5a466c8 in  () at /usr/lib/libwx_baseu-3.0.so.0
#2  0x00007ffff5a46b25 in  () at /usr/lib/libwx_baseu-3.0.so.0
#3  0x0000000000636fa5 in  ()
#4  0x00007ffff5a46222 in wxThread::CallEntry() () at /usr/lib/libwx_baseu-3.0.so.0
#5  0x00007ffff5a4efd0 in  () at /usr/lib/libwx_baseu-3.0.so.0
#6  0x00007ffff7bc32e7 in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007ffff4aee54f in clone () at /usr/lib/libc.so.6

Thread 12 (Thread 0x7fffd1ffb700 (LWP 7312)):
#0  0x00007ffff7bc9ca6 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007ffff5a466c8 in  () at /usr/lib/libwx_baseu-3.0.so.0
#2  0x00007ffff5a46b25 in  () at /usr/lib/libwx_baseu-3.0.so.0
#3  0x0000000000636fa5 in  ()
#4  0x00007ffff5a46222 in wxThread::CallEntry() () at /usr/lib/libwx_baseu-3.0.so.0
#5  0x00007ffff5a4efd0 in  () at /usr/lib/libwx_baseu-3.0.so.0
#6  0x00007ffff7bc32e7 in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007ffff4aee54f in clone () at /usr/lib/libc.so.6

Thread 9 (Thread 0x7fffd2ffd700 (LWP 7309)):
#0  0x00007ffff7bc9756 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x0000000000704d20 in  ()
#2  0x0000000000708bd6 in  ()
#3  0x00007ffff5a46222 in wxThread::CallEntry() () at /usr/lib/libwx_baseu-3.0.so.0
#4  0x00007ffff5a4efd0 in  () at /usr/lib/libwx_baseu-3.0.so.0
#5  0x00007ffff7bc32e7 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007ffff4aee54f in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7fffd37fe700 (LWP 7308)):
#0  0x00007ffff7bc9756 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x0000000000704d20 in  ()
#2  0x0000000000708bd6 in  ()
#3  0x00007ffff5a46222 in wxThread::CallEntry() () at /usr/lib/libwx_baseu-3.0.so.0
#4  0x00007ffff5a4efd0 in  () at /usr/lib/libwx_baseu-3.0.so.0
#5  0x00007ffff7bc32e7 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007ffff4aee54f in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7fffd3fff700 (LWP 7307)):
#0  0x00007ffff7bc9756 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x0000000000704d20 in  ()
#2  0x0000000000708bd6 in  ()
#3  0x00007ffff5a46222 in wxThread::CallEntry() () at /usr/lib/libwx_baseu-3.0.so.0
#4  0x00007ffff5a4efd0 in  () at /usr/lib/libwx_baseu-3.0.so.0
#5  0x00007ffff7bc32e7 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007ffff4aee54f in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7fffe88a7700 (LWP 7306)):
#0  0x00007ffff4aeeaa3 in epoll_wait () at /usr/lib/libc.so.6
#1  0x00000000006ffc3a in  ()
#2  0x0000000000704c6b in  ()
#3  0x0000000000708bd6 in  ()
#4  0x00007ffff5a46222 in wxThread::CallEntry() () at /usr/lib/libwx_baseu-3.0.so.0
#5  0x00007ffff5a4efd0 in  () at /usr/lib/libwx_baseu-3.0.so.0
#6  0x00007ffff7bc32e7 in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007ffff4aee54f in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7fffe90a8700 (LWP 7305)):
#0  0x00007ffff7bcd5cd in nanosleep () at /usr/lib/libpthread.so.0
#1  0x00007ffff5a50eac in wxMicroSleep(unsigned long) () at /usr/lib/libwx_baseu-3.0.so.0
#2  0x00000000005048dd in  ()
#3  0x00007ffff5a46222 in wxThread::CallEntry() () at /usr/lib/libwx_baseu-3.0.so.0
#4  0x00007ffff5a4efd0 in  () at /usr/lib/libwx_baseu-3.0.so.0
#5  0x00007ffff7bc32e7 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007ffff4aee54f in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7fffe98d2700 (LWP 7302)):
#0  0x00007ffff4ae467d in poll () at /usr/lib/libc.so.6
#1  0x00007ffff336f9b6 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007ffff336fd42 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#3  0x00007ffff167cf86 in  () at /usr/lib/libgio-2.0.so.0
#4  0x00007ffff3397295 in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007ffff7bc32e7 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007ffff4aee54f in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7fffea0d3700 (LWP 7301)):
#0  0x00007ffff4ae467d in poll () at /usr/lib/libc.so.6
#1  0x00007ffff336f9b6 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007ffff336facc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007ffff336fb11 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007ffff3397295 in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007ffff7bc32e7 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007ffff4aee54f in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7ffff7fa3e00 (LWP 7267)):
#0  0x00007ffff620e730 in wxWindow::DoClientToScreen(int*, int*) const () at /usr/lib/libwx_gtk2u_core-3.0.so.0
[...]
#34926 0x00007ffff620ea9c in wxWindow::DoClientToScreen(int*, int*) const () at /usr/lib/libwx_gtk2u_core-3.0.so.0
#34927 0x00007ffff620ac7c in  () at /usr/lib/libwx_gtk2u_core-3.0.so.0
#34928 0x00007ffff620ded0 in  () at /usr/lib/libwx_gtk2u_core-3.0.so.0
#34929 0x00007ffff40e47ac in  () at /usr/lib/libgtk-x11-2.0.so.0
#34930 0x00007ffff3648f75 in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
#34931 0x00007ffff365af82 in  () at /usr/lib/libgobject-2.0.so.0
#34932 0x00007ffff366367f in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
#34933 0x00007ffff3663fbf in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
#34934 0x00007ffff41fc8cc in  () at /usr/lib/libgtk-x11-2.0.so.0
#34935 0x00007ffff40e3444 in gtk_main_do_event () at /usr/lib/libgtk-x11-2.0.so.0
#34936 0x00007ffff3d5a46c in  () at /usr/lib/libgdk-x11-2.0.so.0
#34937 0x00007ffff336f7b7 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#34938 0x00007ffff336fa20 in  () at /usr/lib/libglib-2.0.so.0
#34939 0x00007ffff336fd42 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#34940 0x00007ffff40e23a7 in gtk_main () at /usr/lib/libgtk-x11-2.0.so.0
#34941 0x00007ffff61e0015 in wxGUIEventLoop::DoRun() () at /usr/lib/libwx_gtk2u_core-3.0.so.0
#34942 0x00007ffff5936b5b in wxEventLoopBase::Run() () at /usr/lib/libwx_baseu-3.0.so.0
#34943 0x00007ffff58fc266 in wxAppConsoleBase::MainLoop() () at /usr/lib/libwx_baseu-3.0.so.0
#34944 0x00007ffff5987c80 in wxEntry(int&, wchar_t**) () at /usr/lib/libwx_baseu-3.0.so.0
#34945 0x000000000043fad2 in  ()
#34946 0x00007ffff4a22511 in __libc_start_main () at /usr/lib/libc.so.6
#34947 0x0000000000451dda in  ()

inxi

Code: [Select]
$ inxi -Fxzc0
System:    Host: manjaro Kernel: 4.11.3-1-MANJARO x86_64 (64 bit gcc: 6.3.1) Desktop: Xfce 4.12.3 (Gtk 2.24.31)
           Distro: Manjaro Linux
Machine:   Device: desktop System: Dell product: Precision WorkStation T3500
           Mobo: Dell model: 09KPNV v: A00 BIOS: Dell v: A17 date: 05/28/2013
CPU:       Hexa core Intel Xeon W3680 (-HT-MCP-) cache: 12288 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 40018
           clock speeds: max: 3326 MHz 1: 3326 MHz 2: 3326 MHz 3: 3326 MHz 4: 3326 MHz 5: 1596 MHz 6: 3326 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Bonaire XTX [Radeon R7 260X/360] bus-ID: 02:00.0
           Display Server: X.Org 1.19.3 drivers: amdgpu (unloaded: modesetting) Resolution: 2560x1440@59.95hz
           GLX Renderer: Gallium 0.4 on AMD BONAIRE (DRM 3.10.0 / 4.11.3-1-MANJARO, LLVM 4.0.0)
           GLX Version: 3.0 Mesa 17.1.1 Direct Rendering: Yes
Audio:     Card-1 Advanced Micro Devices [AMD/ATI] Tobago HDMI Audio [Radeon R7 360 / R9 360 OEM]
           driver: snd_hda_intel bus-ID: 02:00.1
           Card-2 Intel 82801JI (ICH10 Family) HD Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture v: k4.11.3-1-MANJARO
Network:   Card: Broadcom Limited NetXtreme BCM5761 Gigabit Ethernet PCIe driver: tg3 v: 3.137 bus-ID: 05:00.0
           IF: enp5s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 7065.4GB (55.4% used)
           ID-1: /dev/sdb model: ST3000VX000 size: 3000.6GB
           ID-2: /dev/sda model: ADATA_SP900 size: 64.0GB
           ID-3: /dev/sdc model: WDC_WD2003FYPS size: 2000.4GB
           ID-4: /dev/sdd model: WDC_WD2003FYPS size: 2000.4GB
Partition: ID-1: / size: 48G used: 15G (31%) fs: btrfs dev: /dev/sda2
           ID-2: /boot size: 976M used: 141M (15%) fs: ext3 dev: /dev/sda1
           ID-3: /home size: 2.7T used: 1.1T (43%) fs: ext4 dev: /dev/sdb1
           ID-4: swap-1 size: 8.59GB used: 0.00GB (0%) fs: swap dev: /dev/sda3
Sensors:   System Temperatures: cpu: 74.0C mobo: N/A gpu: 44.0
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 255 Uptime: 4:04 Memory: 5182.6/12014.2MB Init: systemd Gcc sys: 6.3.1
           Client: Shell (bash 4.4.121) inxi: 2.3.8

Crashes randomly in various situations - seems that there is too much action done at the same time and then gives up...

 98 
 on: May 24, 2017, 10:51:27 AM 
Started by raffe1234 - Last post by Vollstrecker
Maybe it helps if you put - e as parameter after the bash call in the first line, then you see at least, if anything inside the script fails.

 99 
 on: May 23, 2017, 06:51:05 AM 
Started by raffe1234 - Last post by raffe1234
Here is some more info, maybe you need it. aMuleMail.sh is based on the example at http://wiki.amule.org/wiki/Events#Linux

I have put the sleep stuff here:
Code: [Select]
#!/bin/bash
#
# aMuleMail.sh - sends an email upon completion of an aMule download
# Used in conjuction with aMule's Event feature
#
# Call like this: aMuleMail.sh "%NAME" "%FILE" %HASH %SIZE "%DLACTIVETIME"
#
# Lets wait...
sleep 1
# Enter your email address here:
... (and so on)
...

 100 
 on: May 22, 2017, 10:55:28 PM 
Started by raffe1234 - Last post by raffe1234
After an update of my Qnap NAS I started to get
Failed to execute command '/opt/sbin/aMuleMail.sh "%NAME" "%FILE" %HASH %SIZE "%DLACTIVETIME"' on `Download completed' event.

When I test
/opt/sbin/aMuleMail.sh 1 2 3 4 5
I get an e-mail

After reading this thread  http://forum.amule.org/index.php?topic=17422.0 I tried to add "sleep 5" into aMuleMail.sh, but then I got
Command '/opt/sbin/aMuleMail.sh "%NAME" "%FILE" %HASH %SIZE "%DLACTIVETIME"' with pid '860' has finished with status code '1'.

The I changed to "sleep 1", but still "code '1'"

"Code '1'" sounds better than "Failed to execute..", but as I don't get any e-mail something seem to be wrong. What is "code 1" and what do you think I am doing wrong?

Some more from the log, maybe you need it? (it´s Qnap that wants to run it as root, not me ;-) )
Code: [Select]
2017-05-22 22:14:28: Initialising aMuleD 2.3.1 compiled with wxGTK2 v2.8.12
 2017-05-22 22:14:28: Checking if there is an instance already running...
 2017-05-22 22:14:28: No other instances are running.
!2017-05-22 22:14:28: ERROR: WARNING Warning! You are running aMule as root.
!2017-05-22 22:14:28: Doing so is not recommended for security reasons,
!2017-05-22 22:14:28: and you are advised to run aMule as an normal
!2017-05-22 22:14:28: user instead.
 2017-05-22 22:14:28: Creditfile loaded, 5458 clients are known
 2017-05-22 22:14:28: *** TCP socket (ECServer) listening on 0.0.0.0:4712
 2017-05-22 22:14:28: Created Server UDP-Socket at port 4665
 2017-05-22 22:14:28: ListenSocket: Ok.
 2017-05-22 22:14:28: Created Client UDP-Socket at port 4672
 2017-05-22 22:14:28: amuled: forking to background - see you
 2017-05-22 22:14:29: Loading server.met file: /root/.aMule/server.met
!2017-05-22 22:14:29: 9 servers in server.met found
 2017-05-22 22:14:29: Loading temp files from /share/Multimedia/aMule/Temp.
 2017-05-22 22:14:29: Loading PartFile 1 of 28
 2017-05-22 22:14:29: Loading PartFile 2 of 28
 2017-05-22 22:14:29: Loading PartFile 27 of 28
 2017-05-22 22:14:29: Loading PartFile 28 of 28
 2017-05-22 22:14:29: All PartFiles Loaded.
 2017-05-22 22:14:29: Found 28 part files
 2017-05-22 22:14:29: Adding file /share/Multimedia/aMule/Temp/045.part.met to shares
 2017-05-22 22:14:29: Adding file /share/Multimedia/aMule/Temp/043.part.met to shares
 2017-05-22 22:14:29: Adding file /share/Multimedia/aMule/Temp/002.part.met to shares
 2017-05-22 22:14:29: Adding file /share/Multimedia/aMule/Temp/001.part.met to shares
 2017-05-22 22:14:29: Found 48 known shared files
 2017-05-22 22:14:29: amuled: OnInit - starting timer
 2017-05-22 22:14:29: Loading IP filters 'ipfilter.dat' and 'ipfilter_static.dat'.
 2017-05-22 22:14:29: Loaded 0 IP-ranges from '/root/.aMule/ipfilter.dat'.
 2017-05-22 22:14:29: Loaded 0 IP-ranges from '/root/.aMule/ipfilter_static.dat'.
 2017-05-22 22:14:29: IP filter is ready
!2017-05-22 22:14:29: Connecting
 2017-05-22 22:14:29: Connecting to TheServer
 2017-05-22 22:14:29: Read 179 Kad contacts
!2017-05-22 22:14:29: Kad started.
 2017-05-22 22:14:29: New external connection accepted
 2017-05-22 22:14:29: Connecting client: aMuleweb 2.3.1
 2017-05-22 22:14:29: Access granted.
!2017-05-22 22:14:30: Kad stopped.
!2017-05-22 22:14:30: Connected to Kad (firewalled)
 2017-05-22 22:22:51: New external connection accepted
 2017-05-22 22:22:51: Connecting client: amule-remote 0x0001
 2017-05-22 22:22:51: Access granted.
!2017-05-22 22:23:47: Finished downloading: ubuntu.iso
 2017-05-22 22:23:55: Command '/opt/sbin/aMuleMail.sh "%NAME" "%FILE" %HASH %SIZE "%DLACTIVETIME"' with pid '22165' has finished with status code '1'.

Pages: 1 ... 8 9 [10]