aMule Forum
English => en_Bugs => Topic started by: morph on August 27, 2005, 02:09:30 PM
-
Hi,
I use amuled+amulegui. I started amuled and then try to start amulegui: it connects to amuled but then I get this error on video "connect to remot aMule lost. Now exiting.", in the shell where i've launched the gui i got
ECSocket::ReadBufferFromSocket error Input/Output error
ECSocket::ReadBufferFromSocket error Input/Output error
ECSocket::ReadBufferFromSocket error Input/Output error
and in the one holding the logs of amuled i got
2005-08-27 14:23:10: New external connection accepted
2005-08-27 14:23:11: Connecting client: amule-remote 0x0001
2005-08-27 14:23:11: Access granted.
ECSocket::WriteBufferToSocket error Input/Output error
ZLib operation returned Z_DATA_ERROR
ZLib error message: (null)
zstream state:
next_in=0x89ee328
avail_in=32768
total_in=491520
next_out=0xb7238008
avail_out=0
total_out=131072
ECSocket::ReadBufferFromSocket error Input/Output error
2005-08-27 14:24:55: Invalid EC packet received
Bye
-
Here I'm bakc again.
I tried to generate a backtrace for the problem. I've entered Ctrl+C when the popup window with written "connect to remot aMule lost. Now exiting." comes up.
>>
$ gdb amulegui
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-linux"...(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) run
Starting program: /usr/bin/amulegui
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1224599872 (LWP 27349)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type to continue, or q to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
Going for main loop while we wait for events
EC: OnConnect
LOG: Succeeded! Connection established to aMule CVS
(no debugging symbols found)
LOG:
LOG: - This is aMule CVS using wxGTK2 v2.6.1 (Unicoded) (Snapshot: Sun Sep 4 07:02:06 CEST 2005) based on eMule.
LOG: Running on Linux 2.6.12-1-686-smp i686
LOG: - Visit http://www.amule.org to check if a new version is available.
LOG:
ECSocket::ReadBufferFromSocket error Input/Output error
ECSocket::ReadBufferFromSocket error Input/Output error
ECSocket::ReadBufferFromSocket error Input/Output error
Program received signal SIGINT, Interrupt.
[Switching to Thread -1224599872 (LWP 27349)]
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7806f7b in poll () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7bdd8aa in wxPaletteBase::~wxPaletteBase ()
from /usr/lib/libwx_gtk2u_core-2.6.so.0
#3 0xb71da2b6 in g_main_loop_get_context () from /usr/lib/libglib-2.0.so.0
#4 0xb71d98b0 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#5 0xb71d9ed3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#6 0xb743cf46 in gtk_dialog_run () from /usr/lib/libgtk-x11-2.0.so.0
#7 0xb7c704bc in wxMessageDialog::ShowModal ()
from /usr/lib/libwx_gtk2u_core-2.6.so.0
#8 0xb7bd575e in wxMessageBox () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#9 0x0806f1f0 in wxThreadHelperThread::~wxThreadHelperThread ()
#10 0xb79dc38d in wxAppConsole::HandleEvent () from /usr/lib/libwx_baseu-2.6.so.0
#11 0xb7a6ada4 in wxEvtHandler::ProcessEventIfMatches ()
from /usr/lib/libwx_baseu-2.6.so.0
#12 0xb7a6afb8 in wxEventHashTable::HandleEvent ()
from /usr/lib/libwx_baseu-2.6.so.0
#13 0xb7a6b18d in wxEvtHandler::ProcessEvent ()
from /usr/lib/libwx_baseu-2.6.so.0
#14 0xb7cf5d88 in wxTimerBase::Notify () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#15 0xb7c00494 in wxTimer::Start () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#16 0xb71dac9c in g_main_context_wakeup () from /usr/lib/libglib-2.0.so.0
#17 0xb71d8582 in g_main_depth () from /usr/lib/libglib-2.0.so.0
#18 0xb71d95f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#19 0xb71d9930 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#20 0xb71d9ed3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#21 0xb74b4243 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#22 0xb7bf754e in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#23 0xb7c894e8 in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#24 0xb7c89602 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#25 0xb7a1250b in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#26 0xb7a125de in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#27 0x0806786d in wxThreadHelperThread::~wxThreadHelperThread ()
#28 0xb7754eb0 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#29 0x08065ac1 in ?? ()
(gdb) bt full
#0 0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb7806f7b in poll () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2 0xb7bdd8aa in wxPaletteBase::~wxPaletteBase ()
from /usr/lib/libwx_gtk2u_core-2.6.so.0
No symbol table info available.
#3 0xb71da2b6 in g_main_loop_get_context () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#4 0xb71d98b0 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#5 0xb71d9ed3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#6 0xb743cf46 in gtk_dialog_run () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#7 0xb7c704bc in wxMessageDialog::ShowModal ()
from /usr/lib/libwx_gtk2u_core-2.6.so.0
No symbol table info available.
#8 0xb7bd575e in wxMessageBox () from /usr/lib/libwx_gtk2u_core-2.6.so.0
No symbol table info available.
#9 0x0806f1f0 in wxThreadHelperThread::~wxThreadHelperThread ()
No symbol table info available.
#10 0xb79dc38d in wxAppConsole::HandleEvent () from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#11 0xb7a6ada4 in wxEvtHandler::ProcessEventIfMatches ()
from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#12 0xb7a6afb8 in wxEventHashTable::HandleEvent ()
from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#13 0xb7a6b18d in wxEvtHandler::ProcessEvent ()
from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#14 0xb7cf5d88 in wxTimerBase::Notify () from /usr/lib/libwx_gtk2u_core-2.6.so.0
No symbol table info available.
---Type to continue, or q to quit---
#15 0xb7c00494 in wxTimer::Start () from /usr/lib/libwx_gtk2u_core-2.6.so.0
No symbol table info available.
#16 0xb71dac9c in g_main_context_wakeup () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#17 0xb71d8582 in g_main_depth () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#18 0xb71d95f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#19 0xb71d9930 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#20 0xb71d9ed3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#21 0xb74b4243 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#22 0xb7bf754e in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.6.so.0
No symbol table info available.
#23 0xb7c894e8 in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2u_core-2.6.so.0
No symbol table info available.
#24 0xb7c89602 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.6.so.0
No symbol table info available.
#25 0xb7a1250b in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#26 0xb7a125de in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#27 0x0806786d in wxThreadHelperThread::~wxThreadHelperThread ()
No symbol table info available.
#28 0xb7754eb0 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#29 0x08065ac1 in ?? ()
No symbol table info available.
(gdb) thread apply all bt
Thread 1 (Thread -1224599872 (LWP 27349)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7806f7b in poll () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7bdd8aa in wxPaletteBase::~wxPaletteBase ()
from /usr/lib/libwx_gtk2u_core-2.6.so.0
#3 0xb71da2b6 in g_main_loop_get_context () from /usr/lib/libglib-2.0.so.0
#4 0xb71d98b0 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#5 0xb71d9ed3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#6 0xb743cf46 in gtk_dialog_run () from /usr/lib/libgtk-x11-2.0.so.0
#7 0xb7c704bc in wxMessageDialog::ShowModal ()
from /usr/lib/libwx_gtk2u_core-2.6.so.0
#8 0xb7bd575e in wxMessageBox () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#9 0x0806f1f0 in wxThreadHelperThread::~wxThreadHelperThread ()
#10 0xb79dc38d in wxAppConsole::HandleEvent () from /usr/lib/libwx_baseu-2.6.so.0
#11 0xb7a6ada4 in wxEvtHandler::ProcessEventIfMatches ()
from /usr/lib/libwx_baseu-2.6.so.0
#12 0xb7a6afb8 in wxEventHashTable::HandleEvent ()
from /usr/lib/libwx_baseu-2.6.so.0
#13 0xb7a6b18d in wxEvtHandler::ProcessEvent ()
from /usr/lib/libwx_baseu-2.6.so.0
#14 0xb7cf5d88 in wxTimerBase::Notify () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#15 0xb7c00494 in wxTimer::Start () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#16 0xb71dac9c in g_main_context_wakeup () from /usr/lib/libglib-2.0.so.0
#17 0xb71d8582 in g_main_depth () from /usr/lib/libglib-2.0.so.0
#18 0xb71d95f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#19 0xb71d9930 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#20 0xb71d9ed3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#21 0xb74b4243 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#22 0xb7bf754e in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#23 0xb7c894e8 in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#24 0xb7c89602 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#25 0xb7a1250b in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#26 0xb7a125de in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#27 0x0806786d in wxThreadHelperThread::~wxThreadHelperThread ()
---Type to continue, or q to quit---
#28 0xb7754eb0 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#29 0x08065ac1 in ?? ()
(gdb)
<<
Hope this will help to fix the problem.
-
did you compile both yourself? or use some debs from somewhere?
-
did you compile both yourself? or use some debs from somewhere?
deb http://www.vollstreckernet.de/debian/ testing amule wx
-
well as you probably already know from the other thread, you dont have no debug symbols in your pkg, so its hard to tell whats wrong,
when you have the time compile it both yourself and post a nice backtrace :)
stefanero
-
There is a package with the debug-symbols for wx. Install that, and it should work. Amuled has the symbols.
-
I've installed libwxgtk2.6-dbg that seems to have debug simbols, but launching amulegui i see "This is aMule CVS using wxGTK2 v2.6.1 (Unicoded) (Snapshot: Sun Sep 4 07:02:06 CEST 2005) based on eMule." so i suppose that the new libs are not used.
and using gdb, i still got "(no debugging symbols found)". What should i do? shouldn't amuleugui be compiled with debug sybols insteald of wx (just guessing)?
Thanks for the interest
-
welll I dont know if the debs from vollstrecker have debug enabled or not...
he said they have so....
maybe realy try to compile this stuff yourself ;) so you know what you have
-
Here I am!
after been able to compile amule-gui with debug symbols, I'm able to provide backtrace too. As mentioned in the second post, when the pop up window comes up, i'v Ctrl+C the app in gdb run.
I've compiled the 20050913 version and the amuled is 20050914, but than should not be the problem.
Hope that this may solve the issue
ps: I've attacched the log since with them, the post would be too large to be posted
-
Strange, I just looked, and guess what I see:
werner@Werner1:/usr/src/disk$ readelf -s /usr/bin/amulegui | wc -l
1647
werner@Werner1:/usr/src/disk$
The last 4 lines are:
1640: 00000000 148 FUNC GLOBAL DEFAULT UND _ZN10wxNodeBaseC2EP10wxLi@WXU_2.6 (5)
1641: 00000000 348 FUNC GLOBAL DEFAULT UND _ZN12wxWindowBase25GetCla@WXU_2.6 (2)
1642: 00000000 533 FUNC GLOBAL DEFAULT UND _ZN14wxBitmapButton6Creat@WXU_2.6 (2)
1643: 082ed7b8 4 OBJECT GLOBAL DEFAULT 25 wxEVT_COMMAND_LIST_COL_EN@WXU_2.6 (2)
Looks for me like debug symbols.