aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: aMule Revision: 10619 Program Killed?  (Read 11228 times)

x_x_kamikaze_x_x

  • Jr. Member
  • **
  • Karma: 18
  • Offline Offline
  • Posts: 83
aMule Revision: 10619 Program Killed?
« on: October 02, 2011, 03:36:47 PM »

Hi aMule guys!

I was testing aMule Revision: 10619 with gdb (in order to get a nice back-trace)
when I press the transfer tab, the program start consuming a lot of cpu and then suddenly aMule disappeared.
Then I say: "Ha! Now I can be useful for the community, I am going to post the full back-trace on the forum."
My surprise was to see on the gdb console the message "Program terminated with signal SIGKILL, Killed."
It's strange because i didn't kill it and on my computer anyone are connected (like ssh).
I had tried to do the back-trace following the http://wiki.amule.org/index.php/Backtraces documentation,
but I didn't obtained useful info.
I don't have any core file too!  ???

If you need anything, let me know it.
And I not going to close the gdb console until Monday for put more commands
if you want something I let inside it.

I let here all the info I can obtain:

--> uname -a:
Linux maria2 2.6.38-11-server #50-Ubuntu SMP Mon Sep 12 21:34:27 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
--> aMule:
Revision 10619 Committed Thu, 29 Sep 2011 08:22:49
--> Doing:
After doing a search and downloading a file, going to the transfer tab.
--> ls -l /usr/bin/wx*:
lrwxrwxrwx 1 root root 27 2011-10-01 20:51 /usr/bin/wx-config -> /etc/alternatives/wx-config
--> ls -l /usr/local/bin/wx*:
lrwxrwxrwx 1 root root     41 2011-10-02 02:52 /usr/local/bin/wx-config -> /usr/local/lib/wx/config/gtk2-unicode-2.9
lrwxrwxrwx 1 root root      8 2011-10-02 02:52 /usr/local/bin/wxrc -> wxrc-2.9
-rwxr-xr-x 1 root root 143205 2011-10-02 02:52 /usr/local/bin/wxrc-2.9
--> Compiled with:
./configure --enable-debug --disable-optimize
make
--> Connected to:
Kad+ed2kserver
--> ed2kserver:
peerates.net
--> gdb console showing:
(gdb) run
Starting program: /home/kami/Desktop/amule/src/amule
[Thread debugging using libthread_db enabled]
 2011-10-02 14:57:43: amuleAppCommon.cpp(333): Initialising aMule SVN compiled with wxGTK2 v2.9.2 (Debugging) (Snapshot: rev. 10619)
 2011-10-02 14:57:43: amuleAppCommon.cpp(379): Checking if there is an instance already running...
 2011-10-02 14:57:44: amuleAppCommon.cpp(410): No other instances are running.
 2011-10-02 14:57:47: ListenSocket.cpp(65): ListenSocket: Ok.
[New Thread 0x7fffed0fa700 (LWP 5897)]
[Thread 0x7fffed0fa700 (LWP 5897) exited]
[New Thread 0x7fffed0fa700 (LWP 5900)]
[New Thread 0x7fffeba18700 (LWP 5901)]
[New Thread 0x7fffeb217700 (LWP 5902)]
[New Thread 0x7fffeaa16700 (LWP 5903)]
[Thread 0x7fffeaa16700 (LWP 5903) exited]
 2011-10-02 14:57:47: DownloadQueue.cpp(113): Loading temp files from /home/kami/.aMule/Temp.
 2011-10-02 14:57:47: DownloadQueue.cpp(163): All PartFiles Loaded.
[New Thread 0x7fffeaa16700 (LWP 5904)]
[New Thread 0x7fffe9eed700 (LWP 5905)]

** (amule:5876): CRITICAL **: clearlooks_style_draw_box_gap: assertion `height >= -1' failed

** (amule:5876): CRITICAL **: clearlooks_style_draw_box_gap: assertion `height >= -1' failed

** (amule:5876): CRITICAL **: clearlooks_style_draw_box_gap: assertion `height >= -1' failed
[Thread 0x7fffeaa16700 (LWP 5904) exited]
[Thread 0x7fffed0fa700 (LWP 5900) exited]

** (amule:5876): CRITICAL **: clearlooks_style_draw_box_gap: assertion `height >= -1' failed

** (amule:5876): CRITICAL **: clearlooks_style_draw_box_gap: assertion `height >= -1' failed

** (amule:5876): CRITICAL **: clearlooks_style_draw_box_gap: assertion `height >= -1' failed

** (amule:5876): CRITICAL **: clearlooks_style_draw_box_gap: assertion `height >= -1' failed

** (amule:5876): CRITICAL **: clearlooks_style_draw_box_gap: assertion `height >= -1' failed

** (amule:5876): CRITICAL **: clearlooks_style_draw_box_gap: assertion `height >= -1' failed

(amule:5876): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 17

(amule:5876): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 17
 2011-10-02 14:59:14: SearchList.cpp(671): Search parsing result for "sex": 0
 2011-10-02 14:59:14: SearchList.cpp(692): Search expression: sex
 2011-10-02 14:59:14: SearchList.cpp(693): Expression count: 1
 2011-10-02 14:59:14: SearchList.cpp(699): Parameters: 1
 2011-10-02 14:59:59: SearchList.cpp(671): Search parsing result for "peerates.net": 0
 2011-10-02 14:59:59: SearchList.cpp(692): Search expression: peerates.net
 2011-10-02 14:59:59: SearchList.cpp(693): Expression count: 1
 2011-10-02 14:59:59: SearchList.cpp(699): Parameters: 1
[Thread 0x7fffe9eed700 (LWP 5905) exited]
[Thread 0x7fffeb217700 (LWP 5902) exited]
[Thread 0x7fffeba18700 (LWP 5901) exited]

Program terminated with signal SIGKILL, Killed.
The program no longer exists.
(gdb) bt
No stack.
(gdb) bt full
No stack.
(gdb) thread apply all bt
(gdb)
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: aMule Revision: 10619 Program Killed?
« Reply #1 on: October 02, 2011, 03:49:25 PM »

One thing I can think of is aMule going crazy and allocating all the free memory, then the OS killing it. Can you reproduce this "crash"?
Logged
concordia cum veritate

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: aMule Revision: 10619 Program Killed?
« Reply #2 on: October 02, 2011, 04:18:01 PM »

2011-10-02 14:59:14: SearchList.cpp(692): Search expression: sex
Lol.

** (amule:5876): CRITICAL **: clearlooks_style_draw_box_gap: assertion `height >= -1' failed
Bleh. I thought I had fixed that in 10422. Could you please increase the value in MuleNotebook.h
Code: [Select]
#define MULE_NOTEBOOK_TAB_HEIGHT 40
to something bigger to see if the message goes away?

Regarding the crash:
- try wxWidgets 2.8.12 instead of 2.9.2 (which still is very experimental)
- always compile with optimize on (even when debug is enabled)
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

x_x_kamikaze_x_x

  • Jr. Member
  • **
  • Karma: 18
  • Offline Offline
  • Posts: 83
Re: aMule Revision: 10619 Program Killed?
« Reply #3 on: October 02, 2011, 05:04:31 PM »

One thing I can think of is aMule going crazy and allocating all the free memory, then the OS killing it. Can you reproduce this "crash"?

I would try.  :)

2011-10-02 14:59:14: SearchList.cpp(692): Search expression: sex
Lol.

Just testing!  ;D

** (amule:5876): CRITICAL **: clearlooks_style_draw_box_gap: assertion `height >= -1' failed
Bleh. I thought I had fixed that in 10422. Could you please increase the value in MuleNotebook.h
Code: [Select]
#define MULE_NOTEBOOK_TAB_HEIGHT 40
to something bigger to see if the message goes away?

Now I had:
Code: [Select]
#define MULE_NOTEBOOK_TAB_HEIGHT 100

Regarding the crash:
- try wxWidgets 2.8.12 instead of 2.9.2 (which still is very experimental)

Sorry but I don't know how downgrade the version. I am still looking on google for it.

- always compile with optimize on (even when debug is enabled)

This time I will use it --enable-optimize instead of --disable-optimize


Thanks for all aMule team!

Kami =^.^=
Logged

x_x_kamikaze_x_x

  • Jr. Member
  • **
  • Karma: 18
  • Offline Offline
  • Posts: 83
Re: aMule Revision: 10619 Program Killed?
« Reply #4 on: October 02, 2011, 05:25:22 PM »

** (amule:5876): CRITICAL **: clearlooks_style_draw_box_gap: assertion `height >= -1' failed
Bleh. I thought I had fixed that in 10422. Could you please increase the value in MuleNotebook.h
Code: [Select]
#define MULE_NOTEBOOK_TAB_HEIGHT 40
to something bigger to see if the message goes away?

Sorry but it didn't work... I have on gbd the same message.

I am using:
  Libraries aMule will use to build:
       wxWidgets             2.9.2 (gtk2,shared)
       crypto++              5.6.0 (installed, in /usr)
       libupnp               1.6.6
       libintl               system
       zlib                  1.2.3.4

It was killed one more time again!
Steps I had made:
->Connect to ed2k server peerates.net
->Go to the kad tab
->Connect to kad using my contact list files
->Go to search tab
->Search for sex
->Search for peerates.net
->Download a random file with have a lot of people having it
->Go to the transfer tab
->Go to the chat tab
->Ask for the list of one of my friends
->Try to send a message to the same friend without waiting the list


People, I think I have caught a new bug.
When I tried to send a chat message to a friend (on the tab list friends) after request the view
of the shared files list. It was renamed to "?".


gdb output:
Code: [Select]
(gdb) run
Starting program: /home/kami/Desktop/amule/src/amule
[Thread debugging using libthread_db enabled]
 2011-10-02 17:07:58: amuleAppCommon.cpp(333): Initialising aMule SVN compiled with wxGTK2 v2.9.2 (Debugging) (Snapshot: rev. 10619)
 2011-10-02 17:07:58: amuleAppCommon.cpp(379): Checking if there is an instance already running...
 2011-10-02 17:07:58: amuleAppCommon.cpp(410): No other instances are running.
 2011-10-02 17:08:01: ListenSocket.cpp(65): ListenSocket: Ok.
[New Thread 0x7fffed0fa700 (LWP 17044)]
[New Thread 0x7fffeba18700 (LWP 17047)]
[New Thread 0x7fffeb217700 (LWP 17048)]
[New Thread 0x7fffeaa16700 (LWP 17049)]
[New Thread 0x7fffea215700 (LWP 17050)]
 2011-10-02 17:08:01: DownloadQueue.cpp(113): Loading temp files from /home/kami/.aMule/Temp.
 2011-10-02 17:08:01: DownloadQueue.cpp(132): Loading PartFile 1 of 1
[Thread 0x7fffea215700 (LWP 17050) exited]
 2011-10-02 17:08:01: DownloadQueue.cpp(163): All PartFiles Loaded.
[New Thread 0x7fffea215700 (LWP 17051)]
[New Thread 0x7fffe9a14700 (LWP 17052)]

** (amule:17023): CRITICAL **: clearlooks_style_draw_box_gap: assertion `height >= -1' failed

** (amule:17023): CRITICAL **: clearlooks_style_draw_box_gap: assertion `height >= -1' failed
[Thread 0x7fffed0fa700 (LWP 17044) exited]

** (amule:17023): CRITICAL **: clearlooks_style_draw_box_gap: assertion `height >= -1' failed
[Thread 0x7fffea215700 (LWP 17051) exited]
[Thread 0x7fffeba18700 (LWP 17047) exited]

(amule:17023): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 17

(amule:17023): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 17
 2011-10-02 17:10:49: SearchList.cpp(671): Search parsing result for "sex": 0
 2011-10-02 17:10:49: SearchList.cpp(692): Search expression: sex
 2011-10-02 17:10:49: SearchList.cpp(693): Expression count: 1
 2011-10-02 17:10:49: SearchList.cpp(699): Parameters: 1
 2011-10-02 17:10:57: SearchList.cpp(671): Search parsing result for "peerates.net": 0
 2011-10-02 17:10:57: SearchList.cpp(692): Search expression: peerates.net
 2011-10-02 17:10:57: SearchList.cpp(693): Expression count: 1
 2011-10-02 17:10:57: SearchList.cpp(699): Parameters: 1
[New Thread 0x7fffea215700 (LWP 17053)]
[Thread 0x7fffea215700 (LWP 17053) exited]
[New Thread 0x7fffea215700 (LWP 17060)]
[Thread 0x7fffea215700 (LWP 17060) exited]
[Thread 0x7fffeaa16700 (LWP 17049) exited]
[Thread 0x7fffe9a14700 (LWP 17052) exited]
[Thread 0x7fffeb217700 (LWP 17048) exited]

Program terminated with signal SIGKILL, Killed.
The program no longer exists.
(gdb)

Logged

x_x_kamikaze_x_x

  • Jr. Member
  • **
  • Karma: 18
  • Offline Offline
  • Posts: 83
Re: aMule Revision: 10619 Program Killed?
« Reply #5 on: October 02, 2011, 07:15:48 PM »

Finally I have got the full back-trace!  ;D

Right now I am using the correct libs:
  Libraries aMule will use to build:
       wxWidgets             2.8.12 (gtk2,shared)
       crypto++              5.6.0 (installed, in /usr)
       libupnp               1.6.6
       libintl               system
       zlib                  1.2.3.4


I think it's a problem with the friends options (chatting / looking file list)
2011-10-02 18:50:23: ClientList.cpp(828): ED2k Client: No client (GUI_ID 30535 [0.0.0.0:30535]) found in CClientList::SendChatMessage(). Creating


Little Back-track (Oops version)
Code: [Select]
ASSERT INFO:
./include/wx/dynarray.h(832): assert "uiIndex < m_nCount" failed in Item().

BACKTRACE:
[1] wxOnAssert(char const*, int, char const*, char const*, char const*)
[2] wxNotebook::HitTest(wxPoint const&, long*) cons)
[3] CMuleNotebook::OnMouseMotion(wxMouseEvent&) /home/kami/Desktop/amule/src/MuleNotebook.cpp:238
[4] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) cons)
[5] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[6] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[7] wxEvtHandler::ProcessEventLocally(wxEvent&)
[8] wxEvtHandler::ProcessEvent(wxEvent&)
[9] wxEvtHandler::SafelyProcessEvent(wxEvent&)
[10] g_closure_invoke()
[11] g_signal_emit_valist()
[12] g_signal_emit()
[13] gtk_propagate_event()
[14] gtk_main_do_event()
[15] g_main_context_dispatch()
[16] g_main_loop_run()
[17] gtk_main()
Logged

x_x_kamikaze_x_x

  • Jr. Member
  • **
  • Karma: 18
  • Offline Offline
  • Posts: 83
Re: aMule Revision: 10619 Program Killed?
« Reply #6 on: October 02, 2011, 07:16:15 PM »

Full Back-track
Code: [Select]
(gdb) run
Starting program: /home/kami/Desktop/amule/src/amule
[Thread debugging using libthread_db enabled]
 2011-10-02 18:46:54: amuleAppCommon.cpp(333): Initialising aMule SVN compiled with wxGTK2 v2.9.2 (Debugging) (Snapshot: rev. 10619)
 2011-10-02 18:46:54: amuleAppCommon.cpp(379): Checking if there is an instance already running...
 2011-10-02 18:46:54: amuleAppCommon.cpp(410): No other instances are running.
 2011-10-02 18:46:57: ListenSocket.cpp(65): ListenSocket: Ok.
[New Thread 0x7fffed0fa700 (LWP 26885)]
[New Thread 0x7fffe79ce700 (LWP 26888)]
[New Thread 0x7fffe71cd700 (LWP 26889)]
[New Thread 0x7fffe69cc700 (LWP 26890)]
[New Thread 0x7fffe61cb700 (LWP 26891)]
 2011-10-02 18:46:57: DownloadQueue.cpp(113): Loading temp files from /home/kami/.aMule/Temp.
[Thread 0x7fffe61cb700 (LWP 26891) exited]
 2011-10-02 18:46:57: DownloadQueue.cpp(163): All PartFiles Loaded.
[New Thread 0x7fffe61cb700 (LWP 26892)]
[New Thread 0x7fffe5474700 (LWP 26893)]
[Thread 0x7fffed0fa700 (LWP 26885) exited]

** (amule:26864): CRITICAL **: clearlooks_style_draw_box_gap: assertion `height >= -1' failed

** (amule:26864): CRITICAL **: clearlooks_style_draw_box_gap: assertion `height >= -1' failed

** (amule:26864): CRITICAL **: clearlooks_style_draw_box_gap: assertion `height >= -1' failed
[Thread 0x7fffe61cb700 (LWP 26892) exited]
[Thread 0x7fffe79ce700 (LWP 26888) exited]

(amule:26864): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 17

(amule:26864): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 17
 2011-10-02 18:48:46: SearchList.cpp(671): Search parsing result for "sex": 0
 2011-10-02 18:48:46: SearchList.cpp(692): Search expression: sex
 2011-10-02 18:48:46: SearchList.cpp(693): Expression count: 1
 2011-10-02 18:48:46: SearchList.cpp(699): Parameters: 1
[New Thread 0x7fffe79ce700 (LWP 26895)]
 2011-10-02 18:48:51: SearchList.cpp(671): Search parsing result for "sex": 0
 2011-10-02 18:48:51: SearchList.cpp(692): Search expression: sex
 2011-10-02 18:48:51: SearchList.cpp(693): Expression count: 1
 2011-10-02 18:48:51: SearchList.cpp(699): Parameters: 1
[Thread 0x7fffe79ce700 (LWP 26895) exited]
[New Thread 0x7fffe79ce700 (LWP 26896)]
[Thread 0x7fffe79ce700 (LWP 26896) exited]
 2011-10-02 18:49:21: SearchList.cpp(671): Search parsing result for "sex": 0
 2011-10-02 18:49:21: SearchList.cpp(692): Search expression: sex
 2011-10-02 18:49:21: SearchList.cpp(693): Expression count: 1
 2011-10-02 18:49:21: SearchList.cpp(699): Parameters: 1
[New Thread 0x7fffe79ce700 (LWP 26897)]
[Thread 0x7fffe79ce700 (LWP 26897) exited]
 2011-10-02 18:49:31: SearchList.cpp(671): Search parsing result for "peerates.net": 0
 2011-10-02 18:49:31: SearchList.cpp(692): Search expression: peerates.net
 2011-10-02 18:49:31: SearchList.cpp(693): Expression count: 1
 2011-10-02 18:49:31: SearchList.cpp(699): Parameters: 1
[New Thread 0x7fffe79ce700 (LWP 26898)]
[Thread 0x7fffe79ce700 (LWP 26898) exited]
[New Thread 0x7fffe79ce700 (LWP 26899)]
[Thread 0x7fffe79ce700 (LWP 26899) exited]

** (amule:26864): CRITICAL **: clearlooks_style_draw_box_gap: assertion `height >= -1' failed

** (amule:26864): CRITICAL **: clearlooks_style_draw_box_gap: assertion `height >= -1' failed
./include/wx/dynarray.h(832): assert "uiIndex < m_nCount" failed in Item().

Program received signal SIGTRAP, Trace/breakpoint trap.
0x00007ffff7bcdb3b in raise () from /lib/x86_64-linux-gnu/libpthread.so.0
(gdb)
(gdb)
(gdb)
(gdb) bt
#0  0x00007ffff7bcdb3b in raise () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff5ec8765 in wxGUIAppTraits::ShowAssertDialog(wxString const&) () from /usr/local/lib/libwx_gtk2u_core-2.9.so.2
#2  0x00007ffff54ddf9b in ShowAssertDialog(wxString const&, int, wxString const&, wxString const&, wxString const&, wxAppTraits*) ()
   from /usr/local/lib/libwx_baseu-2.9.so.2
#3  0x00007ffff54dfdbf in wxAppConsoleBase::OnAssertFailure(wchar_t const*, int, wchar_t const*, wchar_t const*, wchar_t const*) ()
   from /usr/local/lib/libwx_baseu-2.9.so.2
#4  0x00007ffff5e78930 in wxApp::OnAssertFailure(wchar_t const*, int, wchar_t const*, wchar_t const*, wchar_t const*) ()
   from /usr/local/lib/libwx_gtk2u_core-2.9.so.2
#5  0x000000000045c813 in CamuleApp::OnAssertFailure (this=0xbd1be0, file=0x45f40a0 L"./include/wx/dynarray.h", line=832, func=0x4270730 L"Item",
    cond=0x45c97d0 L"uiIndex < m_nCount", msg=0x46263b0 L"") at amule.cpp:1096
#6  0x00007ffff54df588 in wxDefaultAssertHandler(wxString const&, int, wxString const&, wxString const&, wxString const&) ()
   from /usr/local/lib/libwx_baseu-2.9.so.2
#7  0x00007ffff54d96af in wxOnAssert(char const*, int, char const*, char const*, char const*) () from /usr/local/lib/libwx_baseu-2.9.so.2
#8  0x00007ffff5f487bb in wxNotebook::HitTest(wxPoint const&, long*) const () from /usr/local/lib/libwx_gtk2u_core-2.9.so.2
#9  0x000000000072f453 in CMuleNotebook::OnMouseMotion (this=0x38c0e70, event=...) at MuleNotebook.cpp:235
#10 0x00007ffff54d62de in wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const ()
   from /usr/local/lib/libwx_baseu-2.9.so.2
#11 0x00007ffff570ed51 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ()
   from /usr/local/lib/libwx_baseu-2.9.so.2
#12 0x00007ffff570eeb3 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/local/lib/libwx_baseu-2.9.so.2
#13 0x00007ffff570f243 in wxEvtHandler::ProcessEventLocally(wxEvent&) () from /usr/local/lib/libwx_baseu-2.9.so.2
#14 0x00007ffff570f2bd in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/local/lib/libwx_baseu-2.9.so.2
#15 0x00007ffff570f007 in wxEvtHandler::SafelyProcessEvent(wxEvent&) () from /usr/local/lib/libwx_baseu-2.9.so.2
#16 0x00007ffff5ed3673 in gtk_window_motion_notify_callback () from /usr/local/lib/libwx_gtk2u_core-2.9.so.2
#17 0x00007ffff4224578 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#18 0x00007ffff267781c in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#19 0x00007ffff2689019 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#20 0x00007ffff2691fa9 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#21 0x00007ffff269241f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#22 0x00007ffff43404d1 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#23 0x00007ffff4222763 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#24 0x00007ffff4222a5b in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#25 0x00007ffff3e955cc in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#26 0x00007ffff1dabbcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007ffff1dac3a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007ffff1dac9f2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007ffff4221af7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#30 0x00007ffff5eb1c2a in wxGUIEventLoop::Run() () from /usr/local/lib/libwx_gtk2u_core-2.9.so.2
#31 0x00007ffff54d901f in wxAppConsoleBase::MainLoop() () from /usr/local/lib/libwx_baseu-2.9.so.2
#32 0x00007ffff55adfaa in wxEntry(int&, wchar_t**) () from /usr/local/lib/libwx_baseu-2.9.so.2
---Type <return> to continue, or q <return> to quit---
#33 0x00000000005b1b69 in main (argc=1, argv=0x7fffffffe438) at amule-gui.cpp:93
(gdb)
(gdb)
(gdb)
(gdb) bt full
#0  0x00007ffff7bcdb3b in raise () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#1  0x00007ffff5ec8765 in wxGUIAppTraits::ShowAssertDialog(wxString const&) () from /usr/local/lib/libwx_gtk2u_core-2.9.so.2
No symbol table info available.
#2  0x00007ffff54ddf9b in ShowAssertDialog(wxString const&, int, wxString const&, wxString const&, wxString const&, wxAppTraits*) ()
   from /usr/local/lib/libwx_baseu-2.9.so.2
No symbol table info available.
#3  0x00007ffff54dfdbf in wxAppConsoleBase::OnAssertFailure(wchar_t const*, int, wchar_t const*, wchar_t const*, wchar_t const*) ()
   from /usr/local/lib/libwx_baseu-2.9.so.2
No symbol table info available.
#4  0x00007ffff5e78930 in wxApp::OnAssertFailure(wchar_t const*, int, wchar_t const*, wchar_t const*, wchar_t const*) ()
   from /usr/local/lib/libwx_gtk2u_core-2.9.so.2
No symbol table info available.
#5  0x000000000045c813 in CamuleApp::OnAssertFailure (this=0xbd1be0, file=0x45f40a0 L"./include/wx/dynarray.h", line=832, func=0x4270730 L"Item",
    cond=0x45c97d0 L"uiIndex < m_nCount", msg=0x46263b0 L"") at amule.cpp:1096
No locals.
#6  0x00007ffff54df588 in wxDefaultAssertHandler(wxString const&, int, wxString const&, wxString const&, wxString const&) ()
   from /usr/local/lib/libwx_baseu-2.9.so.2
No symbol table info available.
#7  0x00007ffff54d96af in wxOnAssert(char const*, int, char const*, char const*, char const*) () from /usr/local/lib/libwx_baseu-2.9.so.2
No symbol table info available.
#8  0x00007ffff5f487bb in wxNotebook::HitTest(wxPoint const&, long*) const () from /usr/local/lib/libwx_gtk2u_core-2.9.so.2
No symbol table info available.
#9  0x000000000072f453 in CMuleNotebook::OnMouseMotion (this=0x38c0e70, event=...) at MuleNotebook.cpp:235
        flags = 1
        tab = <value optimized out>
#10 0x00007ffff54d62de in wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const ()
   from /usr/local/lib/libwx_baseu-2.9.so.2
No symbol table info available.
#11 0x00007ffff570ed51 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ()
   from /usr/local/lib/libwx_baseu-2.9.so.2
No symbol table info available.
#12 0x00007ffff570eeb3 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/local/lib/libwx_baseu-2.9.so.2
No symbol table info available.
#13 0x00007ffff570f243 in wxEvtHandler::ProcessEventLocally(wxEvent&) () from /usr/local/lib/libwx_baseu-2.9.so.2
No symbol table info available.
#14 0x00007ffff570f2bd in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/local/lib/libwx_baseu-2.9.so.2
No symbol table info available.
#15 0x00007ffff570f007 in wxEvtHandler::SafelyProcessEvent(wxEvent&) () from /usr/local/lib/libwx_baseu-2.9.so.2
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#16 0x00007ffff5ed3673 in gtk_window_motion_notify_callback () from /usr/local/lib/libwx_gtk2u_core-2.9.so.2
No symbol table info available.
#17 0x00007ffff4224578 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#18 0x00007ffff267781c in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#19 0x00007ffff2689019 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#20 0x00007ffff2691fa9 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#21 0x00007ffff269241f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#22 0x00007ffff43404d1 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#23 0x00007ffff4222763 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#24 0x00007ffff4222a5b in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#25 0x00007ffff3e955cc in ?? () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#26 0x00007ffff1dabbcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#27 0x00007ffff1dac3a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#28 0x00007ffff1dac9f2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#29 0x00007ffff4221af7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#30 0x00007ffff5eb1c2a in wxGUIEventLoop::Run() () from /usr/local/lib/libwx_gtk2u_core-2.9.so.2
No symbol table info available.
#31 0x00007ffff54d901f in wxAppConsoleBase::MainLoop() () from /usr/local/lib/libwx_baseu-2.9.so.2
No symbol table info available.
#32 0x00007ffff55adfaa in wxEntry(int&, wchar_t**) () from /usr/local/lib/libwx_baseu-2.9.so.2
No symbol table info available.
#33 0x00000000005b1b69 in main (argc=1, argv=0x7fffffffe438) at amule-gui.cpp:93
No locals.
(gdb)
(gdb)
(gdb)
(gdb)
(gdb) thread apply all bt

Thread 8 (Thread 0x7fffe5474700 (LWP 26893)):
#0  0x00007ffff7bc9f2b in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff56d7117 in wxConditionInternal::WaitTimeout(unsigned long) () from /usr/local/lib/libwx_baseu-2.9.so.2
#2  0x00007ffff56dad52 in wxSemaphoreInternal::WaitTimeout(unsigned long) () from /usr/local/lib/libwx_baseu-2.9.so.2
#3  0x00000000006b9344 in CTimerThread::Entry (this=0x7fffe800af60) at Timer.cpp:66
#4  0x00007ffff56deffa in wxThreadInternal::PthreadStart(wxThread*) () from /usr/local/lib/libwx_baseu-2.9.so.2
#5  0x00007ffff7bc4d8c in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007ffff4a1904d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fffe69cc700 (LWP 26890)):
#0  0x00007ffff7bcd4bd in nanosleep () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff56e455c in wxMicroSleep(unsigned long) () from /usr/local/lib/libwx_baseu-2.9.so.2
#2  0x0000000000564500 in UploadBandwidthThrottler::Entry (this=0x3916780) at UploadBandwidthThrottler.cpp:323
#3  0x00007ffff56deffa in wxThreadInternal::PthreadStart(wxThread*) () from /usr/local/lib/libwx_baseu-2.9.so.2
#4  0x00007ffff7bc4d8c in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007ffff4a1904d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fffe71cd700 (LWP 26889)):
#0  0x00007ffff4a0bf03 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffff1dac104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff1dac9f2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff39a1c44 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007ffff1dd33e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff7bc4d8c in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007ffff4a1904d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffff7fb9a80 (LWP 26864)):
#0  0x00007ffff7bcdb3b in raise () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff5ec8765 in wxGUIAppTraits::ShowAssertDialog(wxString const&) () from /usr/local/lib/libwx_gtk2u_core-2.9.so.2
#2  0x00007ffff54ddf9b in ShowAssertDialog(wxString const&, int, wxString const&, wxString const&, wxString const&, wxAppTraits*) ()
   from /usr/local/lib/libwx_baseu-2.9.so.2
#3  0x00007ffff54dfdbf in wxAppConsoleBase::OnAssertFailure(wchar_t const*, int, wchar_t const*, wchar_t const*, wchar_t const*) ()
   from /usr/local/lib/libwx_baseu-2.9.so.2
#4  0x00007ffff5e78930 in wxApp::OnAssertFailure(wchar_t const*, int, wchar_t const*, wchar_t const*, wchar_t const*) ()
   from /usr/local/lib/libwx_gtk2u_core-2.9.so.2
#5  0x000000000045c813 in CamuleApp::OnAssertFailure (this=0xbd1be0, file=0x45f40a0 L"./include/wx/dynarray.h", line=832, func=0x4270730 L"Item",
---Type <return> to continue, or q <return> to quit---
    cond=0x45c97d0 L"uiIndex < m_nCount", msg=0x46263b0 L"") at amule.cpp:1096
#6  0x00007ffff54df588 in wxDefaultAssertHandler(wxString const&, int, wxString const&, wxString const&, wxString const&) ()
   from /usr/local/lib/libwx_baseu-2.9.so.2
#7  0x00007ffff54d96af in wxOnAssert(char const*, int, char const*, char const*, char const*) () from /usr/local/lib/libwx_baseu-2.9.so.2
#8  0x00007ffff5f487bb in wxNotebook::HitTest(wxPoint const&, long*) const () from /usr/local/lib/libwx_gtk2u_core-2.9.so.2
#9  0x000000000072f453 in CMuleNotebook::OnMouseMotion (this=0x38c0e70, event=...) at MuleNotebook.cpp:235
#10 0x00007ffff54d62de in wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const ()
   from /usr/local/lib/libwx_baseu-2.9.so.2
#11 0x00007ffff570ed51 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ()
   from /usr/local/lib/libwx_baseu-2.9.so.2
#12 0x00007ffff570eeb3 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/local/lib/libwx_baseu-2.9.so.2
#13 0x00007ffff570f243 in wxEvtHandler::ProcessEventLocally(wxEvent&) () from /usr/local/lib/libwx_baseu-2.9.so.2
#14 0x00007ffff570f2bd in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/local/lib/libwx_baseu-2.9.so.2
#15 0x00007ffff570f007 in wxEvtHandler::SafelyProcessEvent(wxEvent&) () from /usr/local/lib/libwx_baseu-2.9.so.2
#16 0x00007ffff5ed3673 in gtk_window_motion_notify_callback () from /usr/local/lib/libwx_gtk2u_core-2.9.so.2
#17 0x00007ffff4224578 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#18 0x00007ffff267781c in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#19 0x00007ffff2689019 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#20 0x00007ffff2691fa9 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#21 0x00007ffff269241f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#22 0x00007ffff43404d1 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#23 0x00007ffff4222763 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#24 0x00007ffff4222a5b in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#25 0x00007ffff3e955cc in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#26 0x00007ffff1dabbcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007ffff1dac3a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007ffff1dac9f2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007ffff4221af7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#30 0x00007ffff5eb1c2a in wxGUIEventLoop::Run() () from /usr/local/lib/libwx_gtk2u_core-2.9.so.2
#31 0x00007ffff54d901f in wxAppConsoleBase::MainLoop() () from /usr/local/lib/libwx_baseu-2.9.so.2
#32 0x00007ffff55adfaa in wxEntry(int&, wchar_t**) () from /usr/local/lib/libwx_baseu-2.9.so.2
#33 0x00000000005b1b69 in main (argc=1, argv=0x7fffffffe438) at amule-gui.cpp:93
(gdb)
(gdb)
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: aMule Revision: 10619 Program Killed?
« Reply #7 on: October 03, 2011, 07:52:41 PM »

That's still wx 2.9.2.
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

x_x_kamikaze_x_x

  • Jr. Member
  • **
  • Karma: 18
  • Offline Offline
  • Posts: 83
Re: aMule Revision: 10619 Program Killed?
« Reply #8 on: October 04, 2011, 08:33:15 PM »

That's still wx 2.9.2.

Sorry for that, I checked and it was wx 2.9.2, I was to put make clean in order
to recompile correctly, but the strange is that when I put ./configure it showed me
he will use wxGTK2 v2.8.12!  >:(
I had to put make clean in order to fix the problem.

But the bug on the friend list it's still there, when you try to view the files of
a friend that you didn't know if it's connected and after that you try to
send a message, the friend name it's renamed to "?" and on the amule console
show the error:

"2011-10-04 20:22:21: ClientList.cpp(828): ED2k Client:
No client (GUI_ID 30535 [0.0.0.0:30535]) found in CClientList::SendChatMessage(). Creating"

(Testing aMule-SVN-r10620)
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: aMule Revision: 10619 Program Killed?
« Reply #9 on: October 04, 2011, 10:34:28 PM »

Do you also get a crash, or is the renaming of the friend to "?" the only problem ?

I'm getting slightly confused here. We are having
- friend renamed to "?"
- crash in CMuleNotebook::OnMouseMotion() (probably wx 2.9 only)
- out of memory crash
all in one thread.
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

x_x_kamikaze_x_x

  • Jr. Member
  • **
  • Karma: 18
  • Offline Offline
  • Posts: 83
Re: aMule Revision: 10619 Program Killed?
« Reply #10 on: October 05, 2011, 08:13:24 PM »

Do you also get a crash, or is the renaming of the friend to "?" the only problem ?

I'm getting slightly confused here. We are having
- friend renamed to "?"
- crash in CMuleNotebook::OnMouseMotion() (probably wx 2.9 only)
- out of memory crash
all in one thread.

Yes, all on the same trace using wx 2.9.

And just "friend renamed to "?" " using wxGTK2 v2.8.12
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: aMule Revision: 10619 Program Killed?
« Reply #11 on: October 05, 2011, 08:36:39 PM »

And just "friend renamed to "?" " using wxGTK2 v2.8.12
Fixed in 10622.  :)
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

x_x_kamikaze_x_x

  • Jr. Member
  • **
  • Karma: 18
  • Offline Offline
  • Posts: 83
Re: aMule Revision: 10619 Program Killed?
« Reply #12 on: October 05, 2011, 08:52:43 PM »

And just "friend renamed to "?" " using wxGTK2 v2.8.12
Fixed in 10622.  :)

Thank you very much!!!   ;D
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: aMule Revision: 10619 Program Killed?
« Reply #13 on: October 05, 2011, 10:10:43 PM »

Thank you for reporting the problem. Corner cases like this are hard to catch in testing.
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

x_x_kamikaze_x_x

  • Jr. Member
  • **
  • Karma: 18
  • Offline Offline
  • Posts: 83
Re: aMule Revision: 10619 Program Killed?
« Reply #14 on: October 05, 2011, 11:47:23 PM »

Thank you for reporting the problem. Corner cases like this are hard to catch in testing.

My goal it's find all kind of error on the aMule. (because I am a beta tester   ;D)
Your goal it's to difficult me my work and correct the bugs I found.   ;)

Our goal it's shared at the end, do the best Ed2k + Kad program.  :)
Logged