Some news.
I downloaded the Festor pre-compiled aMule package from here (to see if i was compiling it wrongly) :
http://forum.amule.org/index.php?topic=13700.0 and I crashed it from another instance of aMule, sending a message. But this time, the backtrace says nothing about TrayIcon.
----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule SVN using wxGTK2 v2.8.4 (Snapshot: Sat Mar 15 07:01:47 CET 2008)
Running on: Linux 2.6.22-14-generic x86_64
[2] wxThreadHelperThread::~wxThreadHelperThread() in amule [0x4486b5]
[3] wxFatalSignalHandler in /usr/lib/libwx_baseu-2.8.so.0[0x2ad75afd764c]
[4] ?? in /lib/libpthread.so.0 [0x2ad759a82100]
[5] wxMenuItemList::~wxMenuItemList() in amule [0x5768d8]
[6] wxDataObjectSimple::~wxDataObjectSimple() in amule [0x51ab27]
[7] wxDataObjectSimple::~wxDataObjectSimple() in amule [0x51b282]
[8] wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0x2ad75afd366f]
[9] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) in /usr/lib/libwx_baseu-2.8.so.0[0x2ad75afd380f]
[10] wxEvtHandler::ProcessEvent(wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0x2ad75afd3959]
[11] wxTimerBase::Notify() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0x2ad75a959d76]
[12] ?? in /usr/lib/libwx_gtk2u_core-2.8.so.0 [0x2ad75a850a14]
[13] ?? in /usr/lib/libglib-2.0.so.0 [0x2ad75d69470b]
[14] g_main_context_dispatch in /usr/lib/libglib-2.0.so.0[0x2ad75d693fd3]
[15] ?? in /usr/lib/libglib-2.0.so.0 [0x2ad75d6972dd]
[16] g_main_loop_run in /usr/lib/libglib-2.0.so.0[0x2ad75d6975ea]
[17] gtk_main in /usr/lib/libgtk-x11-2.0.so.0[0x2ad75dc93883]
[18] wxEventLoop::Run() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0x2ad75a84850d]
[19] wxAppBase::MainLoop() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0x2ad75a8d9c8b]
[20] wxEntry(int&, wchar_t**) in /usr/lib/libwx_baseu-2.8.so.0[0x2ad75af7280c]
[21] std::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) in amule [0x516062]
[22] __libc_start_main in /lib/libc.so.6[0x2ad75be20b44]
[23] CryptoPP::BufferedTransformation::ChannelPut2(std::string const&, unsigned char const*, unsigned long, int, bool) in amule[0x4478f9]
--------------------------------------------------------------------------------
Could this be something Ubuntu specific?
Hope it helps