aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: 1 [2] 3

Author Topic: segmentation fault  (Read 14393 times)

Harp00

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 19
    • http://www.slacky.it
Re: segmentation fault
« Reply #15 on: December 06, 2005, 02:50:37 PM »

Waiting for your reply i made a backtrace of the version 2.0.3 that, as i said before, it aborted by itself.

Program received signal SIGABRT, Aborted.
[Switching to Thread -1226479936 (LWP 15293)]
0xb7594027 in raise () from /lib/tls/libc.so.6
(gdb) bt
#0  0xb7594027 in raise () from /lib/tls/libc.so.6
#1  0xb7595747 in abort () from /lib/tls/libc.so.6
#2  0xb7742694 in __cxa_call_unexpected () from /usr/lib/libstdc++.so.5
#3  0xb77426d1 in std::terminate () from /usr/lib/libstdc++.so.5
#4  0xb7742841 in __cxa_throw () from /usr/lib/libstdc++.so.5
#5  0x080c5e02 in CUpDownClient::ProcessFileStatus (this=0x8ad2b58,
    bUdpPacket=true, data=0xbf805b40, file=0x8ab1478) at DownloadClient.cpp:323
#6  0x080be52b in CClientUDPSocket::ProcessPacket (this=0x8ab0b50,
    packet=0xbf805c82 "æ\004\207\bY\b", size=2, opcode=145 '\221',
    host=1003038804, port=4672) at ClientUDPSocket.cpp:196
#7  0x080bdb7c in CClientUDPSocket::OnReceive (this=0x8ab0b50)
    at ClientUDPSocket.cpp:90
#8  0x08077e51 in CamuleApp::ClientUDPSocketHandler (this=0x856a4b8,
    event=@0x8bd4bd8) at amule.cpp:1980
#9  0xb787d50d in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_base-2.6.so.0
#10 0xb792f19f in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_base-2.6.so.0
#11 0xb792e66e in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_base-2.6.so.0
#12 0xb792f349 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_base-2.6.so.0
#13 0xb792f0e6 in wxEvtHandler::ProcessPendingEvents ()
---Type to continue, or q to quit---q
 from /usr/lib/libwx_baseQuit
(gdb) bt full
#0  0xb7594027 in raise () from /lib/tls/libc.so.6
No symbol table info available.
#1  0xb7595747 in abort () from /lib/tls/libc.so.6
No symbol table info available.
#2  0xb7742694 in __cxa_call_unexpected () from /usr/lib/libstdc++.so.5
No symbol table info available.
#3  0xb77426d1 in std::terminate () from /usr/lib/libstdc++.so.5
No symbol table info available.
#4  0xb7742841 in __cxa_throw () from /usr/lib/libstdc++.so.5
No symbol table info available.
#5  0x080c5e02 in CUpDownClient::ProcessFileStatus (this=0x8ad2b58,
    bUdpPacket=true, data=0xbf805b40, file=0x8ab1478) at DownloadClient.cpp:323
        strError = { = {static npos = 4294967295,
    m_pchData = 0x8a56694 "ProcessFileStatus - wrong part number recv=1254  expected=161 4CABFBD661D5F48FF74CA30CFFD18BD3"}, }
        done = 2057
        strReqFileNull = { = {static npos = 4294967295,
    m_pchData = 0x8a5972c "ERROR: Wrong file ID (ProcessFileStatus; m_reqfile==NULL)"}, }
        nED2KPartCount = 1254
        bPartsNeeded = false
        iNeeded = 0
#6  0x080be52b in CClientUDPSocket::ProcessPacket (this=0x8ab0b50,
---Type to continue, or q to quit---q
packet=0xbf80Quit
) at ClientUDPSocket.cpp:196
        data_in = { = { = {_vptr.CFile = 0x82d1da8,
      m_fd = -1, m_error = false, m_filePath = { = {
          static npos = 4294967295,
          m_pchData = 0xb793a040 ""}, }}, m_GrowBytes = 0,
    m_position = 2, m_BufferSize = 2, m_FileSize = 2, m_delete = false,
    m_buffer = 0xbf805c82 "æ\004\207\bY\b"}, = {
    _vptr.CFileDataIO = 0x82d1e34}, }
        nRank = 23632
        sender = (class CUpDownClient *) 0x8ad2b58
#7  0x080bdb7c in CClientUDPSocket::OnReceive (this=0x8ab0b50)
    at ClientUDPSocket.cpp:90
        buffer = "Å\221æ\004\207\bY\b\000\000\000\000\177\017\177\003àf¡\b°]\200¿ž\\\200¿\201\204æ¶àf¡\b\020€\\\bØ\\\200¿Léæ¶Üêæ¶\220ÒX\bØ\\\200¿\017\212æ¶Üêæ¶\220ÒX\bÐ\\\200¿Léæ¶\220ÒX\bàf¡\bø\\\200¿\177Àæ¶\220ÒX\bÀü«\bøs]\bÜ\220\034·û¡\200\002àf¡\bØ]\200¿lì\030·\220ÒX\b\001\000\000\000Ø\002\200\002 g¡\b\000\000\000\000\000\000\000\000\001\000\000\000\001\000\000\000\220ÒX\bû¡\200\002tì\\·DXh·HXh·ôå\\·tì\\·À\200g·B\001\000\000\026\000\000\000"...
        addr = {<> = {}, }
        length = 4
#8  0x08077e51 in CamuleApp::ClientUDPSocketHandler (this=0x856a4b8,
    event=@0x8bd4bd8) at amule.cpp:1980
        socket = (class CClientUDPSocket *) 0x8ab0b50
---Type to continue, or q to quit---q
Quit
(gdb) thread apply all bt

Thread 1 (Thread -1226479936 (LWP 15293)):
#0  0xb7594027 in raise () from /lib/tls/libc.so.6
#1  0xb7595747 in abort () from /lib/tls/libc.so.6
#2  0xb7742694 in __cxa_call_unexpected () from /usr/lib/libstdc++.so.5
#3  0xb77426d1 in std::terminate () from /usr/lib/libstdc++.so.5
#4  0xb7742841 in __cxa_throw () from /usr/lib/libstdc++.so.5
#5  0x080c5e02 in CUpDownClient::ProcessFileStatus (this=0x8ad2b58,
    bUdpPacket=true, data=0xbf805b40, file=0x8ab1478) at DownloadClient.cpp:323
#6  0x080be52b in CClientUDPSocket::ProcessPacket (this=0x8ab0b50,
    packet=0xbf805c82 "æ\004\207\bY\b", size=2, opcode=145 '\221',
    host=1003038804, port=4672) at ClientUDPSocket.cpp:196
#7  0x080bdb7c in CClientUDPSocket::OnReceive (this=0x8ab0b50)
    at ClientUDPSocket.cpp:90
#8  0x08077e51 in CamuleApp::ClientUDPSocketHandler (this=0x856a4b8,
    event=@0x8bd4bd8) at amule.cpp:1980
#9  0xb787d50d in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_base-2.6.so.0
#10 0xb792f19f in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_base-2.6.so.0
#11 0xb792e66e in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_base-2.6.so.0
#12 0xb792f349 in wxEvtHandler::ProcessEvent ()
---Type to continue, or q to quit---
   from /usr/lib/libwx_base-2.6.so.0
#13 0xb792f0e6 in wxEvtHandler::ProcessPendingEvents ()
   from /usr/lib/libwx_base-2.6.so.0
#14 0xb787d488 in wxAppConsole::ProcessPendingEvents ()
   from /usr/lib/libwx_base-2.6.so.0
#15 0xb7ac9b89 in wxApp::WakeUpIdle () from /usr/lib/libwx_gtk2_core-2.6.so.0
#16 0xb701ac03 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
#17 0xb7017c02 in g_main_depth () from /usr/lib/libglib-2.0.so.0
#18 0xb7018c78 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#19 0xb7018fb0 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#20 0xb7019553 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#21 0xb72e02e3 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#22 0xb7ae4d1c in wxEventLoop::Run () from /usr/lib/libwx_gtk2_core-2.6.so.0
#23 0xb7b7daa7 in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2_core-2.6.so.0
#24 0xb7b7dc08 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2_core-2.6.so.0
#25 0xb78c73b0 in wxEntry () from /usr/lib/libwx_base-2.6.so.0
#26 0x0807ad59 in main (argc=1, argv=0xbf807434) at amule-gui.cpp:147

PLEASE HELP ME!!!
Logged
And if the cloud bursts, thunder in your ear
You shout and no one seems to hear.
And if the band you're in starts playing different tunes
I'll see you on the dark side of the moon.

Xaignar

  • Admin and Code Junky
  • Hero Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 1103
Re: segmentation fault
« Reply #16 on: December 06, 2005, 03:45:26 PM »

Heh. That's a known bug that has been fixed in CVS. ;)
Logged

Harp00

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 19
    • http://www.slacky.it
Re: segmentation fault
« Reply #17 on: December 06, 2005, 04:03:37 PM »

Could you please explain me what to do?
I still not have aMule working at the moment.
Logged
And if the cloud bursts, thunder in your ear
You shout and no one seems to hear.
And if the band you're in starts playing different tunes
I'll see you on the dark side of the moon.

Xaignar

  • Admin and Code Junky
  • Hero Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 1103
Re: segmentation fault
« Reply #18 on: December 06, 2005, 04:06:02 PM »

Try compiling aMule CVS with the flags suggested above.
Logged

Harp00

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 19
    • http://www.slacky.it
Re: segmentation fault
« Reply #19 on: December 06, 2005, 04:19:00 PM »

Quote
Originally posted by Xaignar
Ok, that looks funky.
While I check it out, could you try recompiling with at most the flags "-march=athlon-xp -O2 -pipe"?
And for your information, -march sets the -mcpu flag, so no need to specify that manually. ;)

It was the first thingh i did this morning.
I received the same segmentation fault
Logged
And if the cloud bursts, thunder in your ear
You shout and no one seems to hear.
And if the band you're in starts playing different tunes
I'll see you on the dark side of the moon.

Xaignar

  • Admin and Code Junky
  • Hero Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 1103
Re: segmentation fault
« Reply #20 on: December 06, 2005, 05:12:44 PM »

Hum, strange. Could you try to get the last part of the backtrace for the main thread? To do that, use "bt -20" which will get the last 20 frames.
Logged

Harp00

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 19
    • http://www.slacky.it
Re: segmentation fault
« Reply #21 on: December 07, 2005, 10:28:14 AM »

Quote
Originally posted by Xaignar
Hum, strange. Could you try to get the last part of the backtrace for the main thread? To do that, use "bt -20" which will get the last 20 frames.

Sure!
Before this i would like to ask you a couple of things.
Are you refering to the firtst backtrace, isn't it?
The second is about aMule 2.0.3.
Second question. I do not why downgrading to the previuous version of aMule i am getting aborted. Before installing CVS, aMule was working great. I think there is some pkgs conflict.
Anyway, I was reading everything around this site and i read about wxBase and wxGTK. Could you confirm me the last versions are the right ones? Because i read that wxGTK 2.6 does not need wxBase. Where can i check if everythingh needed by aMule is installed? I mean something like jack.
Excuse me in advance if i am saying somethingh silly.
Thanks.
Logged
And if the cloud bursts, thunder in your ear
You shout and no one seems to hear.
And if the band you're in starts playing different tunes
I'll see you on the dark side of the moon.

Xaignar

  • Admin and Code Junky
  • Hero Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 1103
Re: segmentation fault
« Reply #22 on: December 07, 2005, 11:02:21 AM »

I am refering to CVS yes. The crash you've experienced with 2.0.3 is known and fixed in CVS. When using wx2.6.2, you dont need to install wxBase, that's part of the standard install. When you run configure, you will be warned if you lack any optional requirements, but aMule simply wont run if you lack any hard requirements.
Logged

Harp00

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 19
    • http://www.slacky.it
Re: segmentation fault
« Reply #23 on: December 07, 2005, 11:55:14 AM »

So, i removed wxBase, wxGTK and aMule and i recompiled wxBase 2.6.2 and aMule-CVS-20051207 using  flags you suggested me.

Terminated after throwing an instance of 'CInvalidPacket'

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1225890112 (LWP 11836)]
0xb764dd14 in __find_specmb () from /lib/tls/libc.so.6
(gdb) bt -20
^[

q

bt -20 does not work!

I am going to run again gdb.  ?(
Logged
And if the cloud bursts, thunder in your ear
You shout and no one seems to hear.
And if the band you're in starts playing different tunes
I'll see you on the dark side of the moon.

Xaignar

  • Admin and Code Junky
  • Hero Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 1103
Re: segmentation fault
« Reply #24 on: December 07, 2005, 11:59:03 AM »

Hum, I thought I had caught all of those (this may be a different bug). If you get that again, just do a normal backtrace, and if "bt -20" doesn't work on your system, just keep pressing enter when running the "bt" command, untill you get at the end of the list.
Logged

Harp00

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 19
    • http://www.slacky.it
Re: segmentation fault
« Reply #25 on: December 07, 2005, 12:05:10 PM »

I tried again with bt -20, but i had to kill gdb again.
So, i can post only the full backtrace.

Terminated after throwing an instance of 'CInvalidPacket'

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1226393920 (LWP 11903)]
0xb75ba8c7 in vfprintf () from /lib/tls/libc.so.6
(gdb) bt
#0  0xb75ba8c7 in vfprintf () from /lib/tls/libc.so.6
#1  0xb75be954 in buffered_vfprintf () from /lib/tls/libc.so.6
#2  0xb75ba982 in vfprintf () from /lib/tls/libc.so.6
#3  0xb75c326f in fprintf () from /lib/tls/libc.so.6
#4  0x0826ec44 in OnUnhandledException () at MuleDebug.cpp:68
#5  0xb7757694 in __cxa_call_unexpected () from /usr/lib/libstdc++.so.5
#6  0xb77576d1 in std::terminate () from /usr/lib/libstdc++.so.5
#7  0xb77578ab in __cxa_rethrow () from /usr/lib/libstdc++.so.5
#8  0x0826ec5a in OnUnhandledException () at MuleDebug.cpp:72
#9  0xb7757694 in __cxa_call_unexpected () from /usr/lib/libstdc++.so.5
#10 0xb77576d1 in std::terminate () from /usr/lib/libstdc++.so.5
#11 0xb77578ab in __cxa_rethrow () from /usr/lib/libstdc++.so.5
#12 0x0826ec5a in OnUnhandledException () at MuleDebug.cpp:72
#13 0xb7757694 in __cxa_call_unexpected () from /usr/lib/libstdc++.so.5
#14 0xb77576d1 in std::terminate () from /usr/lib/libstdc++.so.5
#15 0xb77578ab in __cxa_rethrow () from /usr/lib/libstdc++.so.5
#16 0x0826ec5a in OnUnhandledException () at MuleDebug.cpp:72
#17 0xb7757694 in __cxa_call_unexpected () from /usr/lib/libstdc++.so.5
#18 0xb77576d1 in std::terminate () from /usr/lib/libstdc++.so.5
#19 0xb77578ab in __cxa_rethrow () from /usr/lib/libstdc++.so.5
#20 0x0826ec5a in OnUnhandledException () at MuleDebug.cpp:72
#21 0xb7757694 in __cxa_call_unexpected () from /usr/lib/libstdc++.so.5
#22 0xb77576d1 in std::terminate () from /usr/lib/libstdc++.so.5
---Type to continue, or q to quit---q
Quit
(gdb) bt full
#0  0xb75ba8c7 in vfprintf () from /lib/tls/libc.so.6
No symbol table info available.
#1  0xb75be954 in buffered_vfprintf () from /lib/tls/libc.so.6
No symbol table info available.
#2  0xb75ba982 in vfprintf () from /lib/tls/libc.so.6
No symbol table info available.
#3  0xb75c326f in fprintf () from /lib/tls/libc.so.6
No symbol table info available.
#4  0x0826ec44 in OnUnhandledException () at MuleDebug.cpp:68
        name = 0x82f4194 "14CInvalidPacket"
        status = 0
        dem = 0x90ac828 "CInvalidPacket"
        t = (struct std::type_info *) 0x82f4188
#5  0xb7757694 in __cxa_call_unexpected () from /usr/lib/libstdc++.so.5
No symbol table info available.
#6  0xb77576d1 in std::terminate () from /usr/lib/libstdc++.so.5
No symbol table info available.
#7  0xb77578ab in __cxa_rethrow () from /usr/lib/libstdc++.so.5
No symbol table info available.
#8  0x0826ec5a in OnUnhandledException () at MuleDebug.cpp:72
        name = 0x82f4194 "14CInvalidPacket"
        status = 0
        dem = 0x90be680 "hà9\t\016"
---Type to continue, or q to quit---q
Quit
(gdb) thread apply all bt

Thread 4 (Thread -1244673104 (LWP 11911)):
#0  0xb7ed1192 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/libpthread.so.0
#1  0xb7898276 in wxConditionInternal::WaitTimeout ()
   from /usr/lib/libwx_base-2.6.so.0
#2  0xb789a806 in wxCondition::WaitTimeout () from /usr/lib/libwx_base-2.6.so.0
#3  0xb78986a0 in wxSemaphoreInternal::WaitTimeout ()
   from /usr/lib/libwx_base-2.6.so.0
#4  0xb789ab26 in wxSemaphore::WaitTimeout () from /usr/lib/libwx_base-2.6.so.0
#5  0x08224d67 in CTimerThread::Entry (this=0x8617858) at Timer.cpp:66
#6  0xb789898a in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.6.so.0
#7  0xb789880f in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
#8  0xb7ece0fb in start_thread () from /lib/tls/libpthread.so.0
#9  0xb763899e in clone () from /lib/tls/libc.so.6

Thread 2 (Thread -1227895888 (LWP 11909)):
#0  0xb7ed3cbc in __nanosleep_nocancel () from /lib/tls/libpthread.so.0
#1  0xb78a0b7a in wxMicroSleep () from /usr/lib/libwx_base-2.6.so.0
#2  0xb78a0ba5 in wxMilliSleep () from /usr/lib/libwx_base-2.6.so.0
#3  0xb7898fdf in wxThread::Sleep () from /usr/lib/libwx_base-2.6.so.0
#4  0x08127100 in UploadBandwidthThrottler::Entry (this=0x8aef568)
---Type to continue, or q to quit---q
 at UploadBandQuit
#0  0xb75ba8c7 in vfprintf () from /lib/tls/libc.so.6
(gdb) q
The program is running.  Exit anyway?

You are very kind, Xaignar.
Thank you.
Logged
And if the cloud bursts, thunder in your ear
You shout and no one seems to hear.
And if the band you're in starts playing different tunes
I'll see you on the dark side of the moon.

Harp00

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 19
    • http://www.slacky.it
Re: segmentation fault
« Reply #26 on: December 07, 2005, 12:57:41 PM »

Sorry, i think we reply together.
I am running gdb again.  ;(
Logged
And if the cloud bursts, thunder in your ear
You shout and no one seems to hear.
And if the band you're in starts playing different tunes
I'll see you on the dark side of the moon.

Harp00

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 19
    • http://www.slacky.it
Re: segmentation fault
« Reply #27 on: December 07, 2005, 01:03:14 PM »

:O I pressed enter billion times. It does not end.

#19224 0xb77bf6d1 in std::terminate () from /usr/lib/libstdc++.so.5
#19225 0xb77bf8ab in __cxa_rethrow () from /usr/lib/libstdc++.so.5
#19226 0x0826ec5a in OnUnhandledException () at MuleDebug.cpp:72
#19227 0xb77bf694 in __cxa_call_unexpected () from /usr/lib/libstdc++.so.5

This time i received a different error before segmentation fault.


Terminated after throwing an instance of 'wxString'

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1226201408 (LWP 11921)]
0xb75e98c7 in vfprintf () from /lib/tls/libc.so.6
(gdb) bt
#0  0xb75e98c7 in vfprintf () from /lib/tls/libc.so.6
#1  0xb75ed954 in buffered_vfprintf () from /lib/tls/libc.so.6
#2  0xb75e9982 in vfprintf () from /lib/tls/libc.so.6
#3  0xb75f226f in fprintf () from /lib/tls/libc.so.6
#4  0x0826ec44 in OnUnhandledException () at MuleDebug.cpp:68
#5  0xb7786694 in __cxa_call_unexpected () from /usr/lib/libstdc++.so.5
#6  0xb77866d1 in std::terminate () from /usr/lib/libstdc++.so.5
#7  0xb77868ab in __cxa_rethrow () from /usr/lib/libstdc++.so.5
#8  0x0826ec5a in OnUnhandledException () at MuleDebug.cpp:72
#9  0xb7786694 in __cxa_call_unexpected () from /usr/lib/libstdc++.so.5
#10 0xb77866d1 in std::terminate () from /usr/lib/libstdc++.so.5
#11 0xb77868ab in __cxa_rethrow () from /usr/lib/libstdc++.so.5
#12 0x0826ec5a in OnUnhandledException () at MuleDebug.cpp:72
#13 0xb7786694 in __cxa_call_unexpected () from /usr/lib/libstdc++.so.5
#14 0xb77866d1 in std::terminate () from /usr/lib/libstdc++.so.5
#15 0xb77868ab in __cxa_rethrow () from /usr/lib/libstdc++.so.5
#16 0x0826ec5a in OnUnhandledException () at MuleDebug.cpp:72
#17 0xb7786694 in __cxa_call_unexpected () from /usr/lib/libstdc++.so.5
#18 0xb77866d1 in std::terminate () from /usr/lib/libstdc++.so.5
#19 0xb77868ab in __cxa_rethrow () from /usr/lib/libstdc++.so.5
#20 0x0826ec5a in OnUnhandledException () at MuleDebug.cpp:72
#21 0xb7786694 in __cxa_call_unexpected () from /usr/lib/libstdc++.so.5
#22 0xb77866d1 in std::terminate () from /usr/lib/libstdc++.so.5
---Type to continue, or q to quit---q
Quit
(gdb) bt full
#0  0xb75e98c7 in vfprintf () from /lib/tls/libc.so.6
No symbol table info available.
#1  0xb75ed954 in buffered_vfprintf () from /lib/tls/libc.so.6
No symbol table info available.
#2  0xb75e9982 in vfprintf () from /lib/tls/libc.so.6
No symbol table info available.
#3  0xb75f226f in fprintf () from /lib/tls/libc.so.6
No symbol table info available.
#4  0x0826ec44 in OnUnhandledException () at MuleDebug.cpp:68
        name = 0x82f41a5 "8wxString"
        status = 0
        dem = 0x8a118a0 "wxString"
        t = (struct std::type_info *) 0x82f417c
#5  0xb7786694 in __cxa_call_unexpected () from /usr/lib/libstdc++.so.5
No symbol table info available.
#6  0xb77866d1 in std::terminate () from /usr/lib/libstdc++.so.5
No symbol table info available.
#7  0xb77868ab in __cxa_rethrow () from /usr/lib/libstdc++.so.5
No symbol table info available.
#8  0x0826ec5a in OnUnhandledException () at MuleDebug.cpp:72
        name = 0x82f41a5 "8wxString"
        status = 0
        dem = 0x8c79458 "èLÉ\b\b"
---Type to continue, or q to quit---q
Quit
(gdb) thread apply all bt

Thread 4 (Thread -1244480592 (LWP 11929)):
#0  0xb7f00192 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/libpthread.so.0
#1  0xb78c7276 in wxConditionInternal::WaitTimeout ()
   from /usr/lib/libwx_base-2.6.so.0
#2  0xb78c9806 in wxCondition::WaitTimeout () from /usr/lib/libwx_base-2.6.so.0
#3  0xb78c76a0 in wxSemaphoreInternal::WaitTimeout ()
   from /usr/lib/libwx_base-2.6.so.0
#4  0xb78c9b26 in wxSemaphore::WaitTimeout () from /usr/lib/libwx_base-2.6.so.0
#5  0x08224d67 in CTimerThread::Entry (this=0x8617858) at Timer.cpp:66
#6  0xb78c798a in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.6.so.0
#7  0xb78c780f in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
#8  0xb7efd0fb in start_thread () from /lib/tls/libpthread.so.0
#9  0xb766799e in clone () from /lib/tls/libc.so.6

Thread 2 (Thread -1227703376 (LWP 11927)):
#0  0xb7f02cbc in __nanosleep_nocancel () from /lib/tls/libpthread.so.0
#1  0xb78cfb7a in wxMicroSleep () from /usr/lib/libwx_base-2.6.so.0
#2  0xb78cfba5 in wxMilliSleep () from /usr/lib/libwx_base-2.6.so.0
#3  0xb78c7fdf in wxThread::Sleep () from /usr/lib/libwx_base-2.6.so.0
#4  0x08127100 in UploadBandwidthThrottler::Entry (this=0x8aef568)
---Type to continue, or q to quit---q
 at UploadBandQuit
#0  0xb75e98c7 in vfprintf () from /lib/tls/libc.so.6
(gdb)
Logged
And if the cloud bursts, thunder in your ear
You shout and no one seems to hear.
And if the band you're in starts playing different tunes
I'll see you on the dark side of the moon.

Xaignar

  • Admin and Code Junky
  • Hero Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 1103
Re: segmentation fault
« Reply #28 on: December 07, 2005, 02:04:51 PM »

Could you try running "make check" in the amule source dir and let me know if the tests pass?
Logged

Harp00

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 19
    • http://www.slacky.it
Re: segmentation fault
« Reply #29 on: December 07, 2005, 03:22:13 PM »

The amule source dir is the one were i usually do ./configure && make && make install?
If yes here is the output of make check:

Terminated after throwing an instance of 'CEOFException'
/bin/sh: line 1:  3315 Segmentation fault      ${dir}$tst
FAIL: FileDataIOTest
================================
3 of 5 tests failed
Please report to admin@amule.org
================================
make[3]: *** [check-TESTS] Error 1
make[3]: Leaving directory `/home/franco/Programmi/aMule/amule-cvs/unittests/tests'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/home/franco/Programmi/aMule/amule-cvs/unittests/tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/home/franco/Programmi/aMule/amule-cvs/unittests'
make: *** [check-recursive] Error 1
Logged
And if the cloud bursts, thunder in your ear
You shout and no one seems to hear.
And if the band you're in starts playing different tunes
I'll see you on the dark side of the moon.
Pages: 1 [2] 3