aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: CamuleApp::OnFatalException()  (Read 2404 times)

KoWaBunGah

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
CamuleApp::OnFatalException()
« on: January 03, 2006, 11:03:08 PM »

Hi,

I'va had lots of problems with Kubuntu and Amule.
I've tried to install aMule with apt-get, and it was not OK.

so i've tried to use Amule CVs, and it' was wrong.
So I decided to read the howto and tried to install Amule 2.1.0

I've had many problems with wx, gtk, wxbase, libwx, etc. etc.
but, after 2 hours, the compiling was ok,
but i've had a crash on the first time i use Amule (now, it's the second...)

Here is the configure's log :

laurel@hardy:~/aMule-compilation/aMule-2.1.0$./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking whether make sets $(MAKE)... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for bison... no
checking for byacc... no
checking for ranlib... (cached) ranlib
checking for strip... strip
checking for ar... ar
checking for ld... ld
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for zlib >= 1.1.4... yes (version 1.2.3)
checking whether we need the GUI... yes
checking for wx-config... /usr/local/bin/wx-config
checking for wxWidgets version >= 2.6.0... yes (version 2.6.2)
checking for wxWidgets static library... no
checking that wxWidgets has support for large files... yes
checking whether to use embedded Crypto... yes
checking for bfd headers... no
configure: WARNING: bfd.h not found, please install binutils development package if you are a developer or want to help testing aMule
checking for autopoint... yes (0.14.5)
checking for extended flex capabilities... ./configure: line 7022: flex: command not found
no
configure: Your flex version doesn't support --header-file flag. This is not critical, but an upgrade is recomended
checking for X... libraries /usr/X11R6/lib, headers in standard search path
checking for working alloca.h... yes
checking for alloca... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking stdio_ext.h usability... yes
checking stdio_ext.h presence... yes
checking for stdio_ext.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for mode_t... yes
checking for off_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uid_t in sys/types.h... yes
checking for working volatile... yes
checking for ptrdiff_t... yes
checking whether closedir returns void... no
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for library containing strerror... none required
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking whether integer division by zero raises SIGFPE... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unsigned long long... yes
checking for inttypes.h... yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for ld used by GCC... ld
checking if the linker (ld) is GNU ld... yes
checking for shared library run path origin... done
checking for argz.h... (cached) yes
checking for limits.h... (cached) yes
checking for locale.h... (cached) yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking for malloc.h... (cached) yes
checking for stddef.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for feof_unlocked... yes
checking for fgets_unlocked... yes
checking for getc_unlocked... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for iconv... yes
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... no
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking for getmntent in -lsun... no
checking for getmntent in -lseq... no
checking for getmntent in -lgen... no
checking for getmntent... yes
checking whether gcc needs -traditional... no
checking for pid_t... yes
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether lstat accepts an empty string... no
checking whether lstat dereferences a symlink specified with a trailing slash... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for function prototypes... yes
checking whether setvbuf arguments are reversed... no
checking return type of signal handlers... void
checking whether stat accepts an empty string... no
checking for strftime... yes
checking for working strtod... yes
checking for __argz_count... (cached) yes
checking for __argz_next... (cached) yes
checking for __argz_stringify... (cached) yes
checking for endpwent... yes
checking for floor... no
checking for ftruncate... yes
checking for getcwd... (cached) yes
checking for gethostbyaddr... yes
checking for gethostbyname... yes
checking for gethostname... yes
checking for getmntent... (cached) yes
checking for getmntinfo... no
checking for getpass... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for memmove... yes
checking for mempcpy... (cached) yes
checking for memset... yes
checking for munmap... (cached) yes
checking for nl_langinfo... yes
checking for select... yes
checking for setlocale... (cached) yes
checking for socket... yes
checking for sqrt... no
checking for stpcpy... (cached) yes
checking for strcasecmp... (cached) yes
checking for strchr... yes
checking for strcspn... yes
checking for strdup... (cached) yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strstr... yes
checking for strtoul... (cached) yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking for mkdir... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking if the applications should be statically linked... no
checking for CVSDATE... None required
checking if this is a FreeBSD 4 or earlier system... no
checking whether ccache support should be added... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating docs/Makefile
config.status: creating docs/man/Makefile
config.status: creating intl/Makefile
config.status: creating m4/Makefile
config.status: creating src/Makefile
config.status: creating src/kademlia/Makefile
config.status: creating src/kademlia/utils/Makefile
config.status: creating src/kademlia/io/Makefile
config.status: creating src/kademlia/kademlia/Makefile
config.status: creating src/kademlia/routing/Makefile
config.status: creating src/kademlia/net/Makefile
config.status: creating src/pixmaps/Makefile
config.status: creating src/libs/Makefile
config.status: creating src/libs/ec/Makefile
config.status: creating src/libs/common/Makefile
config.status: creating src/utils/Makefile
config.status: creating src/utils/aLinkCreator/Makefile
config.status: creating src/utils/aLinkCreator/docs/Makefile
config.status: creating src/utils/aLinkCreator/src/Makefile
config.status: creating src/utils/cas/Makefile
config.status: creating src/utils/cas/docs/Makefile
config.status: creating src/utils/wxCas/Makefile
config.status: creating src/utils/wxCas/docs/Makefile
config.status: creating src/utils/wxCas/src/Makefile
config.status: creating src/utils/xas/Makefile
config.status: creating src/utils/xas/docs/Makefile
config.status: creating src/webserver/Makefile
config.status: creating src/webserver/src/Makefile
config.status: creating src/webserver/default/Makefile
config.status: creating src/webserver/php-default/Makefile
config.status: creating src/webserver/chicane/Makefile
config.status: creating unittests/Makefile
config.status: creating unittests/muleunit/Makefile
config.status: creating unittests/tests/Makefile
config.status: creating po/Makefile.in
config.status: creating Compilation.flags
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile


  Configure script has finished system check.

  Configured aMule 2.1.0 for 'i686-pc-linux-gnu'.

  aMule enabled options:

  **** aMule Core ****
  Prefix where aMule should be installed?                    /usr/local
  Should aMule be compiled with i18n support?                yes
  Should aMule be compiled in debug mode?                    yes
  Should aMule be compiled with profiling?                   no
  Should aMule be compiled with optimizations?               no
  Should aMule monolithic application be built?              yes
  Should aMule daemon version be built?                      no
  Should aMule remote gui be built? (EXPERIMENTAL)           no
  Crypto++ library/headers style?                            embedded

  **** aMule TextClient ****
  Should aMule Command Line Client be built?                 no

  **** aMule WebServer ****
  Should aMule WebServer be built?                           no

  **** aMule ED2K Links Handler ****
  Should aMule ED2K Links Handler be built?                  yes

  **** aMuleLinkCreator ****
  Should aMuleLinkCreator GUI version (alc) be built?        no
  Should aMuleLinkCreator for console (alcc) be built?       no

  **** aMule Statistics ****
  Should C aMule Statistics (CAS) be built?                  no
  Should aMule GUI Statistics (wxCas) be built?              no

  **** General Libraries and Tools ****
  Should ccache support be enabled?                          no
  Libraries aMule will use to build:
                                       wxWidgets             2.6.2
                                       crypto++              embedded
                                       zlib                  1.2.3


XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

and this is the "backtrace" :
Initialising aMule
Checking if there is an instance already running...
No other instances are running.
Loading temp files from /media/D/eDonkey2000/temp.
Loading PartFile 86 of 86
All PartFiles Loaded.
ListenSocket: Ok.

External connections disabled in config file
*** Server UDP socket (TCP+3) at 0.0.0.0:4665
*** TCP socket (TCP) listening on 0.0.0.0:4662
*** Client UDP socket (extended eMule) at 0.0.0.0:4672
Adding file /media/D/eDonkey2000/temp/051.part.met to shares
Adding file /media/D/eDonkey2000/temp/047.part.met to shares
Adding file /media/D/eDonkey2000/temp/087.part.met to shares
Adding file /media/D/eDonkey2000/temp/020.part.met to shares
Adding file /media/D/eDonkey2000/temp/017.part.met to shares
Adding file /media/D/eDonkey2000/temp/014.part.met to shares
Adding file /media/D/eDonkey2000/temp/002.part.met to shares
Adding file /media/D/eDonkey2000/temp/001.part.met to shares
Adding file /media/D/eDonkey2000/temp/041.part.met to shares
Adding file /media/D/eDonkey2000/temp/039.part.met to shares
Adding file /media/D/eDonkey2000/temp/036.part.met to shares
Adding file /media/D/eDonkey2000/temp/035.part.met to shares
Adding file /media/D/eDonkey2000/temp/032.part.met to shares
Adding file /media/D/eDonkey2000/temp/027.part.met to shares
Adding file /media/D/eDonkey2000/temp/023.part.met to shares

[Search expressions removed]

(amule:17230): Gtk-CRITICAL **: gtk_entry_set_text: assertion `text != NULL' failed

(amule:17230): Gtk-CRITICAL **: gtk_entry_set_text: assertion `text != NULL' failed

(amule:17230): Gtk-CRITICAL **: gtk_entry_set_text: assertion `text != NULL' failed

(amule:17230): Gtk-CRITICAL **: gtk_entry_set_text: assertion `text != NULL' failed

(amule:17230): Gtk-CRITICAL **: gtk_entry_set_text: assertion `text != NULL' failed

(amule:17230): Gtk-CRITICAL **: gtk_entry_set_text: assertion `text != NULL' failed

(amule:17230): Gtk-CRITICAL **: gtk_entry_set_text: assertion `text != NULL' failed

(amule:17230): Gtk-CRITICAL **: gtk_entry_set_text: assertion `text != NULL' failed

--------------------------------------------------------------------------------
A fatal error has occurred and aMule has crashed.
Please assist us in fixing this problem by posting the backtrace below in our
'aMule Crashes' forum and include as much information as possible regarding the
circumstances of this crash. The forum is located here:
    http://forum.amule.org/board.php?boardid=67
If possible, please try to generate a real backtrace of this crash:
    http://www.amule.org/wiki/index.php/Backtraces

----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule 2.1.0 using wxGTK2 v2.6.2
Running on: Linux 2.6.12-10-386 i686

[2] CamuleApp::OnFatalException() in amule.cpp:1142
[3] wxFatalSignalHandler in /usr/local/lib/libwx_base-2.6.so.0[0xb7b91c86]
[4] ?? in [0xffffe420]
[5] wxString::CmpNoCase(wxString const&) const in /usr/local/lib/libwx_base-2.6.so.0[0xb7b586f5]
[6] CServerListCtrl::SortProc(long, long, long) in ServerListCtrl.cpp:532
[7] CMuleListCtrl::IsItemSorted(long) in MuleListCtrl.cpp:377
[8] CServerListCtrl::RefreshServer(CServer*) in ServerListCtrl.cpp:222
[9] CamuleGuiApp::NotifyEvent(GUIEvent const&) in amule-gui.cpp:623
[10] CServerUDPSocket::ProcessPacket(CMemFile&, unsigned char, wxString const&, unsigned short) in Ser
verUDPSocket.cpp:274
[11] CServerUDPSocket::OnPacketReceived(amuleIPV4Address&, unsigned char*, unsigned int) in ServerUDPS
ocket.cpp:72
[12] CMuleUDPSocket::OnReceive(int) in MuleUDPSocket.cpp:171
[13] CamuleApp::UDPSocketHandler(wxSocketEvent&) in amule.cpp:1938
[14] wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const in /us
r/local/lib/libwx_base-2.6.so.0[0xb7b0229d]
[15] wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) in /us
r/local/lib/libwx_base-2.6.so.0[0xb7b8dab4]
[16] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) in /usr/local/lib/libwx_base-2.6.so.0[0xb7                      b8dcc8]
[17] wxEvtHandler::ProcessEvent(wxEvent&) in /usr/local/lib/libwx_base-2.6.so.0[0xb7b8de9d]
[18] wxEvtHandler::ProcessPendingEvents() in /usr/local/lib/libwx_base-2.6.so.0[0xb7b8e503]
[19] wxAppConsole::ProcessPendingEvents() in /usr/local/lib/libwx_base-2.6.so.0[0xb7b025f6]
[20] ?? in /usr/local/lib/libwx_gtk2_core-2.6.so.0 [0xb7cd1c84]
[21] ?? in /usr/lib/libglib-2.0.so.0 [0xb7310750]
[22] g_main_context_dispatch in /usr/lib/libglib-2.0.so.0[0xb730e4ee]
[23] ?? in /usr/lib/libglib-2.0.so.0 [0xb73114f6]
[24] g_main_loop_run in /usr/lib/libglib-2.0.so.0[0xb73117e3]
[25] gtk_main in /usr/lib/libgtk-x11-2.0.so.0[0xb76c9e65]
[26] wxEventLoop::Run() in /usr/local/lib/libwx_gtk2_core-2.6.so.0[0xb7ceacfe]
[27] wxAppBase::MainLoop() in /usr/local/lib/libwx_gtk2_core-2.6.so.0[0xb7d719d8]
[28] wxAppBase::OnRun() in /usr/local/lib/libwx_gtk2_core-2.6.so.0[0xb7d71af2]
[29] wxEntry(int&, char**) in /usr/local/lib/libwx_base-2.6.so.0[0xb7b3796b]
[30] main in amule-gui.cpp:145
[31] __libc_start_main in /lib/tls/i686/cmov/libc.so.6[0xb7898ea2]
[32] wxAppBase::Dispatch() in start.S:122


--------------------------------------------------------------------------------
Abandon
laurel@hardy:~/aMule-compilation/aMule-2.1.0$


Happy 2006 to you!
(i've decided to learn english in 2006 :-) )


EDIT (Kry): I removed the search expressions for (c) stuff  :] And set the no-smileis mode to avoid spaming the backtrace.
Logged

Xaignar

  • Admin and Code Junky
  • Hero Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 1103
Re: CamuleApp::OnFatalException()
« Reply #1 on: January 03, 2006, 11:41:05 PM »

Could you try attaching your ~/.aMule/server.met file?

EDIT: Nevermind, found the problem. Please test tomorrows snapshot and let us know.
Logged

KoWaBunGah

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Resolved
« Reply #2 on: January 07, 2006, 09:38:17 PM »

Damn** smileys-mode!!!

After this first bug, i have ran another time Amule, and it is always work!

Maybe an "init problem"...


I think my server.met file is not interesting now...

If you want to see it, please tell me...

Thanks a lot!


Enjoy Amule!
Logged

Xaignar

  • Admin and Code Junky
  • Hero Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 1103
Re: CamuleApp::OnFatalException()
« Reply #3 on: January 07, 2006, 10:39:00 PM »

If you experience this crash again, you can work around it by disabling removal of dead servers in the preferences. And no, I dont need your server.met file. ;)
Logged