Yaay! i can make backtraces again!
This happens on an amd64 machine with amuleweb. Whenever i start amuled which also starts amuleweb, i go to localhost:4711, and enter the password. It takes me into the account, and displays everything.
The problem starts when i move the mouse there.. if i move the mouse on top of anything, say the buttons, etc... It crashes, gives me an error (in the web)
An error occurred while loading [URL]http://192.168.0.2:4711/amuleweb-main-prefs.php:[/URL]
Could not connect to host 192.168.0.2 (port 4711).
and a segfault
amuleweb[28068]: segfault at 0000000000000000 rip 0000000000410d33 rsp 0000000041000cf0 error 4
.
The machine is as follows,
# uname -a
Linux sempron 2.6.17-gentoo-r8 #4 Wed Sep 20 17:35:52 BST 2006 x86_64 AMD Sempron(tm) Processor 2800+ GNU/Linux
The CFLAGS i used for amule,
CFLAGS="-O2 -pipe -march=k8 -ftracer -msse3 -falign-functions=64"
GCC
# gcc -v
Using built-in specs.
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.1 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --enable-multilib --disable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++ --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.1.1 (Gentoo 4.1.1)
wxGTK - 2.6.2-r1
The backtrace
[New Thread 1090525520 (LWP 28013)]
[Thread 1090525520 (zombie) exited]
[New Thread 1090525520 (LWP 28016)]
01:11:37 PM: Error: can't open file '/usr/share/amule/webserver/php-default/red.gif' (error 2: No such file or directory)
amuled.cpp(175): assert "(fd > 2) && (fd < FD_SETSIZE)" failed.
Call stack:
[05] wxStackWalker::Walk(unsigned long)
[06] 0x2adf4c250815
[07] wxStringBase::~wxStringBase()
[08] wxOnAssert(wchar_t const*, int, wchar_t const*, wchar_t const*)
[09] 0x00413968
[10] 0x0041436c
[11] 0x00412e1c
[12] GSocket::Connect(GSocketStream)
[13] wxSocketClient::Connect(wxSockAddress&, bool)
[14] wxOutputStream::LastWrite() const
[15] wxTextFile::~wxTextFile()
[16] std::basic_string, std::allocator > std::operator+, std::allocator >(char const*, std::basic_string, std::allocator > const&)
[17] wxOutputStream::LastWrite() const
[18] std::basic_string, std::allocator > std::operator+, std::allocator >(char const*, std::basic_string, std::allocator > const&)
[19] wxStringBase::~wxStringBase()
[20] wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[21] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[22] wxEvtHandler::ProcessEvent(wxEvent&)
[23] wxEvtHandler::ProcessPendingEvents()
[24] wxAppConsole::ProcessPendingEvents()
Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 47138553830816 (LWP 28006)]
0x00002adf4bd02bd9 in raise () from /lib/libpthread.so.0
(gdb) bt
#0 0x00002adf4bd02bd9 in raise () from /lib/libpthread.so.0
#1 0x00002adf4c2500e9 in wxTrap () from /usr/lib/libwx_baseud-2.6.so.0
#2 0x00002adf4c25010c in wxAppTraitsBase::ShowAssertDialog () from /usr/lib/libwx_baseud-2.6.so.0
#3 0x00002adf4c250149 in wxConsoleAppTraitsBase::ShowAssertDialog () from /usr/lib/libwx_baseud-2.6.so.0
#4 0x00002adf4c2509bf in wxAppConsole::ProcessPendingEvents () from /usr/lib/libwx_baseud-2.6.so.0
#5 0x0000000000423377 in wxStringBase::~wxStringBase ()
#6 0x00002adf4c250bba in wxOnAssert () from /usr/lib/libwx_baseud-2.6.so.0
#7 0x0000000000413968 in ?? ()
#8 0x000000000041436c in ?? ()
#9 0x0000000000412e1c in ?? ()
#10 0x00002adf4c0e95c9 in GSocket::Connect () from /usr/lib/libwx_baseud_net-2.6.so.0
#11 0x00002adf4c0e38ce in wxSocketClient::Connect () from /usr/lib/libwx_baseud_net-2.6.so.0
#12 0x00000000005b6ed9 in wxOutputStream::LastWrite ()
#13 0x0000000000433011 in wxTextFile::~wxTextFile ()
#14 0x0000000000476559 in std::operator+, std::allocator > ()
#15 0x000000000059698d in wxOutputStream::LastWrite ()
#16 0x000000000047fc32 in std::operator+, std::allocator > ()
#17 0x0000000000424650 in wxStringBase::~wxStringBase ()
#18 0x00002adf4c2fc6bf in wxEvtHandler::ProcessEventIfMatches () from /usr/lib/libwx_baseud-2.6.so.0
#19 0x00002adf4c2fc8a1 in wxEventHashTable::HandleEvent () from /usr/lib/libwx_baseud-2.6.so.0
#20 0x00002adf4c2fcab7 in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseud-2.6.so.0
#21 0x00002adf4c2fcf36 in wxEvtHandler::ProcessPendingEvents () from /usr/lib/libwx_baseud-2.6.so.0
#22 0x00002adf4c25068e in wxAppConsole::ProcessPendingEvents () from /usr/lib/libwx_baseud-2.6.so.0
#23 0x00000000004147d8 in ?? ()
#24 0x00002adf4c291dcc in wxEntry () from /usr/lib/libwx_baseud-2.6.so.0
#25 0x0000000000414912 in ?? ()
#26 0x00002adf4c906134 in __libc_start_main () from /lib/libc.so.6
#27 0x0000000000412969 in ?? ()
#28 0x00007fff5eecd1e8 in ?? ()
#29 0x0000000000000000 in ?? ()
(gdb) bt full
#0 0x00002adf4bd02bd9 in raise () from /lib/libpthread.so.0
No symbol table info available.
#1 0x00002adf4c2500e9 in wxTrap () from /usr/lib/libwx_baseud-2.6.so.0
No symbol table info available.
#2 0x00002adf4c25010c in wxAppTraitsBase::ShowAssertDialog () from /usr/lib/libwx_baseud-2.6.so.0
No symbol table info available.
#3 0x00002adf4c250149 in wxConsoleAppTraitsBase::ShowAssertDialog () from /usr/lib/libwx_baseud-2.6.so.0
No symbol table info available.
#4 0x00002adf4c2509bf in wxAppConsole::ProcessPendingEvents () from /usr/lib/libwx_baseud-2.6.so.0
No symbol table info available.
#5 0x0000000000423377 in wxStringBase::~wxStringBase ()
No symbol table info available.
#6 0x00002adf4c250bba in wxOnAssert () from /usr/lib/libwx_baseud-2.6.so.0
No symbol table info available.
#7 0x0000000000413968 in ?? ()
No symbol table info available.
#8 0x000000000041436c in ?? ()
No symbol table info available.
#9 0x0000000000412e1c in ?? ()
No symbol table info available.
#10 0x00002adf4c0e95c9 in GSocket::Connect () from /usr/lib/libwx_baseud_net-2.6.so.0
No symbol table info available.
#11 0x00002adf4c0e38ce in wxSocketClient::Connect () from /usr/lib/libwx_baseud_net-2.6.so.0
No symbol table info available.
#12 0x00000000005b6ed9 in wxOutputStream::LastWrite ()
No symbol table info available.
#13 0x0000000000433011 in wxTextFile::~wxTextFile ()
No symbol table info available.
#14 0x0000000000476559 in std::operator+, std::allocator > ()
No symbol table info available.
#15 0x000000000059698d in wxOutputStream::LastWrite ()
No symbol table info available.
---Type to continue, or q to quit---
#16 0x000000000047fc32 in std::operator+, std::allocator > ()
No symbol table info available.
#17 0x0000000000424650 in wxStringBase::~wxStringBase ()
No symbol table info available.
#18 0x00002adf4c2fc6bf in wxEvtHandler::ProcessEventIfMatches () from /usr/lib/libwx_baseud-2.6.so.0
No symbol table info available.
#19 0x00002adf4c2fc8a1 in wxEventHashTable::HandleEvent () from /usr/lib/libwx_baseud-2.6.so.0
No symbol table info available.
#20 0x00002adf4c2fcab7 in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseud-2.6.so.0
No symbol table info available.
#21 0x00002adf4c2fcf36 in wxEvtHandler::ProcessPendingEvents () from /usr/lib/libwx_baseud-2.6.so.0
No symbol table info available.
#22 0x00002adf4c25068e in wxAppConsole::ProcessPendingEvents () from /usr/lib/libwx_baseud-2.6.so.0
No symbol table info available.
#23 0x00000000004147d8 in ?? ()
No symbol table info available.
#24 0x00002adf4c291dcc in wxEntry () from /usr/lib/libwx_baseud-2.6.so.0
No symbol table info available.
#25 0x0000000000414912 in ?? ()
No symbol table info available.
#26 0x00002adf4c906134 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
#27 0x0000000000412969 in ?? ()
No symbol table info available.
#28 0x00007fff5eecd1e8 in ?? ()
No symbol table info available.
#29 0x0000000000000000 in ?? ()
No symbol table info available.
(gdb) thread apply all bt
Thread 4 (Thread 1090525520 (LWP 28016)):
#0 0x00002adf4bcff727 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1 0x00002adf4c2f8aa9 in wxConditionInternal::WaitTimeout () from /usr/lib/libwx_baseud-2.6.so.0
#2 0x00002adf4c2f9c1e in wxSemaphoreInternal::WaitTimeout () from /usr/lib/libwx_baseud-2.6.so.0
#3 0x0000000000418272 in wxStringBase::~wxStringBase ()
#4 0x00002adf4c2fa61c in wxThreadInternal::PthreadStart () from /usr/lib/libwx_baseud-2.6.so.0
#5 0x00002adf4bcfc0fa in start_thread () from /lib/libpthread.so.0
#6 0x00002adf4c9a46ee in clone () from /lib/libc.so.6
#7 0x0000000000000000 in ?? ()
Thread 3 (Thread 1090525520 (LWP 28016)):
#0 0x00002adf4bcff727 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1 0x00002adf4c2f8aa9 in wxConditionInternal::WaitTimeout () from /usr/lib/libwx_baseud-2.6.so.0
#2 0x00002adf4c2f9c1e in wxSemaphoreInternal::WaitTimeout () from /usr/lib/libwx_baseud-2.6.so.0
#3 0x0000000000418272 in wxStringBase::~wxStringBase ()
#4 0x00002adf4c2fa61c in wxThreadInternal::PthreadStart () from /usr/lib/libwx_baseud-2.6.so.0
#5 0x00002adf4bcfc0fa in start_thread () from /lib/libpthread.so.0
#6 0x00002adf4c9a46ee in clone () from /lib/libc.so.6
#7 0x0000000000000000 in ?? ()
Thread 2 (Thread 1082132816 (LWP 28012)):
#0 0x00002adf4bd01798 in __lll_mutex_lock_wait () from /lib/libpthread.so.0
#1 0x00002adf4bd03ea4 in default_attr () from /lib/libpthread.so.0
#2 0x000000000235f13e in ?? ()
#3 0x00002adf4bcfe42e in pthread_mutex_lock () from /lib/libpthread.so.0
#4 0x000000000053269b in wxOutputStream::LastWrite ()
#5 0x0000000000000000 in ?? ()
Thread 1 (Thread 47138553830816 (LWP 28006)):
#0 0x00002adf4bd02bd9 in raise () from /lib/libpthread.so.0
#1 0x00002adf4c2500e9 in wxTrap () from /usr/lib/libwx_baseud-2.6.so.0
---Type to continue, or q to quit---
#2 0x00002adf4c25010c in wxAppTraitsBase::ShowAssertDialog () from /usr/lib/libwx_baseud-2.6.so.0
#3 0x00002adf4c250149 in wxConsoleAppTraitsBase::ShowAssertDialog () from /usr/lib/libwx_baseud-2.6.so.0
#4 0x00002adf4c2509bf in wxAppConsole::ProcessPendingEvents () from /usr/lib/libwx_baseud-2.6.so.0
#5 0x0000000000423377 in wxStringBase::~wxStringBase ()
#6 0x00002adf4c250bba in wxOnAssert () from /usr/lib/libwx_baseud-2.6.so.0
#7 0x0000000000413968 in ?? ()
#8 0x000000000041436c in ?? ()
#9 0x0000000000412e1c in ?? ()
#10 0x00002adf4c0e95c9 in GSocket::Connect () from /usr/lib/libwx_baseud_net-2.6.so.0
#11 0x00002adf4c0e38ce in wxSocketClient::Connect () from /usr/lib/libwx_baseud_net-2.6.so.0
#12 0x00000000005b6ed9 in wxOutputStream::LastWrite ()
#13 0x0000000000433011 in wxTextFile::~wxTextFile ()
#14 0x0000000000476559 in std::operator+, std::allocator > ()
#15 0x000000000059698d in wxOutputStream::LastWrite ()
#16 0x000000000047fc32 in std::operator+, std::allocator > ()
#17 0x0000000000424650 in wxStringBase::~wxStringBase ()
#18 0x00002adf4c2fc6bf in wxEvtHandler::ProcessEventIfMatches () from /usr/lib/libwx_baseud-2.6.so.0
#19 0x00002adf4c2fc8a1 in wxEventHashTable::HandleEvent () from /usr/lib/libwx_baseud-2.6.so.0
#20 0x00002adf4c2fcab7 in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseud-2.6.so.0
#21 0x00002adf4c2fcf36 in wxEvtHandler::ProcessPendingEvents () from /usr/lib/libwx_baseud-2.6.so.0
#22 0x00002adf4c25068e in wxAppConsole::ProcessPendingEvents () from /usr/lib/libwx_baseud-2.6.so.0
#23 0x00000000004147d8 in ?? ()
#24 0x00002adf4c291dcc in wxEntry () from /usr/lib/libwx_baseud-2.6.so.0
#25 0x0000000000414912 in ?? ()
#26 0x00002adf4c906134 in __libc_start_main () from /lib/libc.so.6
#27 0x0000000000412969 in ?? ()
#28 0x00007fff5eecd1e8 in ?? ()
#29 0x0000000000000000 in ?? ()
(gdb)