aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: aMule crashes when loading file  (Read 377 times)

Giallu

  • Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 1
aMule crashes when loading file
« on: May 16, 2017, 06:56:12 PM »

Hi, I'd like to report a possible bug of aMule.

aMule crashed loading the shared files. Here is the backtraces.
I'm on Manjaro, running kernel 4.10.15-1 and self-compiled aMule 10983-2
I also tried with different kernel version but the problem is still present

Thanks in advance!

Code: [Select]
(gdb) run
Starting program: /usr/bin/amule
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
 2017-05-16 18:39:19: amuleAppCommon.cpp(335): Initialising aMule SVN compiled with wxGTK2 v3.0.3 and Boost 1.63 (Debugging) (Snapshot: rev. 10983)
 2017-05-16 18:39:19: amuleAppCommon.cpp(382): Checking if there is an instance already running...
 2017-05-16 18:39:19: amuleAppCommon.cpp(413): No other instances are running.
 2017-05-16 18:39:19: ListenSocket.cpp(67): ListenSocket: Ok.
[New Thread 0x7fffea3a8700 (LWP 21453)]
[New Thread 0x7fffe9ba7700 (LWP 21454)]
[New Thread 0x7fffe24ec700 (LWP 21457)]
[New Thread 0x7fffe1ceb700 (LWP 21458)]
[New Thread 0x7fffe14ea700 (LWP 21459)]
[New Thread 0x7fffe0ce9700 (LWP 21460)]
[New Thread 0x7fffcffff700 (LWP 21461)]
[New Thread 0x7fffcf7fe700 (LWP 21462)]
 2017-05-16 18:39:19: DownloadQueue.cpp(113): Caricamento dei file Part da: /media/giallu/Storage/eMule/Temp
 2017-05-16 18:39:19: DownloadQueue.cpp(132): Caricamento del file Part 1 su 1
 2017-05-16 18:39:19: DownloadQueue.cpp(163): Tutti i file Part sono caricati.
 2017-05-16 18:39:19: SharedFileList.cpp(333): Aggiungo il file /xxxxxx/aMule/Temp/027.part.met alle condivisioni
[New Thread 0x7fffceffd700 (LWP 21463)]
 2017-05-16 18:39:20: LibSocketAsio.cpp(1257): Thread 1 asincrono avviato
 2017-05-16 18:39:20: LibSocketAsio.cpp(1257): Thread 2 asincrono avviato
 2017-05-16 18:39:20: LibSocketAsio.cpp(1257): Thread 3 asincrono avviato
 2017-05-16 18:39:20: LibSocketAsio.cpp(1257): Thread 4 asincrono avviato
[Thread 0x7fffcf7fe700 (LWP 21462) exited]
 2017-05-16 18:39:31: SharedFileList.cpp(333): Aggiungo il file /xxxxxx/aMule/Temp/027.part.met alle condivisioni
[New Thread 0x7fffcf7fe700 (LWP 21469)]
[Thread 0x7fffcf7fe700 (LWP 21469) exited]

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

(gdb) bt
#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
#3  0x00007ffff620ea9c in wxWindow::DoClientToScreen(int*, int*) const ()
    at /usr/lib/libwx_gtk2u_core-3.0.so.0
#4  0x00007ffff620ea9c in wxWindow::DoClientToScreen(int*, int*) const ()
    at /usr/lib/libwx_gtk2u_core-3.0.so.0
#5  0x00007ffff620ea9c in wxWindow::DoClientToScreen(int*, int*) const ()
    at /usr/lib/libwx_gtk2u_core-3.0.so.0
#6  0x00007ffff620ea9c in wxWindow::DoClientToScreen(int*, int*) const ()
    at /usr/lib/libwx_gtk2u_core-3.0.so.0
#7  0x00007ffff620ea9c in wxWindow::DoClientToScreen(int*, int*) const ()
    at /usr/lib/libwx_gtk2u_core-3.0.so.0
#8  0x00007ffff620ea9c in wxWindow::DoClientToScreen(int*, int*) const ()
    at /usr/lib/libwx_gtk2u_core-3.0.so.0
#9  0x00007ffff620ea9c in wxWindow::DoClientToScreen(int*, int*) const ()
    at /usr/lib/libwx_gtk2u_core-3.0.so.0
#10 0x00007ffff620ea9c in wxWindow::DoClientToScreen(int*, int*) const ()
    at /usr/lib/libwx_gtk2u_core-3.0.so.0
#11 0x00007ffff620ea9c in wxWindow::DoClientToScreen(int*, int*) const ()
    at /usr/lib/libwx_gtk2u_core-3.0.so.0

(gdb) bt full
#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
#3  0x00007ffff620ea9c in wxWindow::DoClientToScreen(int*, int*) const ()
    at /usr/lib/libwx_gtk2u_core-3.0.so.0
#4  0x00007ffff620ea9c in wxWindow::DoClientToScreen(int*, int*) const ()
    at /usr/lib/libwx_gtk2u_core-3.0.so.0
#5  0x00007ffff620ea9c in wxWindow::DoClientToScreen(int*, int*) const ()
    at /usr/lib/libwx_gtk2u_core-3.0.so.0
#6  0x00007ffff620ea9c in wxWindow::DoClientToScreen(int*, int*) const ()
    at /usr/lib/libwx_gtk2u_core-3.0.so.0
#7  0x00007ffff620ea9c in wxWindow::DoClientToScreen(int*, int*) const ()
    at /usr/lib/libwx_gtk2u_core-3.0.so.0
#8  0x00007ffff620ea9c in wxWindow::DoClientToScreen(int*, int*) const ()
    at /usr/lib/libwx_gtk2u_core-3.0.so.0
#9  0x00007ffff620ea9c in wxWindow::DoClientToScreen(int*, int*) const ()
    at /usr/lib/libwx_gtk2u_core-3.0.so.0
#10 0x00007ffff620ea9c in wxWindow::DoClientToScreen(int*, int*) const ()
    at /usr/lib/libwx_gtk2u_core-3.0.so.0
#11 0x00007ffff620ea9c in wxWindow::DoClientToScreen(int*, int*) const ()
    at /usr/lib/libwx_gtk2u_core-3.0.so.0

(gdb) thread apply all bt

Thread 10 (Thread 0x7fffceffd700 (LWP 21463)):
#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=0x4248980) 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 8 (Thread 0x7fffcffff700 (LWP 21461)):
#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=0x3c82570, 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
---Type <return> to continue, or q <return> to quit---
#5  0x00000000006f0e8d in CAsioServiceThread::Entry() (this=0x402b408)
    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 0x7fffe0ce9700 (LWP 21460)):
#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=0x402b3e8)
    at LibSocketAsio.cpp:1259
#6  0x00007ffff5a46222 in wxThread::CallEntry() () at /usr/lib/libwx_baseu-3.0.so.0
---Type <return> to continue, or q <return> to quit---
#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 0x7fffe14ea700 (LWP 21459)):
#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=0x402b3c8)
    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
---Type <return> to continue, or q <return> to quit---

Thread 5 (Thread 0x7fffe1ceb700 (LWP 21458)):
#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=0x402b3a8)
    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 4 (Thread 0x7fffe24ec700 (LWP 21457)):
#0  0x00007ffff7bcd5cd in nanosleep () at /usr/lib/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
#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 3 (Thread 0x7fffe9ba7700 (LWP 21454)):
#0  0x00007ffff4ae467d in poll () at /usr/lib/libc.so.6
#1  0x00007ffff33709b6 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007ffff3370d42 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#3  0x00007ffff167fff6 in  () at /usr/lib/libgio-2.0.so.0
#4  0x00007ffff3398295 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 2 (Thread 0x7fffea3a8700 (LWP 21453)):
#0  0x00007ffff4ae467d in poll () at /usr/lib/libc.so.6
#1  0x00007ffff33709b6 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007ffff3370acc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007ffff3370b11 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007ffff3398295 in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007ffff7bc32e7 in start_thread () at /usr/lib/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
#6  0x00007ffff4aee54f in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7ffff7fd8e00 (LWP 21420)):
#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
#3  0x00007ffff620ea9c in wxWindow::DoClientToScreen(int*, int*) const ()
    at /usr/lib/libwx_gtk2u_core-3.0.so.0
#4  0x00007ffff620ea9c in wxWindow::DoClientToScreen(int*, int*) const ()
    at /usr/lib/libwx_gtk2u_core-3.0.so.0
#5  0x00007ffff620ea9c in wxWindow::DoClientToScreen(int*, int*) const ()
    at /usr/lib/libwx_gtk2u_core-3.0.so.0
#6  0x00007ffff620ea9c in wxWindow::DoClientToScreen(int*, int*) const ()
    at /usr/lib/libwx_gtk2u_core-3.0.so.0
#7  0x00007ffff620ea9c in wxWindow::DoClientToScreen(int*, int*) const ()
    at /usr/lib/libwx_gtk2u_core-3.0.so.0
#8  0x00007ffff620ea9c in wxWindow::DoClientToScreen(int*, int*) const ()
    at /usr/lib/libwx_gtk2u_core-3.0.so.0
#9  0x00007ffff620ea9c in wxWindow::DoClientToScreen(int*, int*) const ()
    at /usr/lib/libwx_gtk2u_core-3.0.so.0
#10 0x00007ffff620ea9c in wxWindow::DoClientToScreen(int*, int*) const ()


Logged