aMule Forum

English => aMule crashes => Topic started by: saltydog on June 23, 2009, 07:44:44 PM

Title: crash in ubuntu jaunty
Post by: saltydog on June 23, 2009, 07:44:44 PM
aMule 2.2.4 using wxGTK2 v2.8.9 (OS: Linux)

----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule 2.2.4 using wxGTK2 v2.8.9
Running on: Linux 2.6.28-13-server i686

[2] wxString::~wxString() in amule [0x8086311]
[3] wxFatalSignalHandler in /usr/lib/libwx_baseu-2.8.so.0[0xb77b6da6]
[4] ?? in [0xb80c9400]
[5] wxStringTokenizer::~wxStringTokenizer() in amule [0x8096623]
[6] CryptoPP::FileSource::~FileSource() in amule [0x80bbd60]
[7] wxStringTokenizer::~wxStringTokenizer() in amule [0x809b325]
[8] wxString::operator+=(wxString const&) in amule [0x80a3563]
[9] wxString::operator+=(wxString const&) in amule [0x80a395f]
[10] wxString::~wxString() in amule [0x808ae8d]
[11] wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const in /usr/lib/libwx_baseu-2.8.so.0[0xb7713231]
[12] wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0xb77b249a]
[13] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) in /usr/lib/libwx_baseu-2.8.so.0[0xb77b36b4]
[14] wxEvtHandler::ProcessEvent(wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0xb77b37bb]
[15] wxEvtHandler::ProcessPendingEvents() in /usr/lib/libwx_baseu-2.8.so.0[0xb77b2919]
[16] wxAppConsole::ProcessPendingEvents() in /usr/lib/libwx_baseu-2.8.so.0[0xb7713591]
[17] wxAppBase::ProcessIdle() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xb7a15edf]
[18] ?? in /usr/lib/libwx_gtk2u_core-2.8.so.0 [0xb79656c3]
[19] ?? in /usr/lib/libglib-2.0.so.0 [0xb6d52c81]
[20] g_main_context_dispatch in /usr/lib/libglib-2.0.so.0[0xb6d54b88]
[21] ?? in /usr/lib/libglib-2.0.so.0 [0xb6d580eb]
[22] g_main_loop_run in /usr/lib/libglib-2.0.so.0[0xb6d585ba]
[23] gtk_main in /usr/lib/libgtk-x11-2.0.so.0[0xb71987d9]
[24] wxEventLoop::Run() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xb797f215]
[25] wxAppBase::MainLoop() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xb7a15d4e]
[26] wxAppBase::OnRun() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xb7a15921]
[27] wxEntry(int&, wchar_t**) in /usr/lib/libwx_baseu-2.8.so.0[0xb774cdaa]
[28] wxEntry(int&, char**) in /usr/lib/libwx_baseu-2.8.so.0[0xb774cfa7]
[29] std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::~basic_stringbuf() in amule [0x815fff0]
[30] __libc_start_main in /lib/tls/i686/cmov/libc.so.6[0xb7433775]
[31] ?? in amule [0x8085121]


--------------------------------------------------------------------------------
Title: Re: crash in ubuntu jaunty
Post by: wuischke on June 23, 2009, 07:56:28 PM
Please update to aMule 2.2.5 and if possible wxGTK 2.8.10. (See http://www.amule.org/amule/index.php?topic=16647.0)
Title: Re: crash in ubuntu jaunty
Post by: saltydog on June 23, 2009, 07:58:53 PM
Please update to aMule 2.2.5 and if possible wxGTK 2.8.10. (See http://www.amule.org/amule/index.php?topic=16647.0)

The user says "I am not an expert so they may have errors. "... I am getting scared!
Title: Re: crash in ubuntu jaunty
Post by: wuischke on June 23, 2009, 08:03:46 PM
You shouldn't. I trust Festor to do good work and people using his packages had a good experience.

You should know that Debian packaging is incredibly complex and packaging everything correctly is hard, too.
Title: Re: crash in ubuntu jaunty
Post by: saltydog on June 23, 2009, 08:06:19 PM
Yes, I will give it a try, even if I am reading in ubuntu's forum that also 2.2.5 crashes. This happens since last week, after a kernel upgrade to  2.6.28-13 in jaunty.
Title: Re: crash in ubuntu jaunty
Post by: Festor on June 23, 2009, 08:29:32 PM
Please update to aMule 2.2.5 and if possible wxGTK 2.8.10. (See http://www.amule.org/amule/index.php?topic=16647.0)

I removed wxGTK 2.8.10 support of my packages at least until libwxgtk 2.8.10 is available in Ubuntu 9.10. Seems that these packages (http://wiki.wxpython.org/InstallingOnUbuntuOrDebian) aren't the same that of universe repository of Ubuntu.

Please update to aMule 2.2.5 and if possible wxGTK 2.8.10. (See http://www.amule.org/amule/index.php?topic=16647.0)

The user says "I am not an expert so they may have errors. "... I am getting scared!


 :o :o
   
I prefer don't say that are perfect to lie by saying they are free of bugs.
Do you know something that is free of bugs?  :-\
Title: Re: crash in ubuntu jaunty
Post by: saltydog on June 23, 2009, 08:32:05 PM
Hi Festor!
Thank you for your great job on packaging amule. I was jocking.

I have read that also 2.2.5 crashes on jaunty with new kernel. Have you some notes on this?
Title: Re: crash in ubuntu jaunty
Post by: Festor on June 23, 2009, 08:50:20 PM
Have you some notes on this?

Sorry, I don't understand what do you mean whit "notes".
Title: Re: crash in ubuntu jaunty
Post by: Stu Redman on June 23, 2009, 10:50:40 PM
I have Notes  (http://www-01.ibm.com/software/lotus/products/notes/)too, and it sucks.  ;D
Title: Re: crash in ubuntu jaunty
Post by: saltydog on June 24, 2009, 10:12:23 AM
Have you some notes on this?

Sorry, I don't understand what do you mean whit "notes".

I mean: have you analyzed also crashes of 2.2.5 in ubuntu? Any thoughts?
Title: Re: crash in ubuntu jaunty
Post by: Saahk on July 01, 2009, 07:25:25 PM
First, sorry for my bad english.

With Ubuntu 9.04 64-bits. Amule 2.2.4 crashes. So i've installed 2.2.5 with the ppa. Crashes too with this trace :
Code: [Select]
Current version is: aMule 2.2.5 using wxGTK2 v2.8.9
Running on: Linux 2.6.28-13-server x86_64

[2] ?? in amule [0x44bef7]
[3] wxFatalSignalHandler in /usr/lib/libwx_baseu-2.8.so.0[0x7f397dd4006c]
[4] ?? in /lib/libpthread.so.0 [0x7f397fcfa080]
[5] ?? in /usr/lib/libwx_gtk2u_core-2.8.so.0 [0x7f397e3c0671]
[6] ?? in /usr/lib/libgdk-x11-2.0.so.0 [0x7f397c48c1cf]
[7] g_main_context_dispatch in /usr/lib/libglib-2.0.so.0[0x7f397a99e20a]
[8] ?? in /usr/lib/libglib-2.0.so.0 [0x7f397a9a18e0]
[9] g_main_loop_run in /usr/lib/libglib-2.0.so.0[0x7f397a9a1dad]
[10] gtk_main in /usr/lib/libgtk-x11-2.0.so.0[0x7f397c83fbc7]
[11] wxEventLoop::Run() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0x7f397e3bf068]
[12] wxAppBase::MainLoop() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0x7f397e44857b]
[13] wxEntry(int&, wchar_t**) in /usr/lib/libwx_baseu-2.8.so.0[0x7f397dce0a8d]
[14] ?? in amule [0x4d98d0]
[15] __libc_start_main in /lib/libc.so.6[0x7f397cf285a6]
[16] ?? in amule [0x448cb9]

Title: Re: crash in ubuntu jaunty
Post by: Saahk on July 01, 2009, 09:14:31 PM
another crash and another trace :
Code: [Select]
----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule 2.2.5 using wxGTK2 v2.8.9
Running on: Linux 2.6.28-13-server x86_64

[2] ?? in amule [0x44bef7]
[3] wxFatalSignalHandler in /usr/lib/libwx_baseu-2.8.so.0[0x7f89ef02506c]
[4] ?? in /lib/libpthread.so.0 [0x7f89f0fdf080]
[5] ?? in amule [0x527c1f]
[6] ?? in amule [0x45524b]
[7] ?? in amule [0x455426]
[8] ?? in amule [0x45ab93]
[9] ?? in amule [0x45c403]
[10] ?? in amule [0x44ce9e]
[11] wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0x7f89ef020ae9]
[12] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) in /usr/lib/libwx_baseu-2.8.so.0[0x7f89ef021cc4]
[13] wxEvtHandler::ProcessEvent(wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0x7f89ef021db7]
[14] wxEvtHandler::ProcessPendingEvents() in /usr/lib/libwx_baseu-2.8.so.0[0x7f89ef020f88]
[15] wxAppConsole::ProcessPendingEvents() in /usr/lib/libwx_baseu-2.8.so.0[0x7f89eef9095e]
[16] wxAppBase::ProcessIdle() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0x7f89ef72d6eb]
[17] ?? in /usr/lib/libwx_gtk2u_core-2.8.so.0 [0x7f89ef68ca94]
[18] g_main_context_dispatch in /usr/lib/libglib-2.0.so.0[0x7f89ebc8320a]
[19] ?? in /usr/lib/libglib-2.0.so.0 [0x7f89ebc868e0]
[20] g_main_loop_run in /usr/lib/libglib-2.0.so.0[0x7f89ebc86dad]
[21] gtk_main in /usr/lib/libgtk-x11-2.0.so.0[0x7f89edb24bc7]
[22] wxEventLoop::Run() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0x7f89ef6a4068]
[23] wxAppBase::MainLoop() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0x7f89ef72d57b]
[24] wxEntry(int&, wchar_t**) in /usr/lib/libwx_baseu-2.8.so.0[0x7f89eefc5a8d]
[25] ?? in amule [0x4d98d0]
[26] __libc_start_main in /lib/libc.so.6[0x7f89ee20d5a6]
[27] ?? in amule [0x448cb9]


--------------------------------------------------------------------------------
Title: Re: crash in ubuntu jaunty
Post by: Festor on July 01, 2009, 09:52:33 PM
If you wait a bit maybe you can install the amule-dbg package for improve your backtraces.

I uploaded a new build that makes a new package with debug info which is necessary for useful backtraces.
Title: Re: crash in ubuntu jaunty
Post by: Saahk on July 02, 2009, 04:40:02 PM
Thanks a lot for your work.

I will try to produce a full backtrace of the next crash.
Title: Re: crash in ubuntu jaunty
Post by: Saahk on July 02, 2009, 05:32:36 PM
Code: [Select]
gdb /usr/bin/amule
GNU gdb 6.8-debian
Copyright (C) 2008 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 "x86_64-linux-gnu"...
(gdb) run
Starting program: /usr/bin/amule
[Thread debugging using libthread_db enabled]
[New Thread 0x7f48c6ff47e0 (LWP 11480)]
Initialising aMule 2.2.5 using wxGTK2 v2.8.9
Checking if there is an instance already running...
No other instances are running.
ListenSocket: Ok.
[New Thread 0x7f48bad04950 (LWP 11485)]
HTTP download thread started
[New Thread 0x7f48b3fff950 (LWP 11488)]
Loading temp files from /mnt/data/kyannine/DL/p2p/amule/temp.
Loading PartFile 54 of 54
All PartFiles Loaded.
Adding file /mnt/data/kyannine/DL/p2p/amule/temp/028.part.met to shares
Adding file /mnt/data/kyannine/DL/p2p/amule/temp/029.part.met to shares
Adding file /mnt/data/kyannine/DL/p2p/amule/temp/032.part.met to shares
Adding file /mnt/data/kyannine/DL/p2p/amule/temp/033.part.met to shares
Adding file /mnt/data/kyannine/DL/p2p/amule/temp/034.part.met to shares
Adding file /mnt/data/kyannine/DL/p2p/amule/temp/035.part.met to shares
Adding file /mnt/data/kyannine/DL/p2p/amule/temp/036.part.met to shares
Adding file /mnt/data/kyannine/DL/p2p/amule/temp/037.part.met to shares
Adding file /mnt/data/kyannine/DL/p2p/amule/temp/038.part.met to shares
Adding file /mnt/data/kyannine/DL/p2p/amule/temp/039.part.met to shares
Adding file /mnt/data/kyannine/DL/p2p/amule/temp/040.part.met to shares
Adding file /mnt/data/kyannine/DL/p2p/amule/temp/043.part.met to shares
Adding file /mnt/data/kyannine/DL/p2p/amule/temp/044.part.met to shares
Adding file /mnt/data/kyannine/DL/p2p/amule/temp/047.part.met to shares
Adding file /mnt/data/kyannine/DL/p2p/amule/temp/051.part.met to shares
Adding file /mnt/data/kyannine/DL/p2p/amule/temp/052.part.met to shares
Adding file /mnt/data/kyannine/DL/p2p/amule/temp/053.part.met to shares
Adding file /mnt/data/kyannine/DL/p2p/amule/temp/054.part.met to shares
Adding file /mnt/data/kyannine/DL/p2p/amule/temp/002.part.met to shares
Adding file /mnt/data/kyannine/DL/p2p/amule/temp/003.part.met to shares
Adding file /mnt/data/kyannine/DL/p2p/amule/temp/004.part.met to shares
Adding file /mnt/data/kyannine/DL/p2p/amule/temp/007.part.met to shares
Adding file /mnt/data/kyannine/DL/p2p/amule/temp/010.part.met to shares
Adding file /mnt/data/kyannine/DL/p2p/amule/temp/011.part.met to shares
Adding file /mnt/data/kyannine/DL/p2p/amule/temp/012.part.met to shares
Adding file /mnt/data/kyannine/DL/p2p/amule/temp/013.part.met to shares
Adding file /mnt/data/kyannine/DL/p2p/amule/temp/014.part.met to shares
Adding file /mnt/data/kyannine/DL/p2p/amule/temp/016.part.met to shares
Adding file /mnt/data/kyannine/DL/p2p/amule/temp/019.part.met to shares
Adding file /mnt/data/kyannine/DL/p2p/amule/temp/020.part.met to shares
Adding file /mnt/data/kyannine/DL/p2p/amule/temp/021.part.met to shares
Adding file /mnt/data/kyannine/DL/p2p/amule/temp/026.part.met to shares
Adding file /mnt/data/kyannine/DL/p2p/amule/temp/027.part.met to shares
[New Thread 0x7f48b37fe950 (LWP 11489)]
[Thread 0x7f48b37fe950 (LWP 11489) exited]
[New Thread 0x7f48b2ffd950 (LWP 11490)]
Host: amule.sourceforge.net:80
URL: http://amule.sourceforge.net/lastversion
Response: 200 (Error: 0)
Download size: 6
HTTP download thread ended
[Thread 0x7f48bad04950 (LWP 11485) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f48c6ff47e0 (LWP 11480)]
0x0000000000626816 in CPartFile::ClientStateChanged (this=0x3200000070,
    oldState=0, newState=1) at ../../src/PartFile.cpp:3629
3629 ../../src/PartFile.cpp: No such file or directory.
in ../../src/PartFile.cpp
(gdb) bt
#0  0x0000000000626816 in CPartFile::ClientStateChanged (this=0x3200000070,
    oldState=0, newState=1) at ../../src/PartFile.cpp:3629
#1  0x00000000004a14ac in CUpDownClient::SetDownloadState (this=0x3311000,
    byNewState=1 '\001') at ../../src/DownloadClient.cpp:525
#2  0x000000000046529a in CUpDownClient::Disconnected (this=0x3311000,
    strReason=@0x7fffcf02bcd0, bFromSocket=false)
    at ../../src/BaseClient.cpp:1238
#3  0x0000000000471f05 in CClientList::ProcessDirectCallbackList (
    this=0x26ccee0) at ../../src/ClientList.cpp:1113
#4  0x00000000004743ac in CClientList::Process (this=0x26ccee0)
    at ../../src/ClientList.cpp:748
#5  0x00000000004527e9 in CamuleApp::OnCoreTimer (this=0x24df430)
    at ../../src/amule.cpp:1461
#6  0x00007f48c4c41ae9 in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.8.so.0
#7  0x00007f48c4c42cc4 in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#8  0x00007f48c4c42db7 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#9  0x00007f48c4c41f88 in wxEvtHandler::ProcessPendingEvents ()
   from /usr/lib/libwx_baseu-2.8.so.0
#10 0x00007f48c4bb195e in wxAppConsole::ProcessPendingEvents ()
   from /usr/lib/libwx_baseu-2.8.so.0
---Type <return> to continue, or q <return> to quit---
#11 0x00007f48c534e6eb in wxAppBase::ProcessIdle ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#12 0x00007f48c52ada94 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#13 0x00007f48c18a420a in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#14 0x00007f48c18a78e0 in ?? () from /usr/lib/libglib-2.0.so.0
#15 0x00007f48c18a7dad in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#16 0x00007f48c3745bc7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#17 0x00007f48c52c5068 in wxEventLoop::Run ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#18 0x00007f48c534e57b in wxAppBase::MainLoop ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#19 0x00007f48c4be6a8d in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#20 0x0000000000596789 in main (argc=1, argv=0x7fffcf02c468)
    at ../../src/amule-gui.cpp:95
(gdb) bt full
#0  0x0000000000626816 in CPartFile::ClientStateChanged (this=0x3200000070,
    oldState=0, newState=1) at ../../src/PartFile.cpp:3629
No locals.
#1  0x00000000004a14ac in CUpDownClient::SetDownloadState (this=0x3311000,
    byNewState=1 '\001') at ../../src/DownloadClient.cpp:525
No locals.
#2  0x000000000046529a in CUpDownClient::Disconnected (this=0x3311000,
    strReason=@0x7fffcf02bcd0, bFromSocket=false)
    at ../../src/BaseClient.cpp:1238
bDelete = false
#3  0x0000000000471f05 in CClientList::ProcessDirectCallbackList (
    this=0x26ccee0) at ../../src/ClientList.cpp:1113
it2 = {_M_node = 0x255b5b0}
curClient = (CUpDownClient *) 0x3311000
it = {_M_node = 0x26cd0b8}
cur_tick = 1006882975
#4  0x00000000004743ac in CClientList::Process (this=0x26ccee0)
    at ../../src/ClientList.cpp:748
cur_tick = 1006882975
buddy = Connected
current_it = {_M_node = 0x26cd070}
#5  0x00000000004527e9 in CamuleApp::OnCoreTimer (this=0x24df430)
    at ../../src/amule.cpp:1461
---Type <return> to continue, or q <return> to quit---
msCur = 2538671
msPrev1 = 2538671
msPrev5 = 2535773
msPrevSave = 2521970
msPrevHist = 2538000
msPrevOS = 2536985
msPrevKnownMet = 1800083
#6  0x00007f48c4c41ae9 in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#7  0x00007f48c4c42cc4 in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#8  0x00007f48c4c42db7 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#9  0x00007f48c4c41f88 in wxEvtHandler::ProcessPendingEvents ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#10 0x00007f48c4bb195e in wxAppConsole::ProcessPendingEvents ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#11 0x00007f48c534e6eb in wxAppBase::ProcessIdle ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#12 0x00007f48c52ada94 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#13 0x00007f48c18a420a in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#14 0x00007f48c18a78e0 in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#15 0x00007f48c18a7dad in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#16 0x00007f48c3745bc7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#17 0x00007f48c52c5068 in wxEventLoop::Run ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#18 0x00007f48c534e57b in wxAppBase::MainLoop ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#19 0x00007f48c4be6a8d in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#20 0x0000000000596789 in main (argc=1, argv=0x7fffcf02c468)
    at ../../src/amule-gui.cpp:95
---Type <return> to continue, or q <return> to quit---
No locals.
(gdb) thread apply all bt

Thread 5 (Thread 0x7f48b2ffd950 (LWP 11490)):
#0  0x00007f48c6bfc56d in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1  0x00007f48c4c3f4d9 in wxConditionInternal::WaitTimeout ()
   from /usr/lib/libwx_baseu-2.8.so.0
#2  0x00007f48c4c40862 in wxSemaphoreInternal::WaitTimeout ()
   from /usr/lib/libwx_baseu-2.8.so.0
#3  0x00000000006984d9 in CTimerThread::Entry (this=0x25847d0)
    at ../../src/Timer.cpp:64
#4  0x00007f48c4c40a4a in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.8.so.0
#5  0x00007f48c6bf83ba in start_thread () from /lib/libpthread.so.0
#6  0x00007f48c3ef5fcd in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f48b3fff950 (LWP 11488)):
#0  0x00007f48c6bff7e1 in nanosleep () from /lib/libpthread.so.0
#1  0x00007f48c4c466fc in wxMicroSleep () from /usr/lib/libwx_baseu-2.8.so.0
#2  0x0000000000537e8c in UploadBandwidthThrottler::Entry (this=0x2c462d0)
    at ../../src/UploadBandwidthThrottler.cpp:324
#3  0x00007f48c4c40a4a in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.8.so.0
---Type <return> to continue, or q <return> to quit---
#4  0x00007f48c6bf83ba in start_thread () from /lib/libpthread.so.0
#5  0x00007f48c3ef5fcd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f48c6ff47e0 (LWP 11480)):
#0  0x0000000000626816 in CPartFile::ClientStateChanged (this=0x3200000070,
    oldState=0, newState=1) at ../../src/PartFile.cpp:3629
#1  0x00000000004a14ac in CUpDownClient::SetDownloadState (this=0x3311000,
    byNewState=1 '\001') at ../../src/DownloadClient.cpp:525
#2  0x000000000046529a in CUpDownClient::Disconnected (this=0x3311000,
    strReason=@0x7fffcf02bcd0, bFromSocket=false)
    at ../../src/BaseClient.cpp:1238
#3  0x0000000000471f05 in CClientList::ProcessDirectCallbackList (
    this=0x26ccee0) at ../../src/ClientList.cpp:1113
#4  0x00000000004743ac in CClientList::Process (this=0x26ccee0)
    at ../../src/ClientList.cpp:748
#5  0x00000000004527e9 in CamuleApp::OnCoreTimer (this=0x24df430)
    at ../../src/amule.cpp:1461
#6  0x00007f48c4c41ae9 in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.8.so.0
#7  0x00007f48c4c42cc4 in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#8  0x00007f48c4c42db7 in wxEvtHandler::ProcessEvent ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libwx_baseu-2.8.so.0
#9  0x00007f48c4c41f88 in wxEvtHandler::ProcessPendingEvents ()
   from /usr/lib/libwx_baseu-2.8.so.0
#10 0x00007f48c4bb195e in wxAppConsole::ProcessPendingEvents ()
   from /usr/lib/libwx_baseu-2.8.so.0
#11 0x00007f48c534e6eb in wxAppBase::ProcessIdle ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#12 0x00007f48c52ada94 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#13 0x00007f48c18a420a in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#14 0x00007f48c18a78e0 in ?? () from /usr/lib/libglib-2.0.so.0
#15 0x00007f48c18a7dad in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#16 0x00007f48c3745bc7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#17 0x00007f48c52c5068 in wxEventLoop::Run ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#18 0x00007f48c534e57b in wxAppBase::MainLoop ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#19 0x00007f48c4be6a8d in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#20 0x0000000000596789 in main (argc=1, argv=0x7fffcf02c468)
    at ../../src/amule-gui.cpp:95
(gdb)


i don't know gdb, maybe i haven't  done things correctly !
Title: Re: crash in ubuntu jaunty
Post by: Festor on July 02, 2009, 06:05:32 PM
You saw this (http://www.amule.org/amule/index.php?topic=4115.0)?
Title: Re: crash in ubuntu jaunty
Post by: wuischke on July 02, 2009, 06:08:51 PM
@Festor: Huh? I believe Saahk did everything right - he made a nice GDB backtrace containing good information just as our wiki instructions say.
Title: Re: crash in ubuntu jaunty
Post by: Festor on July 02, 2009, 06:17:36 PM
@Festor: Huh? I believe Saahk did everything right - he made a nice GDB backtrace containing good information just as our wiki instructions say.

I have not said it has not done so. Just answered what he wrote.

i don't know gdb, maybe i haven't  done things correctly !
Title: Re: crash in ubuntu jaunty
Post by: wuischke on July 02, 2009, 06:28:09 PM
Ah, OK. I interpreted your reply as "rtfm", but it seems you intended to say "yes, everything done as in the wiki".
Title: Re: crash in ubuntu jaunty
Post by: Saahk on July 02, 2009, 10:09:53 PM
I've seen the wiki but this is the first time i use gdb  so i do things without necessarily understanding.

I just saw i forgot to create the ~/.gdbinit file. With this file, the backtrace seems much smaller :

Code: [Select]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fee1f8cb7e0 (LWP 18400)]
0x0000000000464f63 in CUpDownClient::ClearDownloadBlockRequests (this=0x41a3490)
    at ../../src/BaseClient.cpp:1177
1177 in ../../src/BaseClient.cpp
Title: Re: crash in ubuntu jaunty
Post by: wuischke on July 03, 2009, 06:31:51 AM
You might notice two things:
a) There's a different file mentioned this time, i.e. the crash manifested at a different place.
Quote from: the last backtrace
[Switching to Thread 0x7f48c6ff47e0 (LWP 11480)]
0x0000000000626816 in CPartFile::ClientStateChanged (this=0x3200000070,
    oldState=0, newState=1) at ../../src/PartFile.cpp:3629
b) No one typed "bt", "bt full" or "thread apply bt all" the second time and hence there's no output to these commands. ;)
Title: Re: crash in ubuntu jaunty
Post by: Stu Redman on July 03, 2009, 09:29:31 PM
Quote from: the last backtrace
[Switching to Thread 0x7f48c6ff47e0 (LWP 11480)]
0x0000000000626816 in CPartFile::ClientStateChanged (this=0x3200000070,
    oldState=0, newState=1) at ../../src/PartFile.cpp:3629

Do you remember what you did? Especially - did you cancel a download shortly before? Or was a download finished shortly before?