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 SVN from november 12th 2007 crash on Solaris  (Read 2636 times)

skolnick

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 24
  • Offline Offline
  • Posts: 1188
  • CentOS 6 User
aMule SVN from november 12th 2007 crash on Solaris
« on: December 02, 2007, 01:19:55 AM »

Hi!

I am getting some weird crashes on solaris x86. I am using the above mentioned SVN version and wxGTK 2.8.4. Here is the backtrace, I got it while trying to get a new serverlist (aMule was just starting, with no .aMule folder at all). I split the whole output into the different command output I gave (bt, bt full etc) but other than that, it's exactly what it threw at me:

Code: [Select]
[gpulido@deathstar ~]$ gdb /usr/local/bin/amule
GNU gdb 6.7
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i386-pc-solaris2.10"...
Code: [Select]
(gdb) run
Starting program: /usr/local/bin/amule
warning: Temporarily disabling breakpoints for unloaded shared library "/usr/lib/ld.so.1"
warning: Lowest section in /lib/libpthread.so.1 is .dynamic at 00000074
Initialising aMule
Checking if there is an instance already running...
No other instances are running.
warning: Lowest section in /lib/libthread.so.1 is .dynamic at 00000074
[New LWP 1]
[New LWP 2]
Loading temp files from /home/gpulido/.aMule/Temp.

All PartFiles Loaded.
ListenSocket: Ok.

External connections disabled in config file
*** Server UDP socket (TCP+3) at 0.0.0.0:4665
*** TCP socket (TCP) listening on 0.0.0.0:4662
*** Client UDP socket (extended eMule) at 0.0.0.0:4672
Empty dir /home/gpulido/.aMule/Incoming/ shared
[New LWP 3]
HTTP download thread started
[New LWP 4]
[New LWP 5]
[LWP 4 exited]
[New LWP 4]

Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 3]
0xd2074744 in wxHTTP::BuildRequest () from /usr/local/lib/libwx_baseu_net-2.8.so.0.1.1
Code: [Select]
(gdb) bt
#0  0xd2074744 in wxHTTP::BuildRequest () from /usr/local/lib/libwx_baseu_net-2.8.so.0.1.1
#1  0xd207534c in wxHTTP::GetInputStream () from /usr/local/lib/libwx_baseu_net-2.8.so.0.1.1
#2  0x084563c5 in CHTTPDownloadThread::GetInputStream (this=0x9250298, url_handler=0xcfbdcf3c, location=@0x92502a8, proxy=false)
    at HTTPDownload.cpp:319
#3  0x0845579d in CHTTPDownloadThread::Entry (this=0x9250298) at HTTPDownload.cpp:192
#4  0xd1fcb519 in wxThreadInternal::PthreadStart () from /usr/local/lib/libwx_baseu-2.8.so.0.1.1
#5  0xd1fcb577 in wxPthreadStart () from /usr/local/lib/libwx_baseu-2.8.so.0.1.1
#6  0xd1ce4672 in _thr_setup () from /lib/libc.so.1
#7  0xd1ce4960 in L3_doit () from /lib/libc.so.1
#8  0xcfac0000 in ?? ()
#9  0x00000000 in ?? ()
Code: [Select]
(gdb) bt full
#0  0xd2074744 in wxHTTP::BuildRequest () from /usr/local/lib/libwx_baseu_net-2.8.so.0.1.1
No symbol table info available.
#1  0xd207534c in wxHTTP::GetInputStream () from /usr/local/lib/libwx_baseu_net-2.8.so.0.1.1
No symbol table info available.
#2  0x084563c5 in CHTTPDownloadThread::GetInputStream (this=0x9250298, url_handler=0xcfbdcf3c, location=@0x92502a8, proxy=false)
    at HTTPDownload.cpp:319
        host = {<wxStringBase> = {static npos = 4294967295, m_pchData = 0x923e584}, <No data fields>}
        url = {<wxStringBase> = {static npos = 4294967295, m_pchData = 0x9264024}, <No data fields>}
        url_read_stream = (struct wxInputStream *) 0x81e6dd1
        bad_url_pos = -1
        location_url = {<wxStringBase> = {static npos = 4294967295, m_pchData = 0x927ec64}, <No data fields>}
        port = 80
        addr = <incomplete type>
#3  0x0845579d in CHTTPDownloadThread::Entry (this=0x9250298) at HTTPDownload.cpp:192
        buffer = '\0' <repeats 3900 times>, "�a�Ѯ���\000\000\000\000\000\000\000\000��#\t\000\000\000\000\000\000\000\000\000\000��\000\000\000\000\000����0����#\t", '\0' <repeats 22 times>, "��\224ν�s�����#\t\000\000\000\000\001\000\000\000\230\002%\t �$\t��#\t\000\000\000\000\230\002%\t �$\t<\t\001�\000\000���ν��\236����#\t", '\0' <repeats 16 times>, "<\t\001��ν�\035\237����#\t\000\000\000\000\000\000\000\000\000�#\t\000\000\000\000\000\000\000\000\230\002%\t"
        current_read = 0
        outfile = <incomplete type>
        download_size = 153420448
        MAX_HTTP_READ = 153420440
        total_read = 0
        url_handler = (struct wxHTTP *) 0x9262e58
        url_read_stream = (struct wxInputStream *) 0x0
        proxy_data = (const CProxyData *) 0x8ee4e80
        use_proxy = false
#4  0xd1fcb519 in wxThreadInternal::PthreadStart () from /usr/local/lib/libwx_baseu-2.8.so.0.1.1
No symbol table info available.
#5  0xd1fcb577 in wxPthreadStart () from /usr/local/lib/libwx_baseu-2.8.so.0.1.1
No symbol table info available.
#6  0xd1ce4672 in _thr_setup () from /lib/libc.so.1
No symbol table info available.
#7  0xd1ce4960 in L3_doit () from /lib/libc.so.1
No symbol table info available.
#8  0xcfac0000 in ?? ()
No symbol table info available.
#9  0x00000000 in ?? ()
No symbol table info available.
Code: [Select]
(gdb) thread apply all bt

Thread 5 (LWP 5):
#0  0xd1ce49d9 in __lwp_park () from /lib/libc.so.1
#1  0xd1cdf070 in cond_sleep_queue () from /lib/libc.so.1
#2  0xd1cdf182 in cond_wait_queue () from /lib/libc.so.1
#3  0xd1cdf522 in cond_wait_common () from /lib/libc.so.1
#4  0xd1cdf756 in _cond_timedwait () from /lib/libc.so.1
#5  0xd1cdf7c1 in cond_timedwait () from /lib/libc.so.1
#6  0xd1cdf7fd in pthread_cond_timedwait () from /lib/libc.so.1
#7  0xd1fca119 in wxConditionInternal::WaitTimeout () from /usr/local/lib/libwx_baseu-2.8.so.0.1.1
#8  0xd1fca16d in wxCondition::WaitTimeout () from /usr/local/lib/libwx_baseu-2.8.so.0.1.1
#9  0xd1fca61f in wxSemaphoreInternal::WaitTimeout () from /usr/local/lib/libwx_baseu-2.8.so.0.1.1
#10 0xd1fcc55d in wxSemaphore::WaitTimeout () from /usr/local/lib/libwx_baseu-2.8.so.0.1.1
#11 0x08854ce1 in CTimerThread::Entry (this=0x91ce7c8) at Timer.cpp:63
#12 0xd1fcb519 in wxThreadInternal::PthreadStart () from /usr/local/lib/libwx_baseu-2.8.so.0.1.1
#13 0xd1fcb577 in wxPthreadStart () from /usr/local/lib/libwx_baseu-2.8.so.0.1.1
#14 0xd1ce4672 in _thr_setup () from /lib/libc.so.1
#15 0xd1ce4960 in L3_doit () from /lib/libc.so.1
#16 0xcfac0800 in ?? ()
#17 0x00000000 in ?? ()

Thread 3 (LWP 3):
#0  0xd2074744 in wxHTTP::BuildRequest () from /usr/local/lib/libwx_baseu_net-2.8.so.0.1.1
#1  0xd207534c in wxHTTP::GetInputStream () from /usr/local/lib/libwx_baseu_net-2.8.so.0.1.1
#2  0x084563c5 in CHTTPDownloadThread::GetInputStream (this=0x9250298, url_handler=0xcfbdcf3c, location=@0x92502a8, proxy=false)
    at HTTPDownload.cpp:319
#3  0x0845579d in CHTTPDownloadThread::Entry (this=0x9250298) at HTTPDownload.cpp:192
#4  0xd1fcb519 in wxThreadInternal::PthreadStart () from /usr/local/lib/libwx_baseu-2.8.so.0.1.1
#5  0xd1fcb577 in wxPthreadStart () from /usr/local/lib/libwx_baseu-2.8.so.0.1.1
#6  0xd1ce4672 in _thr_setup () from /lib/libc.so.1
#7  0xd1ce4960 in L3_doit () from /lib/libc.so.1
#8  0xcfac0000 in ?? ()
#9  0x00000000 in ?? ()

Thread 2 (LWP 2):
#0  0xd1ce4d05 in ___nanosleep () from /lib/libc.so.1
#1  0xd1cd8ef4 in __nanosleep () from /lib/libc.so.1
#2  0xd1ea2b67 in nanosleep () from /lib/librt.so.1
#3  0xd1fd0d76 in wxMicroSleep () from /usr/local/lib/libwx_baseu-2.8.so.0.1.1
#4  0xd1fd0da8 in wxMilliSleep () from /usr/local/lib/libwx_baseu-2.8.so.0.1.1
#5  0xd1fcaa8b in wxThread::Sleep () from /usr/local/lib/libwx_baseu-2.8.so.0.1.1
#6  0x0847f897 in UploadBandwidthThrottler::Entry (this=0x923e210) at UploadBandwidthThrottler.cpp:321
#7  0xd1fcb519 in wxThreadInternal::PthreadStart () from /usr/local/lib/libwx_baseu-2.8.so.0.1.1
#8  0xd1fcb577 in wxPthreadStart () from /usr/local/lib/libwx_baseu-2.8.so.0.1.1
#9  0xd1ce4672 in _thr_setup () from /lib/libc.so.1
#10 0xd1ce4960 in L3_doit () from /lib/libc.so.1
#11 0xd0172400 in ?? ()
#12 0x00000000 in ?? ()

Thread 1 (LWP 1):
#0  0xd1ce5a15 in __pollsys () from /lib/libc.so.1
#1  0xd1cd9fc8 in _pollsys () from /lib/libc.so.1
#2  0xd1c8e95a in poll () from /lib/libc.so.1
#3  0xd21b7924 in wxapp_poll_func () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0.1.1
#4  0xd15f329e in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#5  0xd21b78ec in ?? () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0.1.1
#6  0x7fffffff in ?? ()
#7  0x00000013 in ?? ()
#8  0x08eef968 in ?? ()
#9  0x0929c630 in ?? ()
#10 0x00000000 in ?? ()
---Type <return> to continue, or q <return> to quit---
#0  0xd2074744 in wxHTTP::BuildRequest () from /usr/local/lib/libwx_baseu_net-2.8.so.0.1.1
Code: [Select]
(gdb) quit
The program is running.  Exit anyway? (y or n) y
[gpulido@deathstar ~]$
Logged

lfroen

  • Guest
Re: aMule SVN from november 12th 2007 crash on Solaris
« Reply #1 on: December 02, 2007, 09:42:28 AM »

Looks like it crashes inside WX, somewhere in HTTPDownload
Logged

skolnick

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 24
  • Offline Offline
  • Posts: 1188
  • CentOS 6 User
Re: aMule SVN from november 12th 2007 crash on Solaris
« Reply #2 on: December 02, 2007, 10:34:01 PM »

I'll try to build the latest wx2.8.7 and report back, maybe it's a bug on their side.

Thanks!
Logged

skolnick

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 24
  • Offline Offline
  • Posts: 1188
  • CentOS 6 User
Re: aMule SVN from november 12th 2007 crash on Solaris
« Reply #3 on: December 07, 2007, 01:51:31 AM »

I rebuilt everything and the crash is not happening anymore. The problem seems to be related to build wxGTK linked to GNU libiconv. I rebuilt it using native solaris iconv and now it doesn't crash anymore.

Regards.
Logged