aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: assertion `atom != GDK_NONE'  (Read 4350 times)

libre

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 52

This is on gentoo ~amd64 with kernel 2.6.30-gentoo-r4 and nvidia driver.

Amule-2.2.5 was runing fine with kad only within a few hours and crashed. This is with gtk+-2.16.5:

Code: [Select]
[New Thread 0x7fac41684910 (LWP 17835)]
[New Thread 0x7fac40e83910 (LWP 17836)]
[Thread 0x7fac41684910 (LWP 17835) exited]
[New Thread 0x7fac41684910 (LWP 18133)]
[Thread 0x7fac41684910 (LWP 18133) exited]

(amule:17824): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: assertion `atom != GDK_NONE' failed

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fac523b7740 (LWP 17824)]
CPartFile::ClientStateChanged (this=0x1c0000000003, oldState=0, newState=1)
    at PartFile.cpp:3629
3629 PartFile.cpp: No such file or directory.
in PartFile.cpp

Code: [Select]
(gdb) bt
#0  CPartFile::ClientStateChanged (this=0x1c0000000003, oldState=0, newState=1)
    at PartFile.cpp:3629
#1  0x000000000048e553 in CUpDownClient::SetDownloadState (this=0x898bd40,
    byNewState=1 '\001') at DownloadClient.cpp:525
#2  0x000000000044845b in CUpDownClient::Disconnected (this=0x898bd40,
    strReason=@0x7fffdff91720, bFromSocket=false) at BaseClient.cpp:1238
#3  0x00000000004576fd in CClientList::ProcessDirectCallbackList (
    this=<value optimized out>) at ClientList.cpp:1113
#4  0x0000000000459d9b in CClientList::Process (this=0x308d0e0)
    at ClientList.cpp:748
#5  0x0000000000439857 in CamuleApp::OnCoreTimer (this=0x2e59be0)
    at amule.cpp:1461
#6  0x00007fac506cfd29 in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.8.so.0
#7  0x00007fac506d0eb3 in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#8  0x00007fac506d0fa7 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#9  0x00007fac506d0208 in wxEvtHandler::ProcessPendingEvents ()
   from /usr/lib/libwx_baseu-2.8.so.0
#10 0x00007fac5064046e in wxAppConsole::ProcessPendingEvents ()
   from /usr/lib/libwx_baseu-2.8.so.0
#11 0x00007fac50deca5b in wxAppBase::ProcessIdle ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#12 0x00007fac50d4f4e4 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#13 0x00007fac4d51ab89 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#14 0x00007fac4d51e0e8 in ?? () from /usr/lib/libglib-2.0.so.0
#15 0x00007fac4d51e5bd in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#16 0x00007fac4f3ec8cf in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#17 0x00007fac50d66afa in wxEventLoop::Run ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#18 0x00007fac50dec8eb in wxAppBase::MainLoop ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#19 0x00007fac506755cd in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#20 0x00000000005cfa72 in main (argc=1, argv=0x0) at amule-gui.cpp:95

Code: [Select]
(gdb) bt full
#0  CPartFile::ClientStateChanged (this=0x1c0000000003, oldState=0, newState=1)
    at PartFile.cpp:3629
No locals.
#1  0x000000000048e553 in CUpDownClient::SetDownloadState (this=0x898bd40,
    byNewState=1 '\001') at DownloadClient.cpp:525
No locals.
#2  0x000000000044845b in CUpDownClient::Disconnected (this=0x898bd40,
    strReason=@0x7fffdff91720, bFromSocket=false) at BaseClient.cpp:1238
bDelete = <value optimized out>
#3  0x00000000004576fd in CClientList::ProcessDirectCallbackList (
    this=<value optimized out>) at ClientList.cpp:1113
it2 = {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0x308d3a0,
    _M_version = 0, _M_prior = 0x0, _M_next = 0x7fffdff916f0}, _M_current = {
    _M_node = 0x7fac3c004180}}
curClient = (CUpDownClient *) 0x898bd40
it = {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0x308d3a0,
    _M_version = 1, _M_prior = 0x7fffdff91690, _M_next = 0x0}, _M_current = {
    _M_node = 0x308d390}}
cur_tick = 3581669651
#4  0x0000000000459d9b in CClientList::Process (this=0x308d0e0)
    at ClientList.cpp:748
cur_tick = 3581669651
buddy = Connected
---Type <return> to continue, or q <return> to quit---
current_it = {<__gnu_debug::_Safe_iterator_base> = {
    _M_sequence = 0x308d340, _M_version = 1, _M_prior = 0x0, _M_next = 0x0},
  _M_current = {_M_node = 0x308d318}}
#5  0x0000000000439857 in CamuleApp::OnCoreTimer (this=0x2e59be0)
    at amule.cpp:1461
msCur = 6181331
msPrev1 = 6181331
msPrev5 = 6180529
msPrevSave = 6133038
msPrevHist = 6181000
msPrevOS = 6177538
msPrevKnownMet = 5400330
#6  0x00007fac506cfd29 in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#7  0x00007fac506d0eb3 in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#8  0x00007fac506d0fa7 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#9  0x00007fac506d0208 in wxEvtHandler::ProcessPendingEvents ()
   from /usr/lib/libwx_baseu-2.8.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#10 0x00007fac5064046e in wxAppConsole::ProcessPendingEvents ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#11 0x00007fac50deca5b in wxAppBase::ProcessIdle ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#12 0x00007fac50d4f4e4 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#13 0x00007fac4d51ab89 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#14 0x00007fac4d51e0e8 in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#15 0x00007fac4d51e5bd in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#16 0x00007fac4f3ec8cf in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#17 0x00007fac50d66afa in wxEventLoop::Run ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#18 0x00007fac50dec8eb in wxAppBase::MainLoop ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#19 0x00007fac506755cd in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#20 0x00000000005cfa72 in main (argc=1, argv=0x0) at amule-gui.cpp:95
No locals.

Code: [Select]
(gdb) thread apply all bt

Thread 4 (Thread 0x7fac40e83910 (LWP 17836)):
#0  0x00007fac51fe24ed in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1  0x00007fac506cd769 in wxConditionInternal::WaitTimeout ()
   from /usr/lib/libwx_baseu-2.8.so.0
#2  0x00007fac506cea54 in wxSemaphoreInternal::WaitTimeout ()
   from /usr/lib/libwx_baseu-2.8.so.0
#3  0x000000000069f828 in CTimerThread::Entry (this=0x2e98d00) at Timer.cpp:64
#4  0x00007fac506ced52 in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.8.so.0
#5  0x00007fac51fde2d7 in start_thread () from /lib/libpthread.so.0
#6  0x00007fac4f97738d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fac41e85910 (LWP 17829)):
#0  0x00007fac51fe5661 in nanosleep () from /lib/libpthread.so.0
#1  0x00007fac506d48bc in wxMicroSleep () from /usr/lib/libwx_baseu-2.8.so.0
#2  0x000000000054c9e9 in UploadBandwidthThrottler::Entry (this=0x6570530)
    at UploadBandwidthThrottler.cpp:324
#3  0x00007fac506ced52 in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.8.so.0
#4  0x00007fac51fde2d7 in start_thread () from /lib/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
#5  0x00007fac4f97738d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fac523b7740 (LWP 17824)):
#0  CPartFile::ClientStateChanged (this=0x1c0000000003, oldState=0, newState=1)
    at PartFile.cpp:3629
#1  0x000000000048e553 in CUpDownClient::SetDownloadState (this=0x898bd40,
    byNewState=1 '\001') at DownloadClient.cpp:525
#2  0x000000000044845b in CUpDownClient::Disconnected (this=0x898bd40,
    strReason=@0x7fffdff91720, bFromSocket=false) at BaseClient.cpp:1238
#3  0x00000000004576fd in CClientList::ProcessDirectCallbackList (
    this=<value optimized out>) at ClientList.cpp:1113
#4  0x0000000000459d9b in CClientList::Process (this=0x308d0e0)
    at ClientList.cpp:748
#5  0x0000000000439857 in CamuleApp::OnCoreTimer (this=0x2e59be0)
    at amule.cpp:1461
#6  0x00007fac506cfd29 in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.8.so.0
#7  0x00007fac506d0eb3 in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#8  0x00007fac506d0fa7 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#9  0x00007fac506d0208 in wxEvtHandler::ProcessPendingEvents ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libwx_baseu-2.8.so.0
#10 0x00007fac5064046e in wxAppConsole::ProcessPendingEvents ()
   from /usr/lib/libwx_baseu-2.8.so.0
#11 0x00007fac50deca5b in wxAppBase::ProcessIdle ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#12 0x00007fac50d4f4e4 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#13 0x00007fac4d51ab89 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#14 0x00007fac4d51e0e8 in ?? () from /usr/lib/libglib-2.0.so.0
#15 0x00007fac4d51e5bd in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#16 0x00007fac4f3ec8cf in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#17 0x00007fac50d66afa in wxEventLoop::Run ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#18 0x00007fac50dec8eb in wxAppBase::MainLoop ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#19 0x00007fac506755cd in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#20 0x00000000005cfa72 in main (argc=1, argv=0x0) at amule-gui.cpp:95

After restarting amule, I get this errpr for one of the part files:
Code: [Select]
ThreadTasks.cpp(157): Hasher: IO exception while hashing file: SafeIO::IOFailure: Error reading from file: Erreur d'entrée/sortieErreur d'entrée/sortie = In/Out error
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming

That's a known problem. I have seen this several times, and have no idea why the m_reqfile member is filled with garbage.  ???

And you I/O exception look s like a bad harddisc, or at least a garbled file system I'm afraid.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

libre

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 52

Thanks.

I removed the file and done a fsck, but nothing bad was found. It is the first time I get this error.
Logged

libre

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 52

Ir was garbled file system. My fault, 2 concurrent drivers into the kernel after udtading to 2.6.30.
Logged