aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: crash CVS Thu Nov 3  (Read 3377 times)

giopas

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
    • http://www.adunanza.it
crash CVS Thu Nov 3
« on: November 04, 2005, 06:57:48 PM »

Hi to everyone, I hope to help you and the whole community to enhance this worderfull GUI! :D

I run on Ubuntu Debian and I use aMule CVS Thu Nov 3. After a while, during the hashing time of the shared file, it has frozen. Here the backtrace:
Code: [Select]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1225729312 (LWP 20944)]
0xb7b70685 in _GSocket_GDK_Input () from /usr/lib/libwx_gtk2u_core-2.5.so.3
(gdb) bt
#0  0xb7b70685 in _GSocket_GDK_Input () from /usr/lib/libwx_gtk2u_core-2.5.so.3
#1  0xb722fb20 in gdk_get_show_events () from /usr/lib/libgdk-x11-2.0.so.0
#2  0xb716131c in g_vasprintf () from /usr/lib/libglib-2.0.so.0
#3  0xb713a4ee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#4  0xb713d4f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#5  0xb713d7e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#6  0xb74abe65 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#7  0xb7b6e1c8 in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.5.so.3
#8  0xb7bfeb83 in wxAppBase::MainLoop ()
   from /usr/lib/libwx_gtk2u_core-2.5.so.3
#9  0xb7bfecea in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.5.so.3
#10 0xb7934a53 in wxEntry () from /usr/lib/libwx_baseu-2.5.so.3
#11 0xb7934b2d in wxEntry () from /usr/lib/libwx_baseu-2.5.so.3
#12 0x0814abe4 in main (argc=1, argv=0xbfd4d384) at amule-gui.cpp:149
(gdb) bt full
#0  0xb7b70685 in _GSocket_GDK_Input () from /usr/lib/libwx_gtk2u_core-2.5.so.3
No symbol table info available.
#1  0xb722fb20 in gdk_get_show_events () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#2  0xb716131c in g_vasprintf () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#3  0xb713a4ee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#4  0xb713d4f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#5  0xb713d7e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#6  0xb74abe65 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#7  0xb7b6e1c8 in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.5.so.3
No symbol table info available.
#8  0xb7bfeb83 in wxAppBase::MainLoop ()
   from /usr/lib/libwx_gtk2u_core-2.5.so.3
No symbol table info available.
#9  0xb7bfecea in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.5.so.3
No symbol table info available.
#10 0xb7934a53 in wxEntry () from /usr/lib/libwx_baseu-2.5.so.3
No symbol table info available.
---Type to continue, or q to quit---
#11 0xb7934b2d in wxEntry () from /usr/lib/libwx_baseu-2.5.so.3
No symbol table info available.
#12 0x0814abe4 in main (argc=1, argv=0xbfd4d384) at amule-gui.cpp:149
No locals.
(gdb) thread apply all bt

Thread 4 (Thread -1238697040 (LWP 20950)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7f1d58b in __read_nocancel () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0822c0dc in CFile::doRead (this=0xb62af3b0, pBuf=0xb5167008,
    nCount=9728000) at CFile.cpp:409
#3  0x0827c784 in CFileDataIO::Read (this=0xb62af3b0, pBuf=0xb5167008,
    nCount=9728000) at SafeFile.cpp:70
#4  0x0806d3e6 in CAddFileThread::CreateNextPartHash (file=0xb62af3b0,
    owner=0x8db12f0, createAICH=true) at AddFileThread.cpp:417
#5  0x0806ccaf in CAddFileThread::Entry (this=0x89f7af8)
    at AddFileThread.cpp:310
#6  0xb799abfb in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.5.so.3
#7  0xb799aacf in wxPthreadStart () from /usr/lib/libwx_baseu-2.5.so.3
#8  0xb7f18361 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9  0xb772abde in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread -1230304336 (LWP 20948)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7f1dd76 in __nanosleep_nocancel ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb79a2718 in wxMicroSleep () from /usr/lib/libwx_baseu-2.5.so.3
---Type to continue, or q to quit---
#3  0xb79a2745 in wxMilliSleep () from /usr/lib/libwx_baseu-2.5.so.3
#4  0xb799b1ef in wxThread::Sleep () from /usr/lib/libwx_baseu-2.5.so.3
#5  0x08110481 in UploadBandwidthThrottler::Entry (this=0x89d3780)
    at UploadBandwidthThrottler.cpp:367
#6  0xb799abfb in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.5.so.3
#7  0xb799aacf in wxPthreadStart () from /usr/lib/libwx_baseu-2.5.so.3
#8  0xb7f18361 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9  0xb772abde in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread -1225729312 (LWP 20944)):
#0  0xb7b70685 in _GSocket_GDK_Input () from /usr/lib/libwx_gtk2u_core-2.5.so.3
#1  0xb722fb20 in gdk_get_show_events () from /usr/lib/libgdk-x11-2.0.so.0
#2  0xb716131c in g_vasprintf () from /usr/lib/libglib-2.0.so.0
#3  0xb713a4ee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#4  0xb713d4f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#5  0xb713d7e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#6  0xb74abe65 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#7  0xb7b6e1c8 in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.5.so.3
#8  0xb7bfeb83 in wxAppBase::MainLoop ()
   from /usr/lib/libwx_gtk2u_core-2.5.so.3
#9  0xb7bfecea in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.5.so.3
#10 0xb7934a53 in wxEntry () from /usr/lib/libwx_baseu-2.5.so.3
---Type to continue, or q to quit---
#11 0xb7934b2d in wxEntry () from /usr/lib/libwx_baseu-2.5.so.3
#12 0x0814abe4 in main (argc=1, argv=0xbfd4d384) at amule-gui.cpp:149

I hope that would be helpfull for you!

c ya,
giopas
« Last Edit: November 05, 2005, 10:01:00 AM by giopas »
Logged

giopas

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
    • http://www.adunanza.it
Re: crash CVS Thu Nov 3
« Reply #1 on: November 05, 2005, 09:59:10 AM »

here another crash, with the same CVS.

Code: [Select]
#0  0xb7b70685 in _GSocket_GDK_Input () from /usr/lib/libwx_gtk2u_core-2.5.so.3
#1  0xb722fb20 in gdk_get_show_events () from /usr/lib/libgdk-x11-2.0.so.0
#2  0xb716131c in g_vasprintf () from /usr/lib/libglib-2.0.so.0
#3  0xb713a4ee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#4  0xb713d4f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#5  0xb713d7e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#6  0xb74abe65 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#7  0xb7b6e1c8 in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.5.so.3
#8  0xb7bfeb83 in wxAppBase::MainLoop ()
   from /usr/lib/libwx_gtk2u_core-2.5.so.3
#9  0xb7bfecea in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.5.so.3
#10 0xb7934a53 in wxEntry () from /usr/lib/libwx_baseu-2.5.so.3
#11 0xb7934b2d in wxEntry () from /usr/lib/libwx_baseu-2.5.so.3
#12 0x0814abe4 in main (argc=1, argv=0xbfd4d384) at amule-gui.cpp:149
(gdb) bt full
#0  0xb7b70685 in _GSocket_GDK_Input () from /usr/lib/libwx_gtk2u_core-2.5.so.3
No symbol table info available.
#1  0xb722fb20 in gdk_get_show_events () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#2  0xb716131c in g_vasprintf () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#3  0xb713a4ee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#4  0xb713d4f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#5  0xb713d7e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#6  0xb74abe65 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#7  0xb7b6e1c8 in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.5.so.3
No symbol table info available.
#8  0xb7bfeb83 in wxAppBase::MainLoop ()
   from /usr/lib/libwx_gtk2u_core-2.5.so.3
No symbol table info available.
#9  0xb7bfecea in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.5.so.3
No symbol table info available.
#10 0xb7934a53 in wxEntry () from /usr/lib/libwx_baseu-2.5.so.3
No symbol table info available.
---Type to continue, or q to quit---
#11 0xb7934b2d in wxEntry () from /usr/lib/libwx_baseu-2.5.so.3
No symbol table info available.
#12 0x0814abe4 in main (argc=1, argv=0xbfd4d384) at amule-gui.cpp:149
No locals.
(gdb) thread apply all bt

Thread 4 (Thread -1238697040 (LWP 20950)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7f1d58b in __read_nocancel () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0822c0dc in CFile::doRead (this=0xb62af3b0, pBuf=0xb5167008,
    nCount=9728000) at CFile.cpp:409
#3  0x0827c784 in CFileDataIO::Read (this=0xb62af3b0, pBuf=0xb5167008,
    nCount=9728000) at SafeFile.cpp:70
#4  0x0806d3e6 in CAddFileThread::CreateNextPartHash (file=0xb62af3b0,
    owner=0x8db12f0, createAICH=true) at AddFileThread.cpp:417
#5  0x0806ccaf in CAddFileThread::Entry (this=0x89f7af8)
    at AddFileThread.cpp:310
#6  0xb799abfb in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.5.so.3
#7  0xb799aacf in wxPthreadStart () from /usr/lib/libwx_baseu-2.5.so.3
#8  0xb7f18361 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9  0xb772abde in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread -1230304336 (LWP 20948)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7f1dd76 in __nanosleep_nocancel ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb79a2718 in wxMicroSleep () from /usr/lib/libwx_baseu-2.5.so.3
---Type to continue, or q to quit---
#3  0xb79a2745 in wxMilliSleep () from /usr/lib/libwx_baseu-2.5.so.3
#4  0xb799b1ef in wxThread::Sleep () from /usr/lib/libwx_baseu-2.5.so.3
#5  0x08110481 in UploadBandwidthThrottler::Entry (this=0x89d3780)
    at UploadBandwidthThrottler.cpp:367
#6  0xb799abfb in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.5.so.3
#7  0xb799aacf in wxPthreadStart () from /usr/lib/libwx_baseu-2.5.so.3
#8  0xb7f18361 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9  0xb772abde in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread -1225729312 (LWP 20944)):
#0  0xb7b70685 in _GSocket_GDK_Input () from /usr/lib/libwx_gtk2u_core-2.5.so.3
#1  0xb722fb20 in gdk_get_show_events () from /usr/lib/libgdk-x11-2.0.so.0
#2  0xb716131c in g_vasprintf () from /usr/lib/libglib-2.0.so.0
#3  0xb713a4ee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#4  0xb713d4f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#5  0xb713d7e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#6  0xb74abe65 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#7  0xb7b6e1c8 in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.5.so.3
#8  0xb7bfeb83 in wxAppBase::MainLoop ()
   from /usr/lib/libwx_gtk2u_core-2.5.so.3
#9  0xb7bfecea in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.5.so.3
#10 0xb7934a53 in wxEntry () from /usr/lib/libwx_baseu-2.5.so.3
---Type to continue, or q to quit---
#11 0xb7934b2d in wxEntry () from /usr/lib/libwx_baseu-2.5.so.3
#12 0x0814abe4 in main (argc=1, argv=0xbfd4d384) at amule-gui.cpp:149
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y

Starting program: /home/giopas/aMule-debug/amule
[Thread debugging using libthread_db enabled]
[New Thread -1225389344 (LWP 21442)]
Initialising aMule
Checking if there is an instance already running...
[New Thread -1229964368 (LWP 21447)]
Loading temp files from /media/archivio/Emule.file.temp.
Loading PartFile 1 of 1
All PartFiles Loaded.
ListenSocket: Ok.

External connections disabled in config file
*** Server UDP socket (TCP+3) at 0.0.0.0:4667
*** TCP socket (TCP) listening on 0.0.0.0:4664
*** Client UDP socket (extended eMule) at 0.0.0.0:4674
[New Thread -1238357072 (LWP 21448)]
[Thread -1238357072 (zombie) exited]
[New Thread -1238357072 (LWP 21449)]
[New Thread -1256481872 (LWP 21450)]
[Thread -1256481872 (zombie) exited]
[New Thread -1256481872 (LWP 21686)]
HTTP download thread started
Host: [URL]www.adunanza.net:80[/URL]
URL: [URL]http://www.adunanza.net/files/downloads/nodes.dat[/URL]
Response: 200 (Error: 0)
Download size: 12679
HTTP download thread end
[Thread -1256481872 (zombie) exited]
[Thread -1238357072 (zombie) exited]
[New Thread -1256481872 (LWP 22747)]
[Thread -1256481872 (zombie) exited]
[New Thread -1256481872 (LWP 26184)]
[Thread -1256481872 (zombie) exited]
[New Thread -1256481872 (LWP 26185)]
[Thread -1256481872 (zombie) exited]
[New Thread -1256481872 (LWP 26186)]
[Thread -1256481872 (zombie) exited]
[New Thread -1256481872 (LWP 26199)]
[Thread -1256481872 (zombie) exited]
[New Thread -1256481872 (LWP 26202)]
Empty dir /media/archivio/UTILITIES/webshots/Webshots.daily.photos.July.August.2004.jpg.only.to.the.nth/ shared
[New Thread -1238357072 (LWP 26203)]
[Thread -1238357072 (zombie) exited]
[New Thread -1238357072 (LWP 26529)]
[Thread -1256481872 (zombie) exited]
[Thread -1238357072 (zombie) exited]
[New Thread -1238357072 (LWP 27455)]
[Thread -1238357072 (zombie) exited]
[New Thread -1256481872 (LWP 27460)]
[New Thread -1238357072 (LWP 27461)]
[Thread -1256481872 (zombie) exited]
[Thread -1238357072 (zombie) exited]

Program received signal SIGPIPE, Broken pipe.
[Switching to Thread -1229964368 (LWP 21447)]
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7f70a18 in send () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb7a7fd43 in GSocket::Send_Stream ()
   from /usr/lib/libwx_baseu_net-2.5.so.3
#3  0xb7a7f2fb in GSocket::Write () from /usr/lib/libwx_baseu_net-2.5.so.3
#4  0xb7a7a983 in wxSocketBase::_Write ()
   from /usr/lib/libwx_baseu_net-2.5.so.3
#5  0xb7a7a857 in wxSocketBase::Write () from /usr/lib/libwx_baseu_net-2.5.so.3
#6  0x080b058e in CEMSocket::Send (this=0x9dbb098,
    maxNumberOfBytesToSend=5200, minFragSize=2600,
    onlyAllowedToSendControlPacket=false) at EMSocket.cpp:586
#7  0x080b119a in CEMSocket::SendFileAndControlData (this=0x9dbb098,
    maxNumberOfBytesToSend=4238, minFragSize=2600) at EMSocket.h:78
#8  0x080e1020 in CClientReqSocket::SendFileAndControlData (this=0x9dbb098,
    maxNumberOfBytesToSend=4238, overchargeMaxBytesToSend=2600)
    at ListenSocket.cpp:1908
#9  0x08110fa4 in UploadBandwidthThrottler::Entry (this=0x89e08d0)
    at UploadBandwidthThrottler.cpp:507
#10 0xb79edbfb in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.5.so.3
#11 0xb79edacf in wxPthreadStart () from /usr/lib/libwx_baseu-2.5.so.3
#12 0xb7f6b361 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#13 0xb777dbde in clone () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt full
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f70a18 in send () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0xb7a7fd43 in GSocket::Send_Stream ()
   from /usr/lib/libwx_baseu_net-2.5.so.3
No symbol table info available.
#3  0xb7a7f2fb in GSocket::Write () from /usr/lib/libwx_baseu_net-2.5.so.3
No symbol table info available.
#4  0xb7a7a983 in wxSocketBase::_Write ()
   from /usr/lib/libwx_baseu_net-2.5.so.3
No symbol table info available.
#5  0xb7a7a857 in wxSocketBase::Write () from /usr/lib/libwx_baseu_net-2.5.so.3
No symbol table info available.
#6  0x080b058e in CEMSocket::Send (this=0x9dbb098,
    maxNumberOfBytesToSend=5200, minFragSize=2600,
    onlyAllowedToSendControlPacket=false) at EMSocket.cpp:586
        tosend = 5200
        result = 0
        lock =
        bWasLongTimeSinceSend = false
        anErrorHasOccured = false
        sentStandardPacketBytesThisCall = 0
---Type to continue, or q to quit---
        sentControlPacketBytesThisCall = 0
        returnVal = {success = 208, sentBytesStandardPackets = 3065000736,
  sentBytesControlPackets = 3065000376}
#7  0x080b119a in CEMSocket::SendFileAndControlData (this=0x9dbb098,
    maxNumberOfBytesToSend=4238, minFragSize=2600) at EMSocket.h:78
No locals.
#8  0x080e1020 in CClientReqSocket::SendFileAndControlData (this=0x9dbb098,
    maxNumberOfBytesToSend=4238, overchargeMaxBytesToSend=2600)
    at ListenSocket.cpp:1908
        returnStatus = {success = true, sentBytesStandardPackets = 0,
  sentBytesControlPackets = 0}
#9  0x08110fa4 in UploadBandwidthThrottler::Entry (this=0x89e08d0)
    at UploadBandwidthThrottler.cpp:507
        bytesToSpendTemp = 4238
        socketSentBytes = {success = true, sentBytesStandardPackets = 0,
  sentBytesControlPackets = 0}
        lastSpentBytes = 0
        socket = (class ThrottledFileSocket *) 0x9dbb148
        slotCounter = 5
        spentBytes = 0
        spentOverhead = 0
        sendLock =
        maxSlot = 8
---Type to continue, or q to quit---
        timeSinceLastLoop = 3
        minFragSize = 1300
        doubleSendSize = 2600
        bytesToSpend = 4238
        TIME_BETWEEN_UPLOAD_LOOPS = 1
        sleepTime = 1
        thisLoopTick = 1593004091
        lastLoopTick = 1593004091
        realBytesToSpend = 4238311
        allowedDataRate = 47104
        rememberedSlotCounter = 1
        lastTickReachedBandwidth = 1593004058
        sendLock =
#10 0xb79edbfb in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.5.so.3
No symbol table info available.
#11 0xb79edacf in wxPthreadStart () from /usr/lib/libwx_baseu-2.5.so.3
No symbol table info available.
#12 0xb7f6b361 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#13 0xb777dbde in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
(gdb) thread apply all bt

Thread 2 (Thread -1229964368 (LWP 21447)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7f70a18 in send () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb7a7fd43 in GSocket::Send_Stream ()
   from /usr/lib/libwx_baseu_net-2.5.so.3
#3  0xb7a7f2fb in GSocket::Write () from /usr/lib/libwx_baseu_net-2.5.so.3
#4  0xb7a7a983 in wxSocketBase::_Write ()
   from /usr/lib/libwx_baseu_net-2.5.so.3
#5  0xb7a7a857 in wxSocketBase::Write () from /usr/lib/libwx_baseu_net-2.5.so.3
#6  0x080b058e in CEMSocket::Send (this=0x9dbb098,
    maxNumberOfBytesToSend=5200, minFragSize=2600,
    onlyAllowedToSendControlPacket=false) at EMSocket.cpp:586
#7  0x080b119a in CEMSocket::SendFileAndControlData (this=0x9dbb098,
    maxNumberOfBytesToSend=4238, minFragSize=2600) at EMSocket.h:78
#8  0x080e1020 in CClientReqSocket::SendFileAndControlData (this=0x9dbb098,
    maxNumberOfBytesToSend=4238, overchargeMaxBytesToSend=2600)
    at ListenSocket.cpp:1908
#9  0x08110fa4 in UploadBandwidthThrottler::Entry (this=0x89e08d0)
    at UploadBandwidthThrottler.cpp:507
#10 0xb79edbfb in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.5.so.3
#11 0xb79edacf in wxPthreadStart () from /usr/lib/libwx_baseu-2.5.so.3
---Type to continue, or q to quit---
#12 0xb7f6b361 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#13 0xb777dbde in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread -1225389344 (LWP 21442)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7f702ce in __lll_mutex_lock_wait ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb7f6cfdb in _L_mutex_lock_33 () from /lib/tls/i686/cmov/libpthread.so.0
#3  0xbf99d318 in ?? ()
#4  0xb79ef848 in wxMutex::Unlock () from /usr/lib/libwx_baseu-2.5.so.3
#5  0xb79ed1cf in wxMutexInternal::Lock () from /usr/lib/libwx_baseu-2.5.so.3
#6  0xb79ef7c8 in wxMutex::Lock () from /usr/lib/libwx_baseu-2.5.so.3
#7  0xb79f000b in wxMutexLocker::wxMutexLocker ()
   from /usr/lib/libwx_baseu-2.5.so.3
#8  0x080afbde in CEMSocket::SendPacket (this=0x9dbb098, packet=0x96bd0d8,
    delpacket=true, controlpacket=false, actualPayloadSize=10851)
    at EMSocket.cpp:372
#9  0x080e1098 in CClientReqSocket::SendPacket (this=0x9dbb098,
    packet=0x96bd0d8, delpacket=true, controlpacket=false,
    actualPayloadSize=10851) at ListenSocket.cpp:1921
#10 0x08116e77 in CUpDownClient::CreatePackedPackets (this=0x9d0ee30,
    data=0xa1e9ed8 "\uffff\uffff':\236\uffff\uffff\204g\uffff\uffff\uffff\uffff\003/f7\uffff\uffff\uffff\uffff\236\227\205\205CCcg1\226\"0\235 to continue, or q to quit---
\uffff\uffff2\uffff|\002\034\2209L|\uffff#\035<\233\uffffM\uffff\uffff\035y\uffff\206Zp\017]!\uffff\uffffd\ufffff\037u\uffff\uffff\"\uffff\b\uffff\036C\uffff\227Zqz\032\214\uffff\uffff\uffffBIR\202Sx8\uffff\uffff\uffffZ\036Di\uffff\uffff&l\uffff@\uffffz$h\2014\uffff\205U\202\031Z\v\uffff\223\uffffF\uffff\236\214\027\uffffE\uffff\235\uffff\uffff\uffffN\uffff\uffff{\uffff\uffff\235\uffff\uffff0\f]\uffffn\uffffw\uffffI"..., togo=32447,
    currentblock=0xa052708) at UploadClient.cpp:425
#11 0x08116592 in CUpDownClient::CreateNextBlockPackage (this=0x9d0ee30)
    at UploadClient.cpp:316
#12 0x0811787e in CUpDownClient::SendBlockData (this=0x9d0ee30)
    at UploadClient.cpp:624
#13 0x08119acb in CUploadQueue::Process (this=0x87c6688) at UploadQueue.cpp:268
#14 0x08074ae0 in CamuleApp::OnCoreTimer (this=0x862ad20) at amule.cpp:1425
#15 0xb7943d78 in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseu-2.5.so.3
#16 0xb79f1850 in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.5.so.3
#17 0xb79f0ccf in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.5.so.3
#18 0xb79f19f0 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.5.so.3
#19 0xb7cdbd5a in wxTimerBase::Notify ()
   from /usr/lib/libwx_gtk2u_core-2.5.so.3
#20 0xb7bcac9d in timeout_callback () from /usr/lib/libwx_gtk2u_core-2.5.so.3
#21 0xb718f006 in g_main_context_wakeup () from /usr/lib/libglib-2.0.so.0
#22 0xb718d4ee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
---Type to continue, or q to quit---
#23 0xb71904f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#24 0xb71907e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#25 0xb74fee65 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#26 0xb7bc11c8 in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.5.so.3
#27 0xb7c51b83 in wxAppBase::MainLoop ()
   from /usr/lib/libwx_gtk2u_core-2.5.so.3
#28 0xb7c51cea in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.5.so.3
#29 0xb7987a53 in wxEntry () from /usr/lib/libwx_baseu-2.5.so.3
#30 0xb7987b2d in wxEntry () from /usr/lib/libwx_baseu-2.5.so.3
#31 0x0814abe4 in main (argc=1, argv=0xbf99dbb4) at amule-gui.cpp:149
#0  0xffffe410 in __kernel_vsyscall ()

giopas
« Last Edit: November 05, 2005, 10:00:14 AM by giopas »
Logged

giopas

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
    • http://www.adunanza.it
Re: crash CVS Thu Nov 3
« Reply #2 on: November 05, 2005, 11:29:55 AM »

the third :(

Code: [Select]
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7f5fa18 in send () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb7a6ed43 in GSocket::Send_Stream ()
   from /usr/lib/libwx_baseu_net-2.5.so.3
#3  0xb7a6e2fb in GSocket::Write () from /usr/lib/libwx_baseu_net-2.5.so.3
#4  0xb7a69983 in wxSocketBase::_Write ()
   from /usr/lib/libwx_baseu_net-2.5.so.3
#5  0xb7a69857 in wxSocketBase::Write () from /usr/lib/libwx_baseu_net-2.5.so.3
#6  0x080b058e in CEMSocket::Send (this=0x90b6df0,
    maxNumberOfBytesToSend=2600, minFragSize=2600,
    onlyAllowedToSendControlPacket=false) at EMSocket.cpp:586
#7  0x080b119a in CEMSocket::SendFileAndControlData (this=0x90b6df0,
    maxNumberOfBytesToSend=53, minFragSize=2600) at EMSocket.h:78
#8  0x080e1020 in CClientReqSocket::SendFileAndControlData (this=0x90b6df0,
    maxNumberOfBytesToSend=53, overchargeMaxBytesToSend=2600)
    at ListenSocket.cpp:1908
#9  0x08110dcb in UploadBandwidthThrottler::Entry (this=0x8b76748)
    at UploadBandwidthThrottler.cpp:489
#10 0xb79dcbfb in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.5.so.3
#11 0xb79dcacf in wxPthreadStart () from /usr/lib/libwx_baseu-2.5.so.3
#12 0xb7f5a361 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#13 0xb776cbde in clone () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt full
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f5fa18 in send () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0xb7a6ed43 in GSocket::Send_Stream ()
   from /usr/lib/libwx_baseu_net-2.5.so.3
No symbol table info available.
#3  0xb7a6e2fb in GSocket::Write () from /usr/lib/libwx_baseu_net-2.5.so.3
No symbol table info available.
#4  0xb7a69983 in wxSocketBase::_Write ()
   from /usr/lib/libwx_baseu_net-2.5.so.3
No symbol table info available.
#5  0xb7a69857 in wxSocketBase::Write () from /usr/lib/libwx_baseu_net-2.5.so.3
No symbol table info available.
#6  0x080b058e in CEMSocket::Send (this=0x90b6df0,
    maxNumberOfBytesToSend=2600, minFragSize=2600,
    onlyAllowedToSendControlPacket=false) at EMSocket.cpp:586
        tosend = 174
        result = 3080974364
        lock =
        bWasLongTimeSinceSend = false
        anErrorHasOccured = false
        sentStandardPacketBytesThisCall = 0
---Type to continue, or q to quit---
        sentControlPacketBytesThisCall = 0
        returnVal = {success = 208, sentBytesStandardPackets = 3064931104,
  sentBytesControlPackets = 3064930744}
#7  0x080b119a in CEMSocket::SendFileAndControlData (this=0x90b6df0,
    maxNumberOfBytesToSend=53, minFragSize=2600) at EMSocket.h:78
No locals.
#8  0x080e1020 in CClientReqSocket::SendFileAndControlData (this=0x90b6df0,
    maxNumberOfBytesToSend=53, overchargeMaxBytesToSend=2600)
    at ListenSocket.cpp:1908
        returnStatus = {success = true, sentBytesStandardPackets = 0,
  sentBytesControlPackets = 0}
#9  0x08110dcb in UploadBandwidthThrottler::Entry (this=0x8b76748)
    at UploadBandwidthThrottler.cpp:489
        socketSentBytes = {success = true, sentBytesStandardPackets = 0,
  sentBytesControlPackets = 0}
        lastSpentBytes = 0
        socket = (class ThrottledFileSocket *) 0x90b6ea0
        maxCounter = 1
        spentBytes = 35
        spentOverhead = 35
        sendLock =
        maxSlot = 8
        timeSinceLastLoop = 3
---Type to continue, or q to quit---
        minFragSize = 1300
        doubleSendSize = 2600
        bytesToSpend = 88
        TIME_BETWEEN_UPLOAD_LOOPS = 1
        sleepTime = 2
        thisLoopTick = 1609947588
        lastLoopTick = 1609947588
        realBytesToSpend = 88471
        allowedDataRate = 47104
        rememberedSlotCounter = 5
        lastTickReachedBandwidth = 1609947585
        sendLock =
#10 0xb79dcbfb in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.5.so.3
No symbol table info available.
#11 0xb79dcacf in wxPthreadStart () from /usr/lib/libwx_baseu-2.5.so.3
No symbol table info available.
#12 0xb7f5a361 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#13 0xb776cbde in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
(gdb) thread apply all bt

Thread 2 (Thread -1230034000 (LWP 8242)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7f5fa18 in send () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb7a6ed43 in GSocket::Send_Stream ()
   from /usr/lib/libwx_baseu_net-2.5.so.3
#3  0xb7a6e2fb in GSocket::Write () from /usr/lib/libwx_baseu_net-2.5.so.3
#4  0xb7a69983 in wxSocketBase::_Write ()
   from /usr/lib/libwx_baseu_net-2.5.so.3
#5  0xb7a69857 in wxSocketBase::Write () from /usr/lib/libwx_baseu_net-2.5.so.3
#6  0x080b058e in CEMSocket::Send (this=0x90b6df0,
    maxNumberOfBytesToSend=2600, minFragSize=2600,
    onlyAllowedToSendControlPacket=false) at EMSocket.cpp:586
#7  0x080b119a in CEMSocket::SendFileAndControlData (this=0x90b6df0,
    maxNumberOfBytesToSend=53, minFragSize=2600) at EMSocket.h:78
#8  0x080e1020 in CClientReqSocket::SendFileAndControlData (this=0x90b6df0,
    maxNumberOfBytesToSend=53, overchargeMaxBytesToSend=2600)
    at ListenSocket.cpp:1908
#9  0x08110dcb in UploadBandwidthThrottler::Entry (this=0x8b76748)
    at UploadBandwidthThrottler.cpp:489
#10 0xb79dcbfb in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.5.so.3
#11 0xb79dcacf in wxPthreadStart () from /usr/lib/libwx_baseu-2.5.so.3
---Type to continue, or q to quit---
#12 0xb7f5a361 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#13 0xb776cbde in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread -1225458976 (LWP 8236)):
#0  0xb718b283 in g_pattern_match () from /usr/lib/libglib-2.0.so.0
#1  0xb752578f in _gtk_rc_context_get_default_font_name ()
   from /usr/lib/libgtk-x11-2.0.so.0
#2  0xb7526102 in gtk_rc_get_style () from /usr/lib/libgtk-x11-2.0.so.0
#3  0xb7c15fdd in wxControl::GetDefaultAttributesFromGTKWidget ()
   from /usr/lib/libwx_gtk2u_core-2.5.so.3
#4  0xb7c15f1d in wxControl::GetDefaultAttributes ()
   from /usr/lib/libwx_gtk2u_core-2.5.so.3
#5  0xb7cd3df6 in wxWindowBase::GetFont ()
   from /usr/lib/libwx_gtk2u_core-2.5.so.3
#6  0xb7bc464a in wxWindow::GetCharHeight ()
   from /usr/lib/libwx_gtk2u_core-2.5.so.3
#7  0xb7cba3f0 in wxStaticBoxSizer::wxStaticBoxSizer ()
   from /usr/lib/libwx_gtk2u_core-2.5.so.3
#8  0xb7cba519 in wxStaticBoxSizer::CalcMin ()
   from /usr/lib/libwx_gtk2u_core-2.5.so.3
#9  0xb7cb7dd1 in wxSizer::GetMinSize ()
   from /usr/lib/libwx_gtk2u_core-2.5.so.3
#10 0xb7cb6842 in wxSizerItem::CalcMin ()
---Type to continue, or q to quit---
   from /usr/lib/libwx_gtk2u_core-2.5.so.3
#11 0xb7cba2b5 in wxBoxSizer::CalcMin ()
   from /usr/lib/libwx_gtk2u_core-2.5.so.3
#12 0xb7cba528 in wxStaticBoxSizer::CalcMin ()
   from /usr/lib/libwx_gtk2u_core-2.5.so.3
#13 0xb7cb7dd1 in wxSizer::GetMinSize ()
   from /usr/lib/libwx_gtk2u_core-2.5.so.3
#14 0xb7cb6842 in wxSizerItem::CalcMin ()
   from /usr/lib/libwx_gtk2u_core-2.5.so.3
#15 0xb7cb96ff in wxFlexGridSizer::CalcMin ()
   from /usr/lib/libwx_gtk2u_core-2.5.so.3
#16 0xb7cb790b in wxSizer::Layout () from /usr/lib/libwx_gtk2u_core-2.5.so.3
#17 0xb7cb7da9 in wxSizer::SetDimension ()
   from /usr/lib/libwx_gtk2u_core-2.5.so.3
#18 0xb7cb6b4d in wxSizerItem::SetDimension ()
   from /usr/lib/libwx_gtk2u_core-2.5.so.3
#19 0xb7cb89c4 in wxGridSizer::SetItemBounds ()
   from /usr/lib/libwx_gtk2u_core-2.5.so.3
#20 0xb7cb9502 in wxFlexGridSizer::RecalcSizes ()
   from /usr/lib/libwx_gtk2u_core-2.5.so.3
#21 0xb7cb7916 in wxSizer::Layout () from /usr/lib/libwx_gtk2u_core-2.5.so.3
#22 0xb7cb7da9 in wxSizer::SetDimension ()
   from /usr/lib/libwx_gtk2u_core-2.5.so.3
---Type to continue, or q to quit---
#23 0xb7cd5573 in wxWindowBase::Layout ()
   from /usr/lib/libwx_gtk2u_core-2.5.so.3
#24 0x081816d5 in CKadDlg::ShowNodeCount (this=0x8a27708) at KadDlg.cpp:182
#25 0x081472f8 in CKadDlg::RemoveNode (this=0x8a27708) at KadDlg.h:52
#26 0x08146c2a in ~CContact (this=0x8ecc4f8) at kademlia/routing/Contact.cpp:63
#27 0x08132e6a in ~CSearch (this=0xb5a24008)
    at kademlia/kademlia/Search.cpp:120
#28 0x0813c666 in Kademlia::CSearchManager::jumpStart ()
    at kademlia/kademlia/SearchManager.cpp:389
#29 0x0812e0bc in Kademlia::CKademlia::process ()
    at kademlia/kademlia/Kademlia.cpp:215
#30 0x08074b83 in CamuleApp::OnCoreTimer (this=0x862ad20) at amule.cpp:1452
#31 0xb7932d78 in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseu-2.5.so.3
#32 0xb79e0850 in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.5.so.3
#33 0xb79dfccf in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.5.so.3
#34 0xb79e09f0 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.5.so.3
#35 0xb7ccad5a in wxTimerBase::Notify ()
   from /usr/lib/libwx_gtk2u_core-2.5.so.3
#36 0xb7bb9c9d in timeout_callback () from /usr/lib/libwx_gtk2u_core-2.5.so.3
---Type to continue, or q to quit---
#37 0xb717e006 in g_main_context_wakeup () from /usr/lib/libglib-2.0.so.0
#38 0xb717c4ee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#39 0xb717f4f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#40 0xb717f7e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#41 0xb74ede65 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#42 0xb7bb01c8 in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.5.so.3
#43 0xb7c40b83 in wxAppBase::MainLoop ()
   from /usr/lib/libwx_gtk2u_core-2.5.so.3
#44 0xb7c40cea in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.5.so.3
#45 0xb7976a53 in wxEntry () from /usr/lib/libwx_baseu-2.5.so.3
#46 0xb7976b2d in wxEntry () from /usr/lib/libwx_baseu-2.5.so.3
#47 0x0814abe4 in main (argc=1, argv=0xbf98dc04) at amule-gui.cpp:149
#0  0xffffe410 in __kernel_vsyscall ()
Logged

Xaignar

  • Admin and Code Junky
  • Hero Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 1103
Re: crash CVS Thu Nov 3
« Reply #3 on: November 05, 2005, 12:28:54 PM »

Well, at least two of those are SIGPIPE events, which are not crashes. You can stop gdb from stopping on those by creating the .gdbinit file as described here: http://www.amule.org/wiki/index.php/Backtraces#Create_a_backtrace
Logged

giopas

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
    • http://www.adunanza.it
Re: crash CVS Thu Nov 3
« Reply #4 on: November 05, 2005, 04:52:48 PM »

Quote
Originally posted by Xaignar
Well, at least two of those are SIGPIPE events, which are not crashes. You can stop gdb from stopping on those by creating the .gdbinit file as described here: http://www.amule.org/wiki/index.php/Backtraces#Create_a_backtrace
that is exactelly what I did.
My .gdbinit file, put in my home directory, has these lines into:
Code: [Select]
ha SIGPIPE nostop noprint pass
ha SIG32 nostop noprint pass
ha SIG33 nostop noprint pass
ha SIG34 nostop noprint pass

that are the same lines suggested in that wiki.

So, I don't think that is the only reason... I report another backtrace: everytime I run aMule, after a while the freeze happens. Maybe I just need a library or something like that... The strange is that some previous CVS versions ago (expecially that of the beginning of September) I could make it running as long as I would without problems.  ?(

Code: [Select]
Program received signal SIGPIPE, Broken pipe.
[Switching to Thread -1229804624 (LWP 12834)]
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7f97a18 in send () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb7aa6d43 in GSocket::Send_Stream ()
   from /usr/lib/libwx_baseu_net-2.5.so.3
#3  0xb7aa62fb in GSocket::Write () from /usr/lib/libwx_baseu_net-2.5.so.3
#4  0xb7aa1983 in wxSocketBase::_Write ()
   from /usr/lib/libwx_baseu_net-2.5.so.3
#5  0xb7aa1857 in wxSocketBase::Write () from /usr/lib/libwx_baseu_net-2.5.so.3
#6  0x080b058e in CEMSocket::Send (this=0x8de28b8,
    maxNumberOfBytesToSend=1300, minFragSize=1300,
    onlyAllowedToSendControlPacket=true) at EMSocket.cpp:586
#7  0x080b114a in CEMSocket::SendControlData (this=0x8de28b8,
    maxNumberOfBytesToSend=230, minFragSize=1300) at EMSocket.h:77
#8  0x080e0fc8 in CClientReqSocket::SendControlData (this=0x8de28b8,
    maxNumberOfBytesToSend=230, overchargeMaxBytesToSend=1300)
    at ListenSocket.cpp:1896
#9  0x081109bf in UploadBandwidthThrottler::Entry (this=0x8b77868)
    at UploadBandwidthThrottler.cpp:438
#10 0xb7a14bfb in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.5.so.3
#11 0xb7a14acf in wxPthreadStart () from /usr/lib/libwx_baseu-2.5.so.3
#12 0xb7f92361 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#13 0xb77a4bde in clone () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt full
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f97a18 in send () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0xb7aa6d43 in GSocket::Send_Stream ()
   from /usr/lib/libwx_baseu_net-2.5.so.3
No symbol table info available.
#3  0xb7aa62fb in GSocket::Write () from /usr/lib/libwx_baseu_net-2.5.so.3
No symbol table info available.
#4  0xb7aa1983 in wxSocketBase::_Write ()
   from /usr/lib/libwx_baseu_net-2.5.so.3
No symbol table info available.
#5  0xb7aa1857 in wxSocketBase::Write () from /usr/lib/libwx_baseu_net-2.5.so.3
No symbol table info available.
#6  0x080b058e in CEMSocket::Send (this=0x8de28b8,
    maxNumberOfBytesToSend=1300, minFragSize=1300,
    onlyAllowedToSendControlPacket=true) at EMSocket.cpp:586
        tosend = 11
        result = 0
        lock =
        bWasLongTimeSinceSend = false
        anErrorHasOccured = false
        sentStandardPacketBytesThisCall = 0
---Type to continue, or q to quit---
        sentControlPacketBytesThisCall = 0
        returnVal = {success = false, sentBytesStandardPackets = 0,
  sentBytesControlPackets = 0}
#7  0x080b114a in CEMSocket::SendControlData (this=0x8de28b8,
    maxNumberOfBytesToSend=230, minFragSize=1300) at EMSocket.h:77
No locals.
#8  0x080e0fc8 in CClientReqSocket::SendControlData (this=0x8de28b8,
    maxNumberOfBytesToSend=230, overchargeMaxBytesToSend=1300)
    at ListenSocket.cpp:1896
        returnStatus = {success = false, sentBytesStandardPackets = 0,
  sentBytesControlPackets = 0}
#9  0x081109bf in UploadBandwidthThrottler::Entry (this=0x8b77868)
    at UploadBandwidthThrottler.cpp:438
        socketSentBytes = {success = false, sentBytesStandardPackets = 0,
  sentBytesControlPackets = 0}
        lastSpentBytes = 0
        socket = (class ThrottledControlSocket *) 0x8de2968
        spentBytes = 0
        spentOverhead = 0
        sendLock =
        maxSlot = 4
        timeSinceLastLoop = 7
        minFragSize = 1300
---Type to continue, or q to quit---
        doubleSendSize = 2600
        bytesToSpend = 230
        TIME_BETWEEN_UPLOAD_LOOPS = 1
        sleepTime = 3
        thisLoopTick = 1627439540
        lastLoopTick = 1627439540
        realBytesToSpend = 230375
        allowedDataRate = 47104
        rememberedSlotCounter = 4
        lastTickReachedBandwidth = 1627439533
        sendLock =
#10 0xb7a14bfb in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.5.so.3
No symbol table info available.
#11 0xb7a14acf in wxPthreadStart () from /usr/lib/libwx_baseu-2.5.so.3
No symbol table info available.
#12 0xb7f92361 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#13 0xb77a4bde in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
(gdb) thread apply all bt

Thread 2 (Thread -1229804624 (LWP 12834)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7f97a18 in send () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb7aa6d43 in GSocket::Send_Stream ()
   from /usr/lib/libwx_baseu_net-2.5.so.3
#3  0xb7aa62fb in GSocket::Write () from /usr/lib/libwx_baseu_net-2.5.so.3
#4  0xb7aa1983 in wxSocketBase::_Write ()
   from /usr/lib/libwx_baseu_net-2.5.so.3
#5  0xb7aa1857 in wxSocketBase::Write () from /usr/lib/libwx_baseu_net-2.5.so.3
#6  0x080b058e in CEMSocket::Send (this=0x8de28b8,
    maxNumberOfBytesToSend=1300, minFragSize=1300,
    onlyAllowedToSendControlPacket=true) at EMSocket.cpp:586
#7  0x080b114a in CEMSocket::SendControlData (this=0x8de28b8,
    maxNumberOfBytesToSend=230, minFragSize=1300) at EMSocket.h:77
#8  0x080e0fc8 in CClientReqSocket::SendControlData (this=0x8de28b8,
    maxNumberOfBytesToSend=230, overchargeMaxBytesToSend=1300)
    at ListenSocket.cpp:1896
#9  0x081109bf in UploadBandwidthThrottler::Entry (this=0x8b77868)
    at UploadBandwidthThrottler.cpp:438
#10 0xb7a14bfb in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.5.so.3
#11 0xb7a14acf in wxPthreadStart () from /usr/lib/libwx_baseu-2.5.so.3
---Type to continue, or q to quit---
#12 0xb7f92361 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#13 0xb77a4bde in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread -1225229600 (LWP 12828)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7f972ce in __lll_mutex_lock_wait ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb7f93fdb in _L_mutex_lock_33 () from /lib/tls/i686/cmov/libpthread.so.0
#3  0xbfcc6ef8 in ?? ()
#4  0xb7d0e94a in wxWindowBase::TryValidator ()
   from /usr/lib/libwx_gtk2u_core-2.5.so.3
#5  0xb7a141cf in wxMutexInternal::Lock () from /usr/lib/libwx_baseu-2.5.so.3
#6  0xb7a167c8 in wxMutex::Lock () from /usr/lib/libwx_baseu-2.5.so.3
#7  0xb7a1700b in wxMutexLocker::wxMutexLocker ()
   from /usr/lib/libwx_baseu-2.5.so.3
#8  0x080aeef5 in ~CEMSocket (this=0x8de28b8) at EMSocket.cpp:93
#9  0x080d5ee7 in ~CClientReqSocket (this=0x8de28b8) at ListenSocket.cpp:151
#10 0xb7c78e8f in wxAppBase::DeletePendingObjects ()
   from /usr/lib/libwx_gtk2u_core-2.5.so.3
#11 0xb7c790bd in wxAppBase::OnIdle () from /usr/lib/libwx_gtk2u_core-2.5.so.3
#12 0xb796ad78 in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseu-2.5.so.3
#13 0xb7a18850 in wxEvtHandler::ProcessEventIfMatches ()
---Type to continue, or q to quit---
   from /usr/lib/libwx_baseu-2.5.so.3
#14 0xb7a17ccf in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.5.so.3
#15 0xb7a189f0 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.5.so.3
#16 0xb7c78f77 in wxAppBase::ProcessIdle ()
   from /usr/lib/libwx_gtk2u_core-2.5.so.3
#17 0xb7bcd83d in wxApp::WakeUpIdle () from /usr/lib/libwx_gtk2u_core-2.5.so.3
#18 0xb71b6750 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
#19 0xb71b44ee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#20 0xb71b74f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#21 0xb71b77e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#22 0xb7525e65 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#23 0xb7be81c8 in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.5.so.3
#24 0xb7c78b83 in wxAppBase::MainLoop ()
   from /usr/lib/libwx_gtk2u_core-2.5.so.3
#25 0xb7c78cea in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.5.so.3
#26 0xb79aea53 in wxEntry () from /usr/lib/libwx_baseu-2.5.so.3
#27 0xb79aeb2d in wxEntry () from /usr/lib/libwx_baseu-2.5.so.3
#28 0x0814abe4 in main (argc=1, argv=0xbfcc73f4) at amule-gui.cpp:149
#0  0xffffe410 in __kernel_vsyscall ()

thnx to everyone,
giopas
Logged

ken

  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 825
Re: crash CVS Thu Nov 3
« Reply #5 on: November 05, 2005, 09:56:32 PM »

Have you exited and restarted gdb since putting those lines in your .gdbinit?  Because you really shouldn't be seeing these SIGPIPE "crashes".  Nothing's actually crashing, gdb just thinks you might want to investigate the signal and is stopping to let you do so.

If you do "info handle SIGPIPE" in gdb, does it confirm your setting?
Logged