aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: SVN r9578 crash - Fedora 9 x86_64  (Read 3853 times)

wires

  • Jr. Member
  • **
  • Karma: 6
  • Offline Offline
  • Posts: 83
SVN r9578 crash - Fedora 9 x86_64
« on: May 06, 2009, 08:39:11 AM »

Hi all, this is the second time amule crashes after one day or so. It seems it is not amule but a system library

Quote
../configure --prefix=/home/xxxx/aMule-SVN --disable-dependency-tracking --disable-upnp --enable-geoip --disable-optimize --enable-debug --enable-wxcas --enable-alc --enable-alcc

Extra CFLAGS and CXXFLAGS '-march=athlon64 -mtune=athlon64'

Quote
compat-wxGTK26-2.6.4-2.x86_64
wxGTK-devel-2.8.9-1.fc9.x86_64
wxGTK-gl-2.8.9-1.fc9.x86_64
wxGTK-2.8.9-1.fc9.x86_64
wxGlade-0.6.3-2.fc9.noarch
wxBase-2.8.9-1.fc9.x86_64
wxPython-2.8.9.1-1.fc9.x86_64
gtk2-2.12.12-2.fc9.x86_64
gtk+-1.2.10-66.fc9.x86_64
glib2-2.16.6-3.fc9.x86_64
glib-1.2.10-29.fc9.x86_64

Screen output:
Quote
(amule:4168): GLib-WARNING **: giounix.c:400Error while getting flags for FD: Descriptor de fichero err�neo (9)


Program received signal SIGSEGV, Segmentation fault.
0x0000000008119610 in ?? ()

Quote
(gdb) bt
#0  0x0000000008119610 in ?? ()
#1  0x00000031d6c20e41 in gdk_io_invoke (source=Could not find the frame base for "gdk_io_invoke".
) at gdkevents.c:986
#2  0x00000031d583744b in IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2012
#3  0x00000031d583ac2d in g_main_context_iterate (context=<value optimized out>, block=<value optimized out>,
    dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2645
#4  0x00000031d583b15d in IA__g_main_loop_run (loop=<value optimized out>) at gmain.c:2853
#5  0x00000031d8183db0 in IA__gtk_main () at gtkmain.c:1163
#6  0x00000031d8de6718 in wxEventLoop::Run (this=<value optimized out>) at src/gtk/evtloop.cpp:76
#7  0x00000031d8e6fa6b in wxAppBase::MainLoop (this=<value optimized out>) at src/common/appcmn.cpp:312
#8  0x0000003dcea99b9d in wxEntry (argc=<value optimized out>, argv=<value optimized out>) at src/common/init.cpp:460
#9  0x000000000066bdcb in main (argc=1, argv=0x7fff0336a698) at ../../src/amule-gui.cpp:94

Quote
(gdb) bt full
#0  0x0000000008119610 in ?? ()
No symbol table info available.
#1  0x00000031d6c20e41 in gdk_io_invoke (source=Could not find the frame base for "gdk_io_invoke".
) at gdkevents.c:986
   closure = Could not find the frame base for "gdk_io_invoke".
   gdk_cond = Could not find the frame base for "gdk_io_invoke".
#2  0x00000031d583744b in IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2012
No locals.
#3  0x00000031d583ac2d in g_main_context_iterate (context=<value optimized out>, block=<value optimized out>,
    dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2645
   max_priority = <value optimized out>
   timeout = <value optimized out>
   some_ready = <value optimized out>
   nfds = <value optimized out>
   allocated_nfds = <value optimized out>
   fds = <value optimized out>
   __PRETTY_FUNCTION__ = "g_main_context_iterate"
#4  0x00000031d583b15d in IA__g_main_loop_run (loop=<value optimized out>) at gmain.c:2853
   self = <value optimized out>
   __PRETTY_FUNCTION__ = "IA__g_main_loop_run"
#5  0x00000031d8183db0 in IA__gtk_main () at gtkmain.c:1163
   tmp_list = Could not find the frame base for "IA__gtk_main".
   functions = Could not find the frame base for "IA__gtk_main".
   init = Could not find the frame base for "IA__gtk_main".
   loop = Could not find the frame base for "IA__gtk_main".
#6  0x00000031d8de6718 in wxEventLoop::Run (this=<value optimized out>) at src/gtk/evtloop.cpp:76
   exitcode = <value optimized out>
#7  0x00000031d8e6fa6b in wxAppBase::MainLoop (this=<value optimized out>) at src/common/appcmn.cpp:312
   mainLoop = Could not find the frame base for "wxAppBase::MainLoop()".
#8  0x0000003dcea99b9d in wxEntry (argc=<value optimized out>, argv=<value optimized out>) at src/common/init.cpp:460
No locals.
#9  0x000000000066bdcb in main (argc=1, argv=0x7fff0336a698) at ../../src/amule-gui.cpp:94

Quote
(gdb) thread apply all bt full

Thread 5 (Thread 0x41a9c950 (LWP 4183)):
#0  0x00000035fa40b19d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
No locals.
#1  0x0000003dceaf3339 in wxConditionInternal::WaitTimeout (this=<value optimized out>, milliseconds=<value optimized out>)
    at src/unix/threadpsx.cpp:405
   curtime = <value optimized out>
   tspec = Could not find the frame base for "wxConditionInternal::WaitTimeout(unsigned long)".
   err = 1596585
#2  0x0000003dceaf4702 in wxSemaphoreInternal::WaitTimeout (this=<value optimized out>, milliseconds=<value optimized out>)
    at src/unix/threadpsx.cpp:552
   remainingTime = <value optimized out>
   locker = Could not find the frame base for "wxSemaphoreInternal::WaitTimeout(unsigned long)".
#3  0x00000000007bfd1b in CTimerThread::Entry (this=0x13a7140) at ../../src/Timer.cpp:64
   now = 309970294
   sinceLast = 0
   timeout = 100
   evt = {<wxEvent> = {<wxObject> = {_vptr.wxObject = 0xa396d0, static ms_classInfo = {m_className = 0x3dceb17988, m_objectSize = 16,
        m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x31d8ae47e0, m_next = 0x3dced65240,
        static sm_classTable = 0x131c010}, m_refData = 0x0}, m_eventObject = 0x0, m_eventType = 10247, m_timeStamp = 0, m_id = 6128,
    m_callbackUserData = 0x0, m_propagationLevel = 0, m_skipped = false, m_isCommandEvent = false, static ms_classInfo = {
      m_className = 0x3dceb1d818, m_objectSize = 64, m_objectConstructor = 0, m_baseInfo1 = 0x3dced65160, m_baseInfo2 = 0x0,
      static sm_first = 0x31d8ae47e0, m_next = 0x3dced67120, static sm_classTable = 0x131c010}}, <No data fields>}
   lastEvent = 309970294
#4  0x0000003dceaf48ea in wxThreadInternal::PthreadStart (thread=<value optimized out>) at src/unix/threadpsx.cpp:766
   pthread = <value optimized out>
   rc = <value optimized out>
   dontRunAtAll = <value optimized out>
#5  0x00000035fa40729a in start_thread (arg=<value optimized out>) at pthread_create.c:297
   __res = <value optimized out>
   pd = <value optimized out>
   unwind_buf = Could not find the frame base for "start_thread".
   not_first_call = <value optimized out>
   robust = <value optimized out>
#6  0x00000035f98e439d in clone () from /lib64/libc.so.6
   __elf_set___libc_subfreeres_element_fstab_free__ = (const void *) 0x35f9921140
   fstab_state = {fs_fp = 0x0, fs_buffer = 0x0, fs_mntres = {mnt_fsname = 0x0, mnt_dir = 0x0, mnt_type = 0x0, mnt_opts = 0x0,
    mnt_freq = 0, mnt_passno = 0}, fs_ret = {fs_spec = 0x0, fs_file = 0x0, fs_vfstype = 0x0, fs_mntops = 0x0, fs_type = 0x0, fs_freq = 0,
    fs_passno = 0}}
Current language:  auto; currently asm

Thread 2 (Thread 0x4109b950 (LWP 4179)):
#0  0x00000035fa40e491 in nanosleep () from /lib64/libpthread.so.0
No locals.
#1  0x0000003dceafa6ac in wxMicroSleep (microseconds=<value optimized out>) at src/unix/utilsunx.cpp:191
   tmReq = Could not find the frame base for "wxMicroSleep(unsigned long)".
#2  0x00000000005e005e in UploadBandwidthThrottler::Entry (this=0x4da0590) at ../../src/UploadBandwidthThrottler.cpp:320
   timeSinceLastLoop = 0
   minFragSize = 1300
   doubleSendSize = 2600
   bytesToSpend = 18
   sleepTime = 141
   thisLoopTick = 309970229
   TIME_BETWEEN_UPLOAD_LOOPS = 1
   lastLoopTick = 309970229
   realBytesToSpend = -2581281
   allowedDataRate = 18432
   rememberedSlotCounter = 5
   extraSleepTime = 1
   sendLock = {m_isOk = 203, m_mutex = @0x4109add0}
#3  0x0000003dceaf48ea in wxThreadInternal::PthreadStart (thread=<value optimized out>) at src/unix/threadpsx.cpp:766
   pthread = <value optimized out>
   rc = <value optimized out>
   dontRunAtAll = <value optimized out>
#4  0x00000035fa40729a in start_thread (arg=<value optimized out>) at pthread_create.c:297
   __res = <value optimized out>
   pd = <value optimized out>
   unwind_buf = Could not find the frame base for "start_thread".
   not_first_call = <value optimized out>
   robust = <value optimized out>
#5  0x00000035f98e439d in clone () from /lib64/libc.so.6
   __elf_set___libc_subfreeres_element_fstab_free__ = (const void *) 0x35f9921140
   fstab_state = {fs_fp = 0x0, fs_buffer = 0x0, fs_mntres = {mnt_fsname = 0x0, mnt_dir = 0x0, mnt_type = 0x0, mnt_opts = 0x0,
    mnt_freq = 0, mnt_passno = 0}, fs_ret = {fs_spec = 0x0, fs_file = 0x0, fs_vfstype = 0x0, fs_mntops = 0x0, fs_type = 0x0, fs_freq = 0,
    fs_passno = 0}}

Thread 1 (Thread 0x7fbcfb336750 (LWP 4168)):
#0  0x0000000008119610 in ?? ()
No symbol table info available.
#1  0x00000031d6c20e41 in gdk_io_invoke (source=Could not find the frame base for "gdk_io_invoke".
) at gdkevents.c:986
   closure = Could not find the frame base for "gdk_io_invoke".
   gdk_cond = Could not find the frame base for "gdk_io_invoke".
#2  0x00000031d583744b in IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2012
No locals.
#3  0x00000031d583ac2d in g_main_context_iterate (context=<value optimized out>, block=<value optimized out>,
    dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2645
   max_priority = <value optimized out>
   timeout = <value optimized out>
   some_ready = <value optimized out>
   nfds = <value optimized out>
   allocated_nfds = <value optimized out>
   fds = <value optimized out>
   __PRETTY_FUNCTION__ = "g_main_context_iterate"
#4  0x00000031d583b15d in IA__g_main_loop_run (loop=<value optimized out>) at gmain.c:2853
   self = <value optimized out>
   __PRETTY_FUNCTION__ = "IA__g_main_loop_run"
#5  0x00000031d8183db0 in IA__gtk_main () at gtkmain.c:1163
   tmp_list = Could not find the frame base for "IA__gtk_main".
   functions = Could not find the frame base for "IA__gtk_main".
   init = Could not find the frame base for "IA__gtk_main".
   loop = Could not find the frame base for "IA__gtk_main".
#6  0x00000031d8de6718 in wxEventLoop::Run (this=<value optimized out>) at src/gtk/evtloop.cpp:76
   exitcode = <value optimized out>
#7  0x00000031d8e6fa6b in wxAppBase::MainLoop (this=<value optimized out>) at src/common/appcmn.cpp:312
   mainLoop = Could not find the frame base for "wxAppBase::MainLoop()".
#8  0x0000003dcea99b9d in wxEntry (argc=<value optimized out>, argv=<value optimized out>) at src/common/init.cpp:460
No locals.
#9  0x000000000066bdcb in main (argc=1, argv=0x7fff0336a698) at ../../src/amule-gui.cpp:94
No locals.

Now I'm upgrading to r9585 (without march,mtune flags just in case)

Regards
« Last Edit: May 06, 2009, 08:56:13 AM by wires »
Logged

myth

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 38
  • Offline Offline
  • Posts: 570
Re: SVN r9578 crash - Fedora 9 x86_64
« Reply #1 on: May 06, 2009, 08:50:09 AM »

I don't know anything to solve your problem, but 1 advise: You don't need to define --enable-debug doing ./config....it's default...you can disable it bey --disable-debug... ;)
Logged

wires

  • Jr. Member
  • **
  • Karma: 6
  • Offline Offline
  • Posts: 83
Re: SVN r9578 crash - Fedora 9 x86_64
« Reply #2 on: May 06, 2009, 09:02:55 AM »

I don't know anything to solve your problem, but 1 advise: You don't need to define --enable-debug doing ./config....it's default...you can disable it bey --disable-debug... ;)

Thanks but I prefer to set the flag. It is harmless and If someone changes the default policy to non-debug It will not affect my compilation
Logged

wires

  • Jr. Member
  • **
  • Karma: 6
  • Offline Offline
  • Posts: 83
Re: SVN r9578 crash - Fedora 9 x86_64
« Reply #3 on: May 07, 2009, 12:16:56 AM »

From Kry's comment this may be an old issue with wx.
Logged