aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: crashed when open  (Read 11975 times)

Fenix-TX

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 33
crashed when open
« on: December 18, 2006, 11:37:58 AM »

Hi! i've compiled today amule-cvs with wxWidgets 2.8.0 and it crashes. This is the backtrace:

Code: [Select]
----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule CVS using wxGTK2 v2.8.0 (Snapshot: Mon Dec 18 07:01:47 CET 2006)
Running on: Linux 2.6.17-10-generic i686

[2] ?? in amule [0x807a4b6]
[3] wxFatalSignalHandler in /usr/lib/libwx_baseu-2.8.so.0[0xb7a2a6c0]
[4] ?? in [0xffffe420]
[5] wxGIFDecoder::GetFrameSize(unsigned int) const in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xb7cb8e8f]
[6] wxGIFDecoder::ConvertToImage(unsigned int, wxImage*) const in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xb7cb8b94]
[7] ?? in amule [0x8347937]
[8] ?? in amule [0x8346c72]
[9] wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const in /usr/lib/libwx_baseu-2.8.so.0[0xb79834af]
[10] wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0xb7a2623c]
[11] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) in /usr/lib/libwx_baseu-2.8.so.0[0xb7a2640e]
[12] wxEvtHandler::ProcessEvent(wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0xb7a265b6]
[13] wxTimerBase::Notify() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xb7d00d37]
[14] ?? in /usr/lib/libwx_gtk2u_core-2.8.so.0 [0xb7be5077]
[15] ?? in /usr/lib/libglib-2.0.so.0 [0xb7406dd6]
[16] g_main_context_dispatch in /usr/lib/libglib-2.0.so.0[0xb7406802]
[17] ?? in /usr/lib/libglib-2.0.so.0 [0xb74097df]
[18] g_main_loop_run in /usr/lib/libglib-2.0.so.0[0xb7409b89]
[19] gtk_main in /usr/lib/libgtk-x11-2.0.so.0[0xb71ba574]
[20] wxEventLoop::Run() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xb7bdc454]
[21] wxAppBase::MainLoop() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xb7c7ab97]
[22] wxAppBase::OnRun() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xb7c7ac3f]
[23] wxEntry(int&, wchar_t**) in /usr/lib/libwx_baseu-2.8.so.0[0xb79bd55e]
[24] wxEntry(int&, char**) in /usr/lib/libwx_baseu-2.8.so.0[0xb79bd612]
[25] ?? in amule [0x81dafa5]
[26] __libc_start_main in /lib/tls/i686/cmov/libc.so.6[0xb76fa8cc]
[27] ?? in amule [0x806e491]


--------------------------------------------------------------------------------
Cancelado
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: crashed when open
« Reply #1 on: December 24, 2006, 12:42:14 PM »

This looks like a problem with wxWidgets. You said in another thread that you are compiling wxWidgets yourself. Try to compile aMule and wxWidgets with debug information, it may help us and the wxWidgets developers to find what is going on.

Unfortunately, for me :), I have to keep different copies of wxWidgets in my hard disk, so I usually compile it like this:

$ ./configure --enable-debug --disable-optimise --enable-debug_flag --enable-debug_info --enable-debug_gdb --with-opengl --enable-gtk2 --enable-unicode --enable-largefile --prefix=~/usr/local/wxWidgets-2.6.3 && make && make install

When running aMule, I must then specify which wxWidgets library the program will use, so I do:

$ LD_LIBRARY_PATH=~/usr/local/wxWidgets-2.6.3/lib/ LANG=en_US.UTF-8 upnp/src/amule --even-if-lfroen-complains-this-will-stay &

Like that I can even choose the language my aMule will display ;)

Cheers!
Logged

Fenix-TX

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 33
Re: crashed when open
« Reply #2 on: December 24, 2006, 01:00:05 PM »

Quote
Originally posted by phoenix
This looks like a problem with wxWidgets. You said in another thread that you are compiling wxWidgets yourself. Try to compile aMule and wxWidgets with debug information, it may help us and the wxWidgets developers to find what is going on.

Unfortunately, for me :), I have to keep different copies of wxWidgets in my hard disk, so I usually compile it like this:

$ ./configure --enable-debug --disable-optimise --enable-debug_flag --enable-debug_info --enable-debug_gdb --with-opengl --enable-gtk2 --enable-unicode --enable-largefile --prefix=~/usr/local/wxWidgets-2.6.3 && make && make install

When running aMule, I must then specify which wxWidgets library the program will use, so I do:

$ LD_LIBRARY_PATH=~/usr/local/wxWidgets-2.6.3/lib/ LANG=en_US.UTF-8 upnp/src/amule --even-if-lfroen-complains-this-will-stay &

Like that I can even choose the language my aMule will display ;)

Cheers!

Hi! I'll try it, thanks!
Logged

Fenix-TX

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 33
Re: crashed when open
« Reply #3 on: December 24, 2006, 01:50:43 PM »

This is with debug:

An assertion falied: ./src/common/list.cpp(321): assert "wxAssertFailure" failed in Item(): invalid index in wxListBase::Item

Backtrace
Code: [Select]
ASSERT INFO:
./src/common/list.cpp(321): assert "wxAssertFailure" failed in Item(): invalid index in wxListBase::Item

BACKTRACE:
[1] wxListBase::Item(unsigned int) cons)
[2] wxObjectList::Item(unsigned int) cons)
[3] wxGenericImageList::GetBitmapPtr(int) cons)
[4] wxGenericImageList::GetBitmap(int) cons)
[5] wxString::operator=(wchar_t)
[6] wxTimer::wxTimer()
[7] wxString::GetChar(unsigned int) cons)
[8] operator==(wxString const&, wchar_t const*)
[9] wxString::operator+=(wchar_t)
[10] wxURL::GetError() cons)
[11] wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) cons)
[12] wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[13] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[14] wxEvtHandler::ProcessEvent(wxEvent&)
[15] wxEvtHandler::ProcessPendingEvents()
[16] wxAppConsole::ProcessPendingEvents()
[17] wxAppBase::OnIdle(wxIdleEvent&)
[18] wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) cons)
[19] wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[20] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[21] wxEvtHandler::ProcessEvent(wxEvent&)
[22] wxAppBase::ProcessIdle()
[23] g_main_context_dispatch()
[24] g_main_loop_run()
[25] gtk_main()
[26] wxEventLoop::Run()
[27] wxAppBase::MainLoop()
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: crashed when open
« Reply #4 on: December 24, 2006, 03:01:29 PM »

Fenix-TX,

This is still not good enough, but we are improoving ;)

Try to generate a gdb backtrace:
http://www.amule.org/wiki/index.php/Backtraces

If you want, read this too:
http://www.amule.org/wiki/index.php/Using_gdb_and_valgrind

Cheers!
Logged

Fenix-TX

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 33
Re: crashed when open
« Reply #5 on: December 24, 2006, 06:42:44 PM »

And this?

Code: [Select]
(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7ed8651 in raise () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb77e33a4 in wxTrap () from /usr/lib/libwx_baseud-2.8.so.0
#3  0xb77e360a in wxOnAssert () from /usr/lib/libwx_baseud-2.8.so.0
#4  0x081f4478 in wxBaseArrayPtrVoid::Item (this=0x8e3b0c4, uiIndex=36)
    at /usr/include/wx-2.8/wx/dynarray.h:809
#5  0xb7ba6fc8 in wxGIFDecoder::GetFrameSize ()
   from /usr/lib/libwx_gtk2ud_core-2.8.so.0
#6  0xb7ba7142 in wxGIFDecoder::ConvertToImage ()
   from /usr/lib/libwx_gtk2ud_core-2.8.so.0
#7  0x08358dd7 in MuleGIFDecoder::ConvertToImage (this=0x8e3b0a8,
    image=0xbf98307c) at MuleGifCtrl.cpp:59
#8  0x08358052 in MuleGifCtrl::OnTimer (this=0x8e368c0) at MuleGifCtrl.cpp:160
#9  0xb77e329f in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseud-2.8.so.0
#10 0xb789e0ee in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseud-2.8.so.0
#11 0xb789fede in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseud-2.8.so.0
#12 0xb78a0044 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseud-2.8.so.0
#13 0xb7bf5861 in wxTimerBase::Notify ()
   from /usr/lib/libwx_gtk2ud_core-2.8.so.0
---Type to continue, or q to quit---
#14 0xb7ad538e in wxTimer::Start () from /usr/lib/libwx_gtk2ud_core-2.8.so.0
#15 0xb6f0add6 in g_source_get_current_time () from /usr/lib/libglib-2.0.so.0
#16 0xb6f0a802 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#17 0xb6f0d7df in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#18 0xb6f0db89 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#19 0xb7285dfb in gtk_dialog_run () from /usr/lib/libgtk-x11-2.0.so.0
#20 0xb7ad9d00 in wxGUIAppTraits::ShowAssertDialog ()
   from /usr/lib/libwx_gtk2ud_core-2.8.so.0
#21 0xb77e359c in wxTrap () from /usr/lib/libwx_baseud-2.8.so.0
#22 0xb77e37c2 in wxAppConsole::OnAssertFailure ()
   from /usr/lib/libwx_baseud-2.8.so.0
#23 0xb7aa9c93 in wxApp::OnAssertFailure ()
   from /usr/lib/libwx_gtk2ud_core-2.8.so.0
#24 0xb77e36bd in wxOnAssert () from /usr/lib/libwx_baseud-2.8.so.0
#25 0xb7838c5f in wxListBase::Item () from /usr/lib/libwx_baseud-2.8.so.0
#26 0xb7aa1cde in wxObjectList::Item ()
   from /usr/lib/libwx_gtk2ud_core-2.8.so.0
#27 0xb7aa0881 in wxGenericImageList::GetBitmapPtr ()
   from /usr/lib/libwx_gtk2ud_core-2.8.so.0
#28 0xb7aa0928 in wxGenericImageList::GetBitmap ()
   from /usr/lib/libwx_gtk2ud_core-2.8.so.0
#29 0x081ed6eb in CamuleDlg::ShowConnectionState (this=0x8a4cf68)
    at amuleDlg.cpp:646
---Type to continue, or q to quit---
#30 0x08258df4 in MuleNotify::HandleNotification (ntf=@0xbf983724)
    at GuiEvents.cpp:43
#31 0x08089c93 in MuleNotify::DoNotify (
    func=0x82580b0 , arg1=8 '\b')
    at GuiEvents.h:346
#32 0x08080355 in CamuleApp::ShowConnectionState (this=0x8709970)
    at amule.cpp:1989
#33 0x081c0d02 in Kademlia::CKademliaUDPListener::ProcessPacket (
    this=0x8e66b88, data=0xbf983ab8 "ýb\025", lenData=529, ip=1431667607,
    port=12006) at kademlia/net/KademliaUDPListener.cpp:124
#34 0x0819730a in Kademlia::CKademlia::ProcessPacket (
    data=0xbf983ab8 "ýb\025", lenData=529, ip=1431667607, port=12006)
    at kademlia/kademlia/Kademlia.cpp:321
#35 0x080cf947 in CClientUDPSocket::OnPacketReceived (this=0x8db3510,
    addr=@0xbf983a80, buffer=0xbf983ab8 "ýb\025", length=529)
    at ClientUDPSocket.cpp:91
#36 0x08148c18 in CMuleUDPSocket::OnReceive (this=0x8db3510, errorCode=dwarf2_read_address: Corrupted DWARF expression.
)
    at MuleUDPSocket.cpp:179
#37 0x080cfcee in CClientUDPSocket::OnReceive (this=0x8db3510, errorCode=0)
    at ClientUDPSocket.cpp:65
#38 0xb77e329f in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseud-2.8.so.0
#39 0xb789e0ee in wxEvtHandler::ProcessEventIfMatches ()
---Type to continue, or q to quit---
   from /usr/lib/libwx_baseud-2.8.so.0
#40 0xb789fede in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseud-2.8.so.0
#41 0xb78a0044 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseud-2.8.so.0
#42 0xb789e9b8 in wxEvtHandler::ProcessPendingEvents ()
   from /usr/lib/libwx_baseud-2.8.so.0
#43 0xb77e4317 in wxAppConsole::ProcessPendingEvents ()
   from /usr/lib/libwx_baseud-2.8.so.0
#44 0xb7b658ec in wxAppBase::OnIdle () from /usr/lib/libwx_gtk2ud_core-2.8.so.0
#45 0xb77e329f in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseud-2.8.so.0
#46 0xb789e0ee in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseud-2.8.so.0
#47 0xb789fede in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseud-2.8.so.0
#48 0xb78a0044 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseud-2.8.so.0
#49 0xb7b656dc in wxAppBase::ProcessIdle ()
   from /usr/lib/libwx_gtk2ud_core-2.8.so.0
#50 0xb7aaa987 in wxApp::WakeUpIdle () from /usr/lib/libwx_gtk2ud_core-2.8.so.0
#51 0xb6f08aa1 in g_source_is_destroyed () from /usr/lib/libglib-2.0.so.0
#52 0xb6f0a802 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
---Type to continue, or q to quit---
#53 0xb6f0d7df in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#54 0xb6f0db89 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#55 0xb7304574 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#56 0xb7aca7eb in wxEventLoop::Run () from /usr/lib/libwx_gtk2ud_core-2.8.so.0
#57 0xb7b655b8 in wxAppBase::MainLoop ()
   from /usr/lib/libwx_gtk2ud_core-2.8.so.0
#58 0xb7b64f01 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2ud_core-2.8.so.0
#59 0xb782abd6 in wxEntry () from /usr/lib/libwx_baseud-2.8.so.0
#60 0xb782ac9e in wxEntry () from /usr/lib/libwx_baseud-2.8.so.0
#61 0x081e57a5 in main (argc=Cannot access memory at address 0x496c
) at amule-gui.cpp:95
Code: [Select]
(gdb) bt full
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7ed8651 in raise () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0xb77e33a4 in wxTrap () from /usr/lib/libwx_baseud-2.8.so.0
No symbol table info available.
#3  0xb77e360a in wxOnAssert () from /usr/lib/libwx_baseud-2.8.so.0
No symbol table info available.
#4  0x081f4478 in wxBaseArrayPtrVoid::Item (this=0x8e3b0c4, uiIndex=36)
    at /usr/include/wx-2.8/wx/dynarray.h:809
        __FUNCTION__ = "Item"
#5  0xb7ba6fc8 in wxGIFDecoder::GetFrameSize ()
   from /usr/lib/libwx_gtk2ud_core-2.8.so.0
No symbol table info available.
#6  0xb7ba7142 in wxGIFDecoder::ConvertToImage ()
   from /usr/lib/libwx_gtk2ud_core-2.8.so.0
No symbol table info available.
#7  0x08358dd7 in MuleGIFDecoder::ConvertToImage (this=0x8e3b0a8,
    image=0xbf98307c) at MuleGifCtrl.cpp:59
No locals.
#8  0x08358052 in MuleGifCtrl::OnTimer (this=0x8e368c0) at MuleGifCtrl.cpp:160
        frame =
#9  0xb77e329f in wxAppConsole::HandleEvent ()
---Type to continue, or q to quit---
   from /usr/lib/libwx_baseud-2.8.so.0
No symbol table info available.
#10 0xb789e0ee in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseud-2.8.so.0
No symbol table info available.
#11 0xb789fede in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseud-2.8.so.0
No symbol table info available.
#12 0xb78a0044 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseud-2.8.so.0
No symbol table info available.
#13 0xb7bf5861 in wxTimerBase::Notify ()
   from /usr/lib/libwx_gtk2ud_core-2.8.so.0
No symbol table info available.
#14 0xb7ad538e in wxTimer::Start () from /usr/lib/libwx_gtk2ud_core-2.8.so.0
No symbol table info available.
#15 0xb6f0add6 in g_source_get_current_time () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#16 0xb6f0a802 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#17 0xb6f0d7df in g_main_context_check () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#18 0xb6f0db89 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
---Type to continue, or q to quit---
No symbol table info available.
#19 0xb7285dfb in gtk_dialog_run () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#20 0xb7ad9d00 in wxGUIAppTraits::ShowAssertDialog ()
   from /usr/lib/libwx_gtk2ud_core-2.8.so.0
No symbol table info available.
#21 0xb77e359c in wxTrap () from /usr/lib/libwx_baseud-2.8.so.0
No symbol table info available.
#22 0xb77e37c2 in wxAppConsole::OnAssertFailure ()
   from /usr/lib/libwx_baseud-2.8.so.0
No symbol table info available.
#23 0xb7aa9c93 in wxApp::OnAssertFailure ()
   from /usr/lib/libwx_gtk2ud_core-2.8.so.0
No symbol table info available.
#24 0xb77e36bd in wxOnAssert () from /usr/lib/libwx_baseud-2.8.so.0
No symbol table info available.
#25 0xb7838c5f in wxListBase::Item () from /usr/lib/libwx_baseud-2.8.so.0
No symbol table info available.
#26 0xb7aa1cde in wxObjectList::Item ()
   from /usr/lib/libwx_gtk2ud_core-2.8.so.0
No symbol table info available.
#27 0xb7aa0881 in wxGenericImageList::GetBitmapPtr ()
   from /usr/lib/libwx_gtk2ud_core-2.8.so.0
---Type to continue, or q to quit---
No symbol table info available.
#28 0xb7aa0928 in wxGenericImageList::GetBitmap ()
   from /usr/lib/libwx_gtk2ud_core-2.8.so.0
No symbol table info available.
#29 0x081ed6eb in CamuleDlg::ShowConnectionState (this=0x8a4cf68)
    at amuleDlg.cpp:646
        index =
        conn_bitmap = (struct wxStaticBitmap *) 0x8c0d8d8
        conn_image =
        NewED2KState = CamuleDlg::sConnecting
        NewKadState = CamuleDlg::sFirewalled
        connLabel = (struct wxStaticText *) 0x8c06418
        connected_server = { = {static npos = 4294967295,
    m_pchData = 0xb78dd6fc}, }
        ed2k_server =
        __FUNCTION__ = "ShowConnectionState"
        bitmap_dc =
        status_arrows =
        LastKadState = CamuleDlg::sOff
        LastED2KState = CamuleDlg::sConnecting
#30 0x08258df4 in MuleNotify::HandleNotification (ntf=@0xbf983724)
    at GuiEvents.cpp:43
No locals.
---Type to continue, or q to quit---
#31 0x08089c93 in MuleNotify::DoNotify (
    func=0x82580b0 , arg1=8 '\b')
    at GuiEvents.h:346
No locals.
#32 0x08080355 in CamuleApp::ShowConnectionState (this=0x8709970)
    at amule.cpp:1989
        state = 8 '\b'
        old_state = 2 '\002'
#33 0x081c0d02 in Kademlia::CKademliaUDPListener::ProcessPacket (
    this=0x8e66b88, data=0xbf983ab8 "ýb\025", lenData=529, ip=1431667607,
    port=12006) at kademlia/net/KademliaUDPListener.cpp:124
        curCon = false
        opcode =
        packetData = (const byte *) 0xb7653158 ""
        lenPacket =
#34 0x0819730a in Kademlia::CKademlia::ProcessPacket (
    data=0xbf983ab8 "ýb\025", lenData=529, ip=1431667607, port=12006)
    at kademlia/kademlia/Kademlia.cpp:321
No locals.
#35 0x080cf947 in CClientUDPSocket::OnPacketReceived (this=0x8db3510,
    addr=@0xbf983a80, buffer=0xbf983ab8 "ýb\025", length=529)
    at ClientUDPSocket.cpp:91
        protocol = 228 'ý
---Type to continue, or q to quit---
        opcode = 8 '\b'
        ip = 151
        port = 12006
        __FUNCTION__ = "OnPacketReceived"
#36 0x08148c18 in CMuleUDPSocket::OnReceive (this=0x8db3510, errorCode=dwarf2_read_address: Corrupted DWARF expression.
)
    at MuleUDPSocket.cpp:179
        lock = {m_isOk = true, m_mutex = @0x8db3534}
        buffer = "ýb\025\000Lý\022[\nXDzý215ý\024Zi5ý\000\211dü)ýýZTeLFý\223TA\0227\022\000\200JüZ~zE:\2344ý210t\031ýQ@\0226\022\000%ý\022D\211\b\017B\200Jkh\216ý\201ý220a\230.\002\220 \v$/kOX\222ýg ý217'\000ýý235ý036O\025ý!\f{V!7S@\0226\022\000\227Zýý8\016\2275\036Rý\200yX@\0226\022\0003ý\001\200ý\a\033ý\037\216ý@"...
        addr = {<> = {}, }
        length = 529
        error =
        lastError = 0
#37 0x080cfcee in CClientUDPSocket::OnReceive (this=0x8db3510, errorCode=0)
    at ClientUDPSocket.cpp:65
No locals.
#38 0xb77e329f in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseud-2.8.so.0
No symbol table info available.
#39 0xb789e0ee in wxEvtHandler::ProcessEventIfMatches ()
---Type to continue, or q to quit---
   from /usr/lib/libwx_baseud-2.8.so.0
No symbol table info available.
#40 0xb789fede in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseud-2.8.so.0
No symbol table info available.
#41 0xb78a0044 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseud-2.8.so.0
No symbol table info available.
#42 0xb789e9b8 in wxEvtHandler::ProcessPendingEvents ()
   from /usr/lib/libwx_baseud-2.8.so.0
No symbol table info available.
#43 0xb77e4317 in wxAppConsole::ProcessPendingEvents ()
   from /usr/lib/libwx_baseud-2.8.so.0
No symbol table info available.
#44 0xb7b658ec in wxAppBase::OnIdle () from /usr/lib/libwx_gtk2ud_core-2.8.so.0
No symbol table info available.
#45 0xb77e329f in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseud-2.8.so.0
No symbol table info available.
#46 0xb789e0ee in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseud-2.8.so.0
No symbol table info available.
#47 0xb789fede in wxEventHashTable::HandleEvent ()
---Type to continue, or q to quit---
   from /usr/lib/libwx_baseud-2.8.so.0
No symbol table info available.
#48 0xb78a0044 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseud-2.8.so.0
No symbol table info available.
#49 0xb7b656dc in wxAppBase::ProcessIdle ()
   from /usr/lib/libwx_gtk2ud_core-2.8.so.0
No symbol table info available.
#50 0xb7aaa987 in wxApp::WakeUpIdle () from /usr/lib/libwx_gtk2ud_core-2.8.so.0
No symbol table info available.
#51 0xb6f08aa1 in g_source_is_destroyed () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#52 0xb6f0a802 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#53 0xb6f0d7df in g_main_context_check () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#54 0xb6f0db89 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#55 0xb7304574 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#56 0xb7aca7eb in wxEventLoop::Run () from /usr/lib/libwx_gtk2ud_core-2.8.so.0
No symbol table info available.
#57 0xb7b655b8 in wxAppBase::MainLoop ()
---Type to continue, or q to quit---
   from /usr/lib/libwx_gtk2ud_core-2.8.so.0
No symbol table info available.
#58 0xb7b64f01 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2ud_core-2.8.so.0
No symbol table info available.
#59 0xb782abd6 in wxEntry () from /usr/lib/libwx_baseud-2.8.so.0
No symbol table info available.
#60 0xb782ac9e in wxEntry () from /usr/lib/libwx_baseud-2.8.so.0
No symbol table info available.
#61 0x081e57a5 in main (argc=Cannot access memory at address 0x496c
) at amule-gui.cpp:95
No locals.
Code: [Select]
gdb) thread apply all bt

Thread 7 (Thread -1284920416 (LWP 18814)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7ed4a8c in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb7899d53 in wxConditionInternal::WaitTimeout ()
   from /usr/lib/libwx_baseud-2.8.so.0
#3  0xb7899e38 in wxCondition::WaitTimeout ()
   from /usr/lib/libwx_baseud-2.8.so.0
#4  0xb789ac7b in wxSemaphoreInternal::WaitTimeout ()
   from /usr/lib/libwx_baseud-2.8.so.0
#5  0xb789ad64 in wxSemaphore::WaitTimeout ()
   from /usr/lib/libwx_baseud-2.8.so.0
#6  0x082c7723 in CTimerThread::Entry (this=0x8e67f10) at Timer.cpp:63
#7  0xb789c04a in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseud-2.8.so.0
#8  0xb789c1b5 in wxPthreadStart () from /usr/lib/libwx_baseud-2.8.so.0
#9  0xb7ed1504 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#10 0xb75ef51e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread -1268135008 (LWP 18811)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb75e8321 in select () from /lib/tls/i686/cmov/libc.so.6
---Type to continue, or q to quit---
#2  0xb795f275 in GSocket::Input_Timeout ()
   from /usr/lib/libwx_baseud_net-2.8.so.0
#3  0xb795fbce in GSocket::Read () from /usr/lib/libwx_baseud_net-2.8.so.0
#4  0xb7959c61 in wxSocketBase::_Read ()
   from /usr/lib/libwx_baseud_net-2.8.so.0
#5  0xb795a0b0 in wxSocketBase::Read () from /usr/lib/libwx_baseud_net-2.8.so.0
#6  0xb7957b7e in wxSocketInputStream::OnSysRead ()
   from /usr/lib/libwx_baseud_net-2.8.so.0
#7  0xb794f22e in wxHTTPStream::OnSysRead ()
   from /usr/lib/libwx_baseud_net-2.8.so.0
#8  0xb7850ebd in wxInputStream::Read () from /usr/lib/libwx_baseud-2.8.so.0
#9  0x081395c2 in CHTTPDownloadThread::Entry (this=0x8db23a8)
    at HTTPDownload.cpp:209
#10 0xb789c04a in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseud-2.8.so.0
#11 0xb789c1b5 in wxPthreadStart () from /usr/lib/libwx_baseud-2.8.so.0
#12 0xb7ed1504 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#13 0xb75ef51e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread -1234150496 (LWP 18809)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7ed7bf6 in __nanosleep_nocancel ()
   from /lib/tls/i686/cmov/libpthread.so.0
---Type to continue, or q to quit---
#2  0xb78a5d4f in wxMicroSleep () from /usr/lib/libwx_baseud-2.8.so.0
#3  0xb78a5d79 in wxMilliSleep () from /usr/lib/libwx_baseud-2.8.so.0
#4  0xb78999d3 in wxThread::Sleep () from /usr/lib/libwx_baseud-2.8.so.0
#5  0x0817f0ef in UploadBandwidthThrottler::Entry (this=0x8d49b00)
    at UploadBandwidthThrottler.cpp:321
#6  0xb789c04a in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseud-2.8.so.0
#7  0xb789c1b5 in wxPthreadStart () from /usr/lib/libwx_baseud-2.8.so.0
#8  0xb7ed1504 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9  0xb75ef51e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread -1227925840 (LWP 18796)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7ed8651 in raise () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb77e33a4 in wxTrap () from /usr/lib/libwx_baseud-2.8.so.0
#3  0xb77e360a in wxOnAssert () from /usr/lib/libwx_baseud-2.8.so.0
#4  0x081f4478 in wxBaseArrayPtrVoid::Item (this=0x8e3b0c4, uiIndex=36)
    at /usr/include/wx-2.8/wx/dynarray.h:809
#5  0xb7ba6fc8 in wxGIFDecoder::GetFrameSize ()
   from /usr/lib/libwx_gtk2ud_core-2.8.so.0
#6  0xb7ba7142 in wxGIFDecoder::ConvertToImage ()
   from /usr/lib/libwx_gtk2ud_core-2.8.so.0
#7  0x08358dd7 in MuleGIFDecoder::ConvertToImage (this=0x8e3b0a8,
---Type to continue, or q to quit---
    image=0xbf98307c) at MuleGifCtrl.cpp:59
#8  0x08358052 in MuleGifCtrl::OnTimer (this=0x8e368c0) at MuleGifCtrl.cpp:160
#9  0xb77e329f in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseud-2.8.so.0
#10 0xb789e0ee in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseud-2.8.so.0
#11 0xb789fede in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseud-2.8.so.0
#12 0xb78a0044 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseud-2.8.so.0
#13 0xb7bf5861 in wxTimerBase::Notify ()
   from /usr/lib/libwx_gtk2ud_core-2.8.so.0
#14 0xb7ad538e in wxTimer::Start () from /usr/lib/libwx_gtk2ud_core-2.8.so.0
#15 0xb6f0add6 in g_source_get_current_time () from /usr/lib/libglib-2.0.so.0
#16 0xb6f0a802 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#17 0xb6f0d7df in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#18 0xb6f0db89 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#19 0xb7285dfb in gtk_dialog_run () from /usr/lib/libgtk-x11-2.0.so.0
#20 0xb7ad9d00 in wxGUIAppTraits::ShowAssertDialog ()
   from /usr/lib/libwx_gtk2ud_core-2.8.so.0
#21 0xb77e359c in wxTrap () from /usr/lib/libwx_baseud-2.8.so.0
#22 0xb77e37c2 in wxAppConsole::OnAssertFailure ()
   from /usr/lib/libwx_baseud-2.8.so.0
---Type to continue, or q to quit---
#23 0xb7aa9c93 in wxApp::OnAssertFailure ()
   from /usr/lib/libwx_gtk2ud_core-2.8.so.0
#24 0xb77e36bd in wxOnAssert () from /usr/lib/libwx_baseud-2.8.so.0
#25 0xb7838c5f in wxListBase::Item () from /usr/lib/libwx_baseud-2.8.so.0
#26 0xb7aa1cde in wxObjectList::Item ()
   from /usr/lib/libwx_gtk2ud_core-2.8.so.0
#27 0xb7aa0881 in wxGenericImageList::GetBitmapPtr ()
   from /usr/lib/libwx_gtk2ud_core-2.8.so.0
#28 0xb7aa0928 in wxGenericImageList::GetBitmap ()
   from /usr/lib/libwx_gtk2ud_core-2.8.so.0
#29 0x081ed6eb in CamuleDlg::ShowConnectionState (this=0x8a4cf68)
    at amuleDlg.cpp:646
#30 0x08258df4 in MuleNotify::HandleNotification (ntf=@0xbf983724)
    at GuiEvents.cpp:43
#31 0x08089c93 in MuleNotify::DoNotify (
    func=0x82580b0 , arg1=8 '\b')
    at GuiEvents.h:346
#32 0x08080355 in CamuleApp::ShowConnectionState (this=0x8709970)
    at amule.cpp:1989
#33 0x081c0d02 in Kademlia::CKademliaUDPListener::ProcessPacket (
    this=0x8e66b88, data=0xbf983ab8 "ýb\025", lenData=529, ip=1431667607,
    port=12006) at kademlia/net/KademliaUDPListener.cpp:124
#34 0x0819730a in Kademlia::CKademlia::ProcessPacket (
---Type to continue, or q to quit---
    data=0xbf983ab8 "ýb\025", lenData=529, ip=1431667607, port=12006)
    at kademlia/kademlia/Kademlia.cpp:321
#35 0x080cf947 in CClientUDPSocket::OnPacketReceived (this=0x8db3510,
    addr=@0xbf983a80, buffer=0xbf983ab8 "ýb\025", length=529)
    at ClientUDPSocket.cpp:91
#36 0x08148c18 in CMuleUDPSocket::OnReceive (this=0x8db3510, errorCode=dwarf2_read_address: Corrupted DWARF expression.
)
    at MuleUDPSocket.cpp:179
#37 0x080cfcee in CClientUDPSocket::OnReceive (this=0x8db3510, errorCode=0)
    at ClientUDPSocket.cpp:65
#38 0xb77e329f in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseud-2.8.so.0
#39 0xb789e0ee in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseud-2.8.so.0
#40 0xb789fede in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseud-2.8.so.0
#41 0xb78a0044 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseud-2.8.so.0
#42 0xb789e9b8 in wxEvtHandler::ProcessPendingEvents ()
   from /usr/lib/libwx_baseud-2.8.so.0
#43 0xb77e4317 in wxAppConsole::ProcessPendingEvents ()
   from /usr/lib/libwx_baseud-2.8.so.0
#44 0xb7b658ec in wxAppBase::OnIdle () from /usr/lib/libwx_gtk2ud_core-2.8.so.0
#45 0xb77e329f in wxAppConsole::HandleEvent ()
---Type to continue, or q to quit---
   from /usr/lib/libwx_baseud-2.8.so.0
#46 0xb789e0ee in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseud-2.8.so.0
#47 0xb789fede in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseud-2.8.so.0
#48 0xb78a0044 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseud-2.8.so.0
#49 0xb7b656dc in wxAppBase::ProcessIdle ()
   from /usr/lib/libwx_gtk2ud_core-2.8.so.0
#50 0xb7aaa987 in wxApp::WakeUpIdle () from /usr/lib/libwx_gtk2ud_core-2.8.so.0
#51 0xb6f08aa1 in g_source_is_destroyed () from /usr/lib/libglib-2.0.so.0
#52 0xb6f0a802 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#53 0xb6f0d7df in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#54 0xb6f0db89 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#55 0xb7304574 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#56 0xb7aca7eb in wxEventLoop::Run () from /usr/lib/libwx_gtk2ud_core-2.8.so.0
#57 0xb7b655b8 in wxAppBase::MainLoop ()
   from /usr/lib/libwx_gtk2ud_core-2.8.so.0
#58 0xb7b64f01 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2ud_core-2.8.so.0
#59 0xb782abd6 in wxEntry () from /usr/lib/libwx_baseud-2.8.so.0
#60 0xb782ac9e in wxEntry () from /usr/lib/libwx_baseud-2.8.so.0
#61 0x081e57a5 in main (argc=Cannot access memory at address 0x496c
) at amule-gui.cpp:95
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: crashed when open
« Reply #6 on: December 24, 2006, 07:29:25 PM »

Much better. Though your wxWidgets still seem to lack debug information.

Anyway, there seems to be two bugs.
Code: [Select]
#20 0xb7ad9d00 in wxGUIAppTraits::ShowAssertDialog ()
   from /usr/lib/libwx_gtk2ud_core-2.8.so.0
#21 0xb77e359c in wxTrap () from /usr/lib/libwx_baseud-2.8.so.0
#22 0xb77e37c2 in wxAppConsole::OnAssertFailure ()
   from /usr/lib/libwx_baseud-2.8.so.0
#23 0xb7aa9c93 in wxApp::OnAssertFailure ()
   from /usr/lib/libwx_gtk2ud_core-2.8.so.0
#24 0xb77e36bd in wxOnAssert () from /usr/lib/libwx_baseud-2.8.so.0
#25 0xb7838c5f in wxListBase::Item () from /usr/lib/libwx_baseud-2.8.so.0
#26 0xb7aa1cde in wxObjectList::Item ()
   from /usr/lib/libwx_gtk2ud_core-2.8.so.0
#27 0xb7aa0881 in wxGenericImageList::GetBitmapPtr ()
   from /usr/lib/libwx_gtk2ud_core-2.8.so.0
#28 0xb7aa0928 in wxGenericImageList::GetBitmap ()
   from /usr/lib/libwx_gtk2ud_core-2.8.so.0
#29 0x081ed6eb in CamuleDlg::ShowConnectionState (this=0x8a4cf68)
    at amuleDlg.cpp:646
---Type to continue, or q to quit---
#30 0x08258df4 in MuleNotify::HandleNotification (ntf=@0xbf983724)
    at GuiEvents.cpp:43
#31 0x08089c93 in MuleNotify::DoNotify (
    func=0x82580b0 , arg1=8 '\b')
    at GuiEvents.h:346
#32 0x08080355 in CamuleApp::ShowConnectionState (this=0x8709970)
    at amule.cpp:1989
#33 0x081c0d02 in Kademlia::CKademliaUDPListener::ProcessPacket (
    this=0x8e66b88, data=0xbf983ab8 "ýb\025", lenData=529, ip=1431667607,
    port=12006) at kademlia/net/KademliaUDPListener.cpp:124
#34 0x0819730a in Kademlia::CKademlia::ProcessPacket (
    data=0xbf983ab8 "ýb\025", lenData=529, ip=1431667607, port=12006)
    at kademlia/kademlia/Kademlia.cpp:321
#35 0x080cf947 in CClientUDPSocket::OnPacketReceived (this=0x8db3510,
    addr=@0xbf983a80, buffer=0xbf983ab8 "ýb\025", length=529)
    at ClientUDPSocket.cpp:91
#36 0x08148c18 in CMuleUDPSocket::OnReceive (this=0x8db3510, errorCode=dwarf2_read_address: Corrupted DWARF expression.
)
    at MuleUDPSocket.cpp:179
#37 0x080cfcee in CClientUDPSocket::OnReceive (this=0x8db3510, errorCode=0)
    at ClientUDPSocket.cpp:65

This one can be an aMule bug, though it is still difficult to understand why without duplicating it here in the debugger.

The other one happened when the timer tick hit and aMule tried to update the gif.
Code: [Select]
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7ed8651 in raise () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb77e33a4 in wxTrap () from /usr/lib/libwx_baseud-2.8.so.0
#3  0xb77e360a in wxOnAssert () from /usr/lib/libwx_baseud-2.8.so.0
#4  0x081f4478 in wxBaseArrayPtrVoid::Item (this=0x8e3b0c4, uiIndex=36)
    at /usr/include/wx-2.8/wx/dynarray.h:809
#5  0xb7ba6fc8 in wxGIFDecoder::GetFrameSize ()
   from /usr/lib/libwx_gtk2ud_core-2.8.so.0
#6  0xb7ba7142 in wxGIFDecoder::ConvertToImage ()
   from /usr/lib/libwx_gtk2ud_core-2.8.so.0
#7  0x08358dd7 in MuleGIFDecoder::ConvertToImage (this=0x8e3b0a8,
    image=0xbf98307c) at MuleGifCtrl.cpp:59
#8  0x08358052 in MuleGifCtrl::OnTimer (this=0x8e368c0) at MuleGifCtrl.cpp:160
#9  0xb77e329f in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseud-2.8.so.0
#10 0xb789e0ee in wxEvtHandler::ProcessEventIfMatches ()

I'll see what I can do, but this one is difficult because I can't reproduce it here. Are you using any skin file for the aMule buttons?
Logged

Fenix-TX

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 33
Re: crashed when open
« Reply #7 on: December 24, 2006, 09:11:11 PM »

Yes, i'm using this skin:

Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: crashed when open
« Reply #8 on: December 24, 2006, 09:53:32 PM »

Ok, first, try to disable the skin file and see if it starts.

Go to Preferences->Gui Tweaks->Skin Support
and uncheck "Use skin file to set aMule bitmaps".

Also, tell me how can I get this skin file to test it here.

EDIT: Sorry, you probably wont be able to reach Preferences :)
Edit ~/.aMule/amule.conf and look for "UseSkinFile" and then do:
UseSkinFile=0
Logged

Fenix-TX

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 33
Re: crashed when open
« Reply #9 on: December 24, 2006, 10:37:31 PM »

Rigth click on the image that i put, and download it, the image is the skin file, i've uploaded on a web space.

I've tried without skin and i have the same problem...
« Last Edit: December 24, 2006, 10:47:43 PM by Fenix-TX »
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: crashed when open
« Reply #10 on: December 25, 2006, 03:40:25 AM »

Well, that image does not work for me. The old images are displayed, and when I click the connect button, it disappears. But no crash.
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: crashed when open
« Reply #11 on: December 25, 2006, 11:22:17 AM »

Quote
2006-12-25 11:21:32: Error: Failed to convert file "/home/tux/Desktop/Crystal1.eMuleToolbar.kad02.gif" to Unicode.
2006-12-25 11:21:32: Unable to open skin file: /home/tux/Desktop/Crystal1.eMuleToolbar.kad02.gif - loading toolbar defaults
Oh, I really see the need to convert a image to unicode. ;)
Logged

Fenix-TX

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 33
Re: crashed when open
« Reply #12 on: December 25, 2006, 12:39:43 PM »

I think that is a problem with my ldconfig, because i've unistalled wxwidgets-2.6 (development files) and i can't compile:

Code: [Select]
configure: error:
                wxWidgets must be installed on your system but wx-config
                script couldn't be found. Please check that wx-config is
                in path or specified by --with-wx-config=path flag, the
                directory where wxWidgets libraries are installed (returned
                by 'wx-config --libs' command) is in LD_LIBRARY_PATH or
                equivalent variable and wxWidgets version is 2.6.0 or above.

I've installed with --prefix=/usr and i've added that path and /usr/lib and /usr/lib/wx (to try if works) on my ld.so.conf and i execute sudo ldconfig, what's wrong?
« Last Edit: December 25, 2006, 12:41:54 PM by Fenix-TX »
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: crashed when open
« Reply #13 on: December 25, 2006, 12:40:40 PM »

Quote
originally posted by wuischke
Oh, I really see the need to convert a image to unicode.
lol, this is really important, didn't you know? :D

Anyway, does not happen here, my log file is clean. I was looking for a message like this one, but didn't happen. Of course, unicode would have surprised me. ;)
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: crashed when open
« Reply #14 on: December 25, 2006, 01:00:25 PM »

Quote
Originally posted by Fenix-TX
I think that is a problem with my ldconfig, because i've unistalled wxwidgets-2.6 (development files) and i can't compile:

Code: [Select]
configure: error:
                wxWidgets must be installed on your system but wx-config
                script couldn't be found. Please check that wx-config is
                in path or specified by --with-wx-config=path flag, the
                directory where wxWidgets libraries are installed (returned
                by 'wx-config --libs' command) is in LD_LIBRARY_PATH or
                equivalent variable and wxWidgets version is 2.6.0 or above.

I've installed with --prefix=/usr and i've added that path and /usr/lib and /usr/lib/wx (to try if works) on my ld.so.conf and i execute sudo ldconfig, what's wrong?

Are you compiling wx yourself? This is not an easy decision, because If the answer is yes, then first remove all wx from your system. RPM's, old hand instalations, etc. These will all bite you in the back. Check all paths that are in ld.so.conf to see if there is nothing left:
$ ls -l /usr/lib/wx*
$ ls -l /usr/local/lib/wx*
etc

Now, and now comes after you removed all wx, you have to decide if you leave your hand compiled wx in your system path or not. If the answer is yes, I would advise you to compile wx with a flag like --prefix=/usr/local/wx/ so that it wont mix with the other system libraries, and so that it makes it easier to remove, you just have to "rm -rf /usr/local/wx". That implies that you need a line "/usr/local/wx/lib/" in ld.so.conf. That also implies that you need to compile amule with the switch "--with-wx-config=/usr/local/wx/bin/wx-config"

If you decide that your hand compiled wx will be in the system path, then use no --prefix at all in the wx configure, the default will be /usr/local, which is the right place for hand compiled stuff. If you use /usr as prefix, your hand compiled stuff will mix with the system rpm stuff, and that is a mess. That assumes you will have a line like "/usr/local/lib" in ld.so.conf. Also, "/usr/local/bin" must be in the path, so that the wx-config program can be found by aMule configure script. And that is where the need for unicity of wx in your system comes from. If you have two wx installed, the wx-config script called will always be the one that comes first in the path, unless you specify the flag --with-wx-config=... in aMule configure script.

Maybe it is a little confusing, but the whole explanation is there, read it carefully and your problems will be over! :D

Cheers!
Logged
Pages: [1] 2