aMule Forum

English => aMule crashes => Topic started by: SymonHate on January 19, 2011, 02:14:49 AM

Title: amule crash
Post by: SymonHate on January 19, 2011, 02:14:49 AM
kubuntu 10.10 (2.6.35-24-generic)
aMule 2.2.6


Code: [Select]
Initialising aMule 2.2.6 using wxGTK2 v2.8.11
Checking if there is an instance already running...
No other instances are running.

--------------------------------------------------
Warning! You are running aMule as root.
Doing so is not recommended for security reasons,
and you are advised to run aMule as an normal
user instead.
--------------------------------------------------

ListenSocket: Ok.
HTTP download thread started
Host: amule.sourceforge.net:80
URL: http://amule.sourceforge.net/lastversion
Response: 200 (Error: 0)
Download size: 6
HTTP download thread ended
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x1f280f6
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x1f28c28
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x4792012
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x1f2f7b2
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x4794adb
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x46ea5ff
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x1f56f79
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x1f5a3bf
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x1f72656
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x1f72cef
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x1f7411e
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x1f7932b

--------------------------------------------------------------------------------
A fatal error has occurred and aMule has crashed.
Please assist us in fixing this problem by posting the backtrace below in our
'aMule Crashes' forum and include as much information as possible regarding the
circumstances of this crash. The forum is located here:
    http://forum.amule.org/index.php?board=67.0
If possible, please try to generate a real backtrace of this crash:
    http://wiki.amule.org/index.php/Backtraces

----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule 2.2.6 using wxGTK2 v2.8.11
Running on: Linux 2.6.35-24-generic i686

[2] ?? in amule[0x80800b9]
[3] wxFatalSignalHandler in /usr/lib/libwx_baseu-2.8.so.0[0x46f896]
[4] ?? in [0x1dc400]
[5] ?? in amule[0x808fe63]
[6] ?? in amule[0x8095010]
[7] ?? in amule[0x809bef9]
[8] ?? in amule[0x809c4f0]
[9] ?? in amule[0x8085d4f]
[10] wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const in /usr/lib/libwx_baseu-2.8.so.0[0x3ccc2f]
[11] wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0x46b089]
[12] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) in /usr/lib/libwx_baseu-2.8.so.0[0x46c134]
[13] wxEvtHandler::ProcessEvent(wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0x46c233]
[14] wxEvtHandler::ProcessPendingEvents() in /usr/lib/libwx_baseu-2.8.so.0[0x46b506]
[15] wxAppConsole::ProcessPendingEvents() in /usr/lib/libwx_baseu-2.8.so.0[0x3ccf79]
[16] wxAppBase::ProcessIdle() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xebf7bf]
[17] ?? in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xe132a5]
[18] ?? in /lib/libglib-2.0.so.0[0x4e20841]
[19] g_main_context_dispatch in /lib/libglib-2.0.so.0[0x4e22855]
[20] ?? in /lib/libglib-2.0.so.0[0x4e26668]
[21] g_main_loop_run in /lib/libglib-2.0.so.0[0x4e26ba7]
[22] gtk_main in /usr/lib/libgtk-x11-2.0.so.0[0x33c41d9]
[23] wxEventLoop::Run() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xe2c568]
[24] wxAppBase::MainLoop() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xebf63e]
[25] wxAppBase::OnRun() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xebf221]
[26] wxEntry(int&, wchar_t**) in /usr/lib/libwx_baseu-2.8.so.0[0x4066d3]
[27] wxEntry(int&, char**) in /usr/lib/libwx_baseu-2.8.so.0[0x4068b7]
[28] ?? in amule[0x815636b]
[29] __libc_start_main in /lib/libc.so.6[0xa26ce7]
[30] ?? in amule[0x807f061]


--------------------------------------------------------------------------------



help?


lp
s.
Title: Re: amule crash
Post by: RRM on January 19, 2011, 01:18:31 PM
There is an issue with the -24 kernel.
Stu is trying to find a solution. http://forum.amule.org/index.php?topic=18144.45
In the meantime, your crash may be unrelated as 2.2.6 contains some bugs that have been fixed in the latest SVN versions.
Enable debug and run it with gdb for a proper backtrace.
Title: Re: amule crash
Post by: RRM on January 19, 2011, 01:20:46 PM
and disable download limits.
Title: Re: amule crash
Post by: SymonHate on February 03, 2011, 02:39:19 AM
also i get his error

Code: [Select]
        aMule Version: aMule 2.2.6 using wxGTK2 v2.8.11

Terminated after throwing an instance of 'CryptoPP::OS_RNG_Err'
        what(): OS_Rng: open /dev/urandom operation failed with error 24
        backtrace:
[2] ?? in amule[0x8088ba9]
[3] wxEntry(int&, wchar_t**) in /usr/lib/libwx_baseu-2.8.so.0[0x27c718]
[4] wxEntry(int&, char**) in /usr/lib/libwx_baseu-2.8.so.0[0x27c8b7]
[5] ?? in amule[0x815636b]
[6] __libc_start_main in /lib/libc.so.6[0x3efce7]
[7] ?? in amule[0x807f061]



and download limi t i dont have....just upload limit...if i dont have upload limit on...they start downloading at 1 MB/s, and it makes my computer hang...


tc
sy.
Title: Re: amule crash
Post by: RRM on February 03, 2011, 05:40:47 PM
Please try the latest SVN version instead of 2.2.6
Title: Re: amule crash
Post by: Stu Redman on February 03, 2011, 08:53:15 PM
SymonHate, you are running out of file handles. Use the SVN version as RRM suggested.
Title: Re: amule crash
Post by: SymonHate on February 20, 2011, 01:18:55 PM
ok i did all what you said..and now i get this error:

Code: [Select]
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x755acce
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x5e057db
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x780001c
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x7565b3b
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x756ca72
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x756d214
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x757449f

(amule:23182): GLib-WARNING **: /build/buildd/glib2.0-2.26.0/glib/giounix.c:411Error while getting flags for FD: Bad file descriptor (9)


--------------------------------------------------------------------------------
A fatal error has occurred and aMule has crashed.
Please assist us in fixing this problem by posting the backtrace below in our
'aMule Crashes' forum and include as much information as possible regarding the
circumstances of this crash. The forum is located here:
    http://forum.amule.org/index.php?board=67.0
If possible, please try to generate a real backtrace of this crash:
    http://wiki.amule.org/index.php/Backtraces

----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule SVN compiled with wxGTK2 v2.8.11 (Snapshot: rev. 10444)
Running on: Linux 2.6.35-24-generic i686

[2] CamuleApp::OnFatalException() in amule.cpp:1020
[3] wxFatalSignalHandler in /usr/lib/libwx_baseu-2.8.so.0[0x757896]
[4] ?? in [0x674400]
[5] ?? in /usr/lib/libwx_gtk2u_core-2.8.so.0[0x321ce4]
[6] ?? in /usr/lib/libgdk-x11-2.0.so.0[0x7d7e62]
[7] ?? in /lib/libglib-2.0.so.0[0x5a8ce5b]
[8] g_main_context_dispatch in /lib/libglib-2.0.so.0[0x5a45855]
[9] ?? in /lib/libglib-2.0.so.0[0x5a49668]
[10] g_main_loop_run in /lib/libglib-2.0.so.0[0x5a49ba7]
[11] gtk_main in /usr/lib/libgtk-x11-2.0.so.0[0x10a11d9]
[12] wxEventLoop::Run() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0x320568]
[13] wxAppBase::MainLoop() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0x3b363e]
[14] wxAppBase::OnRun() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0x3b3221]
[15] wxEntry(int&, wchar_t**) in /usr/lib/libwx_baseu-2.8.so.0[0x6ee6d3]
[16] wxEntry(int&, char**) in /usr/lib/libwx_baseu-2.8.so.0[0x6ee8b7]
[17] main in amule-gui.cpp:93
[18] __libc_start_main in /lib/libc.so.6[0xe2bce7]
[19] _start in amule[0x8081641]


--------------------------------------------------------------------------------

Title: Re: amule crash
Post by: Stu Redman on February 20, 2011, 05:27:52 PM
What exactly did you do?
Title: Re: amule crash
Post by: SymonHate on February 21, 2011, 03:50:54 AM
i dont know... i left it to work during the night and in the morning only the konsole was up with this error... i have no idea what happened during the night...


thank you for helping


sy
Title: Re: amule crash
Post by: RRM on February 21, 2011, 07:26:21 PM
Did you have download limits disabled in this SVN?
Title: Re: amule crash
Post by: Stu Redman on February 21, 2011, 09:56:10 PM
I meant, what did you build, and how. What's you OS, and so on. Provide a little more information.
Title: Re: amule crash
Post by: SymonHate on February 22, 2011, 01:39:05 AM
i use kubuntu 10.10 (2.6.38-24)  with KDE 4.5.1


download limit here its alwys disabled (set to 0) just upload i have set to 100 kB, coz if i dont it freezes the  system.


How i build amule? you mean how i installed it or how im ruuning it?

i installed it from the amule wiki page where there was link and instructions howto do it....

and now i just have one catch:

i start amule with terminal on - so i see what happens if it get shut down.
if i start with "sudo amule" the amule SVN 10444 turns on... if  ii just write "amule", amule 2.2.6 starts... so naturally i start amule in sudo mode.

it works way better than 2.2.6, but this error happens every now and then, usually during the nigh,...with screen saver on - i dont know if that is important also...it starts after 10min idle...

am... i hope i answered all your questions correctly....i ..dont know exactly...


thank you

sy. :-)
Title: Re: amule crash
Post by: btkaos on February 22, 2011, 01:59:00 AM
SymonHate, build amule with debug support and install wx debug libs. Then run amule under gdb and you will get a useful backtrace in order to see what is going on.
Title: Re: amule crash
Post by: Stu Redman on February 22, 2011, 07:40:42 PM
if i start with "sudo amule" the amule SVN 10444 turns on... if  ii just write "amule", amule 2.2.6 starts... so naturally i start amule in sudo mode.
Try ./amule next time.  :)
Title: Re: amule crash
Post by: SymonHate on March 19, 2011, 11:06:03 PM
another crash.... maybe it helps...

Code: [Select]
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x1657e93
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x167302a
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x1e3c17a
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x1e3c1c7
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x6600008
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x1e6946c
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x1e70aea
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x1e751b3
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x1e774e2
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x1e79e25
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x1f41a2b
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x1f458c8
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x1f467d4
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x1f4cebe
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x1f4e666
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x1f4ef20
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x1f513b8
 2011-03-15 18:23:16: BaseClient.cpp(1834): Compatible client found with ET_COMPATIBLECLIENT of 15
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x16000a6

(amule:5325): GLib-WARNING **: /build/buildd/glib2.0-2.26.1/glib/giounix.c:411Error while getting flags for FD: Bad file descriptor (9)

X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x1fa6199

(amule:5325): GLib-WARNING **: /build/buildd/glib2.0-2.26.1/glib/giounix.c:411Error while getting flags for FD: Bad file descriptor (9)

X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x6800121
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x5e0709a
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0xe00019
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x5e40612
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x1ffeb3a
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x1e14a35
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x1e1f905
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x5eb5bf1
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x1e7bb12
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x6c003aa
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x6c003ac
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x700012f
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x6c12e4e
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x1e9108c
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x1e937a9
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x1e92a73
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x680013e
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x1e93ae4
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x1e93a91
 2011-03-19 07:51:34: BaseClient.cpp(1834): Compatible client found with ET_COMPATIBLECLIENT of 15
 2011-03-19 08:32:24: BaseClient.cpp(1834): Compatible client found with ET_COMPATIBLECLIENT of 15
 2011-03-19 10:38:13: BaseClient.cpp(1834): Compatible client found with ET_COMPATIBLECLIENT of 15
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x1e3fa7b
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x6e00593
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x7600030
 2011-03-19 13:57:38: BaseClient.cpp(1834): Compatible client found with ET_COMPATIBLECLIENT of 15

(amule:5325): GLib-WARNING **: /build/buildd/glib2.0-2.26.1/glib/giounix.c:411Error while getting flags for FD: Bad file descriptor (9)

X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x1e97b81
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x1e9766d
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x1e977b3
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x70003f3

--------------------------------------------------------------------------------
A fatal error has occurred and aMule has crashed.
Please assist us in fixing this problem by posting the backtrace below in our
'aMule Crashes' forum and include as much information as possible regarding the
circumstances of this crash. The forum is located here:
    http://forum.amule.org/index.php?board=67.0
If possible, please try to generate a real backtrace of this crash:
    http://wiki.amule.org/index.php/Backtraces

----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule SVN compiled with wxGTK2 v2.8.11 (Snapshot: rev. 10444)
Running on: Linux 2.6.35-24-generic i686

[2] CamuleApp::OnFatalException() in amule.cpp:1020
[3] wxFatalSignalHandler in /usr/lib/libwx_baseu-2.8.so.0[0x37e896]
[4] ?? in [0xdaf400]
[5] ?? in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xed4ce4]
[6] ?? in /usr/lib/libgdk-x11-2.0.so.0[0x9dbe62]
[7] ?? in /lib/libglib-2.0.so.0[0x4dd8e9b]
[8] g_main_context_dispatch in /lib/libglib-2.0.so.0[0x4d91855]
[9] ?? in /lib/libglib-2.0.so.0[0x4d95668]
[10] g_main_loop_run in /lib/libglib-2.0.so.0[0x4d95ba7]
[11] gtk_main in /usr/lib/libgtk-x11-2.0.so.0[0x52c71d9]
[12] wxEventLoop::Run() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xed3568]
[13] wxAppBase::MainLoop() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xf6665e]
[14] wxAppBase::OnRun() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xf66241]
[15] wxEntry(int&, wchar_t**) in /usr/lib/libwx_baseu-2.8.so.0[0x3156d3]
[16] wxEntry(int&, char**) in /usr/lib/libwx_baseu-2.8.so.0[0x3158b7]
[17] main in amule-gui.cpp:93
[18] __libc_start_main in /lib/libc.so.6[0x3f9ce7]
[19] _start in amule[0x8081641]


--------------------------------------------------------------------------------
^C
Title: Re: amule crash
Post by: btkaos on March 20, 2011, 03:06:03 AM
Symon, you need to run amule under gdb (and with debug enabled) in order to see what is going on.
Title: Re: amule crash
Post by: SymonHate on June 03, 2011, 12:39:14 AM
here i built a new SVN with new wxwidgets and now the crash happens almost after 5min of running. Also if someone could pls guide me to some thread where it is explained how i have to install the programs that would help you with getting more detailed crash report... thank you

Symon

Code: [Select]
Terminated after throwing an instance of 'std::bad_alloc'
        what(): std::bad_alloc
        aMule Version: aMule SVN compiled with wxGTK2 v2.9.1 (Snapshot: rev. 10573)

Terminated after throwing an instance of 'std::bad_alloc'
        what(): std::bad_alloc
        aMule Version: aMule SVN compiled with wxGTK2 v2.9.1 (Snapshot: rev. 10573)

Terminated after throwing an instance of 'std::bad_alloc'
        what(): std::bad_alloc
        backtrace:
[2] ?? in amule[0x809220d]
[3] ?? in /usr/lib/libwx_baseu-2.9.so.1[0x4c19a41]
[4] ?? in /lib/libpthread.so.0[0xdd3cc9]
[5] clone in /lib/libc.so.6[0xb4569e]

        backtrace:
[2] ?? in amule[0x809220d]
[3] ?? in /usr/lib/libwx_baseu-2.9.so.1[0x4c19a41]
[4] ?? in /lib/libpthread.so.0[0xdd3cc9]
[5] clone in /lib/libc.so.6[0xb4569e]
Title: Re: amule crash
Post by: btkaos on June 03, 2011, 01:16:43 AM
here i built a new SVN with new wxwidgets and now the crash happens almost after 5min of running. Also if someone could pls guide me to some thread where it is explained how i have to install the programs that would help you with getting more detailed crash report... thank you
First make sure that you are running against wx 2.8.12. Once you know that, run "gdb amule" and type r.

Once it crashes type bt and post the output here. Given that you seem to have an out of memory condition, you may have to watch amule or use some script to stop it once it eats too much memory.
Title: Re: amule crash
Post by: SymonHate on June 04, 2011, 05:03:21 AM
ok this is the gdb + bt command:

Code: [Select]
[Thread 0xa7fedb70 (LWP 2780) exited]
[Thread 0xa67eab70 (LWP 2781) exited]
[Thread 0xa39ffb70 (LWP 2782) exited]
[Thread 0xa87eeb70 (LWP 2765) exited]
[Thread 0xa77ecb70 (LWP 2776) exited]

Terminated after throwing an instance of 'std::bad_alloc'
        what(): std::bad_alloc
* Could not get symbol names for backtrace
        backtrace:


Program received signal SIGABRT, Aborted.
0x0012e416 in __kernel_vsyscall ()
(gdb) bt
#0  0x0012e416 in __kernel_vsyscall ()
#1  0x010ac941 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2  0x010afe42 in abort () at abort.c:92
#3  0x0830157d in OnUnhandledException() ()
#4  0x01000f35 in ?? () from /usr/lib/libstdc++.so.6
#5  0x01000f72 in std::terminate() () from /usr/lib/libstdc++.so.6
#6  0x010010e1 in __cxa_throw () from /usr/lib/libstdc++.so.6
#7  0x01001677 in operator new(unsigned int) () from /usr/lib/libstdc++.so.6
#8  0x00c8c5f9 in wxSocketEvent::Clone() const ()
   from /usr/lib/libwx_baseu_net-2.9.so.1
#9  0x0808276f in wxEvtHandler::AddPendingEvent(wxEvent const&) ()
#10 0x00c881dd in wxSocketBase::OnRequest(wxSocketNotify) ()
   from /usr/lib/libwx_baseu_net-2.9.so.1
#11 0x00c882a7 in wxSocketImpl::NotifyOnStateChange(wxSocketNotify) ()
   from /usr/lib/libwx_baseu_net-2.9.so.1
#12 0x00c93a6c in wxSocketImplUnix::OnStateChange(wxSocketNotify) ()
   from /usr/lib/libwx_baseu_net-2.9.so.1
#13 0x00c93d00 in wxSocketImplUnix::OnWriteWaiting() ()
   from /usr/lib/libwx_baseu_net-2.9.so.1
#14 0x00865807 in wxSocket_GDK_Input () from /usr/lib/libwx_gtk2u_core-2.9.so.1
#15 0x015cae62 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#16 0x01973e9b in ?? () from /lib/libglib-2.0.so.0
#17 0x0192c855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#18 0x01930668 in ?? () from /lib/libglib-2.0.so.0
#19 0x01930ba7 in g_main_loop_run () from /lib/libglib-2.0.so.0
#20 0x0130e1d9 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#21 0x0085a716 in wxGUIEventLoop::Run() ()
   from /usr/lib/libwx_gtk2u_core-2.9.so.1
#22 0x00cf190c in wxAppConsoleBase::MainLoop() ()
   from /usr/lib/libwx_baseu-2.9.so.1
#23 0x00ced7c4 in wxAppConsoleBase::OnRun() ()
   from /usr/lib/libwx_baseu-2.9.so.1
#24 0x0092d780 in wxAppBase::OnRun() () from /usr/lib/libwx_gtk2u_core-2.9.so.1
#25 0x00d99303 in wxEntry(int&, wchar_t**) ()
   from /usr/lib/libwx_baseu-2.9.so.1
#26 0x00d993b7 in wxEntry(int&, char**) () from /usr/lib/libwx_baseu-2.9.so.1
#27 0x08198b5b in main ()



hope it helps.... btw, im having problems deinstalling the 2.9.1 wxwidgets and replacing them with 2.8.12.... are u sure this has sth to do with wxwidgets?
and also...what kind of script should i  use...and how do i use it at all? before with SVN 10444 it never did this to me  - and i only DL 600 files, max. connections = 300, max. files = 200, and no file is bigger than 300 MB, majority is around 10-50 MB.

The truth is however that everything is going through my LINKEDSYS W....GL router and all my temp+income fiels are on WD My Book World II disk not local one... but still - till now this was not the problem.... when i upgraded SVN from 10444 t o10573 and wxwidgets from 2.8.11 to 2.9.1 and kernel .24 to .29 and im still using maverick kubuntu 10.10... then it started ...the problems... never now aMule is alive for more than 5-10m inutes... help...


s
y
m
o
n



symon
Title: Re: amule crash
Post by: SymonHate on June 04, 2011, 06:04:52 AM
ok i deinstalled aMule 10573 AND wxwidgets 2.9.1

and installed aMule 10577 AND wxwidgets 2.8.12

now i get this error :-(

Code: [Select]
GNU gdb (GDB) 7.2-ubuntu
Copyright (C) 2010 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 "i686-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/bin/amule...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/local/bin/amule
/usr/local/bin/amule: error while loading shared libraries: libwx_gtk2u_adv-2.9.so.1: cannot open shared object file: No such file or directory

Program exited with code 0177.
(gdb)

... shall i reinstall amule? or wx widgets... or..am..?

s.
Title: Re: amule crash
Post by: SymonHate on June 04, 2011, 06:33:21 AM
ok... now it says

amule: error while loading shared libraries: libwx_gtk2u_adv-2.8.so.0: cannot open shared object file: No such file or directory


ok... so i type "locate libwx_gtk2u_adv-2.8.so.0"

and i get:

~$ locate libwx_gtk2u_adv-2.8.so.0
/usr/lib/libwx_gtk2u_adv-2.8.so.0
/usr/lib/libwx_gtk2u_adv-2.8.so.0.7.0



ok i found this thread:

http://www.amule.org/amule/index.php?topic=11967.0


the problem is now this:

i type:

sudo echo "/usr/lib" >> /etc/ld.so.conf

and i get:

bash: /etc/ld.so.conf: Permission denied


:( now amule doesnt even want to start.....

sy.
Title: Re: amule crash
Post by: btkaos on June 04, 2011, 08:19:55 AM
Yes, wx 2.8.12 should fix your problem. wx 2.9 is not supported atm.

Uh, you just installed things in /usr, bad idea. Best way is to compile wx in some directory and then use ld_library path. You have to compile amule against wx 2.8.12

If you feel like it, you can also compile amule statically, see the wiki.

Title: Re: amule crash
Post by: Stu Redman on June 04, 2011, 03:13:00 PM
wx 2.9 is not supported atm.
Well, it is supported, but it is experimental.

Quote
Best way is to compile wx in some directory and then use ld_library path.
No, use --with-wxdir to configure aMule.
Title: Re: amule crash
Post by: SymonHate on June 04, 2011, 11:34:35 PM
thank you so much for your answers...


please forgive me but i have no idea what i have to do now...

first uninstall amule... how?
then uninstall wxwidgets... how?

then again installl wxwidgets? how? in what way so that they will be installed correctly

and then again install amule.... how? so it will be installed correctly?


im sorry... but i didnt know i installed anything in /usr/... i jsut did what the instructions told me in amule wiki


----------------------------------------
for wxwidgets:
unpack the file in home/name/downloads dir... then go to that dir and use

sudo ./configure --prefix=/usr --with-gtk --enable-unicode --disable-compat24 --enable-optimise

then


sudo make

then

sudo make install

then

sudo ldconfig

------------------------------
and for amule:

unpack the file in home/name/downloads dir... then go to that dir and use

sudo ./configure --enable-debug --enable-optimize

then

sudo make

then

sudo make install

then

sudo ldconfig


.... thats it



...and then this error..and some /usr/ ...i idnt speciffy where it should be installed...it didnt say in instructions i should... and...for linux..im not so... ... expert..

thank you
symon
Title: Re: amule crash
Post by: btkaos on June 05, 2011, 11:25:09 AM
wx 2.9 is not supported atm.
Well, it is supported, but it is experimental.
Well, it has similar crashes to pre-2.8.12 wx, so better for users to stay away ATM.
Title: Re: amule crash
Post by: btkaos on June 05, 2011, 11:26:35 AM
Try this guide: http://wiki.amule.org/index.php/HowTo_Compile_In_Ubuntu
Title: Re: amule crash
Post by: SymonHate on June 05, 2011, 02:03:15 PM
i tried to do everything that ... was in this instructions-.--and this is what i get:


Code: [Select]
xyz@avatar:~/aMule/bin$ amule
amule: error while loading shared libraries: libwx_gtk2u_adv-2.8.so.0: cannot open shared object file: No such file or directory


:(((
Title: Re: amule crash
Post by: Stu Redman on June 05, 2011, 02:30:20 PM
Try ./amule .
Title: Re: amule crash
Post by: jrk on June 18, 2011, 02:12:25 PM
I'm using Ubuntu 10.04 with standard kernel 2.6.32-31-generic.

I have two aMule versions installed: 2.2.6 from repository and 2.3.1 rc1 compiled by me (http://forum.amule.org/index.php?topic=18919.msg102819#msg102819).  I renamed binary from /usr/local/bin/amule to /usr/local/bin/amule-2.3.1-rc1 to distinguish it from /usr/bin/amule from repository. I share ~/.aMule directory between two aMule versions (not at the same time of course). When my family switch on the computer they use amuled 2.2.6 started by boot scripts. When I use computer I run sudo service amule-daemon stop ; amule-2.3.1-rc1.

aMule 2.2.6 was crashing about twice a week (actually it was killed by OOM Killer (http://linux-mm.org/OOM_Killer)).

aMule 2.3.1 rc1 crashed first time. I was doing nothing in aMule, I had it minimized to GNOME Notification Area Applet.

Code: [Select]
--------------------------------------------------------------------------------
A fatal error has occurred and aMule has crashed.
Please assist us in fixing this problem by posting the backtrace below in our
'aMule Crashes' forum and include as much information as possible regarding the
circumstances of this crash. The forum is located here:
    http://forum.amule.org/index.php?board=67.0
If possible, please try to generate a real backtrace of this crash:
    http://wiki.amule.org/index.php/Backtraces

----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule SVN compiled with wxGTK2 v2.8.10
Running on: Linux 2.6.32-31-generic i686

[2] CamuleApp::OnFatalException() in amule.cpp:1020
[3] wxFatalSignalHandler in /usr/lib/libwx_baseu-2.8.so.0[0x247a56]
[4] ?? in [0x6d8400]
[5] pthread_mutex_lock in /lib/tls/i686/cmov/libpthread.so.0[0x9d2f2d]
[6] ?? in /lib/libglib-2.0.so.0[0x977c2d7]
[7] g_source_remove in /lib/libglib-2.0.so.0[0x977e95c]
[8] gdk_input_remove in /usr/lib/libgdk-x11-2.0.so.0[0x6fb18d]
[9] GSocketGUIFunctionsTableConcrete::Uninstall_Callback(GSocket*, GSocketEvent) in /usr/lib/libwx_gtk2u_core-2.8.so.0[0x10b5067]
[10] GSocket::Disable(GSocketEvent) in /usr/lib/libwx_baseu_net-2.8.so.0[0x1527bd]
[11] GSocket::Detected_Write() in /usr/lib/libwx_baseu_net-2.8.so.0[0x154ac0]
[12] ?? in /usr/lib/libwx_gtk2u_core-2.8.so.0[0x10b4eb7]
[13] ?? in /usr/lib/libgdk-x11-2.0.so.0[0x6fb32c]
[14] ?? in /lib/libglib-2.0.so.0[0x97c0efb]
[15] g_main_context_dispatch in /lib/libglib-2.0.so.0[0x977c5e5]
[16] ?? in /lib/libglib-2.0.so.0[0x97802d8]
[17] g_main_loop_run in /lib/libglib-2.0.so.0[0x9780817]
[18] gtk_main in /usr/lib/libgtk-x11-2.0.so.0[0x552d3c9]
[19] wxEventLoop::Run() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0x10b3708]
[20] wxAppBase::MainLoop() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0x11464de]
[21] wxAppBase::OnRun() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0x11460d1]
[22] wxEntry(int&, wchar_t**) in /usr/lib/libwx_baseu-2.8.so.0[0x1de79a]
[23] wxEntry(int&, char**) in /usr/lib/libwx_baseu-2.8.so.0[0x1de977]
[24] main in amule-gui.cpp:93
[25] __libc_start_main in /lib/tls/i686/cmov/libc.so.6[0x3fdbd6]
[26] _start in :0


--------------------------------------------------------------------------------
zsh: abort      amule-2.3.1-rc1

I think it isn't very useful because I don't use latest wxWidgets 2.8.12.
Title: Re: amule crash
Post by: btkaos on June 19, 2011, 12:56:19 PM
Indeed jrk your crash should be solved if you update to 2.8.12
Title: Re: amule crash
Post by: xja on June 30, 2011, 02:39:17 PM
Just a, perhaps random, crash, on Mac OS X.
Hope it's useful, unfortunately, I don't have developer tools installed to produce a backtrace.
Here's the standard crash log atached.
bye
Title: Re: amule crash
Post by: xja on June 30, 2011, 02:44:15 PM
I have to add that crash occurred on launch on Mac OS X 10.6.8, with aMule 2.3.1 RC1 (declaring itself as aMule 2.3.0 SVN rev. 10562)
Bye.