[maemo-developers] Segmentation fault with the latest microb-engine
From: josh.soref at nokia.com josh.soref at nokia.comDate: Wed May 28 14:46:09 EEST 2008
- Previous message: Segmentation fault with the latest microb-engine
- Next message: Segmentation fault with the latest microb-engine
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Zhihai Wang wrote: > I have checked out the latest source code from the repository > https://garage.maemo.org/svn/browser/mozilla/trunk/microb-engine > and compiled in scratchbox under CHINOOK_X86, everything went > smoothly. > > After installing the built debian packages, I started > "run-standalone.sh /usr/lib/microb-engine/TestGtkEmbed", > and try to access some website such as "www.google.com" or > "about:blank", I got a "Segmentation fault". ... > /usr/bin/run-standalone.sh: line 11: 21205 Segmentation fault > (core dumped) "$@" > > Anyone knows what might have happened? Anything. Before sending messages like this about *any* software to any list you should: 1. build everything with debugging symbols For gecko, this means adding: --disable-strip --enable-debugger-info-modules (or --enable-debug) to your mozconfig (it also means doing something to prevent debugging symbols from being stripped by debian) 2. get a stack trace For gecko, this means: ./run-mozilla.sh -g -d gdb ./TestGtkEmbed In maemo this means: /usr/bin/run-standalone.sh /bin/sh cd /usr/lib/microb-engine/ ./run-mozilla.sh -g -d gdb ./TestGtkEmbed If you were actually dealing with a device instead of a scratchbox then gdbserver would probably be your friend (-d gdbserver). Note that you want to build an install the latest version of gdb (6.8 or something) instead of using whichever version your system has. You should also read any debugging guides for your platform. Google: debugging maemo 4 http://maemo.org/development/documentation/how-tos/4-x/maemo_debugging_g uide.html Google: debugging unix faq http://developer.mozilla.org/en/docs/Debugging_Mozilla_on_Linux_FAQ Google: maemo-debug http://maemo.org/development/tools/doc/chinook/maemo-debug-scripts/ You'll want to use debug-dep-install to grab symbols for the system libraries.
- Previous message: Segmentation fault with the latest microb-engine
- Next message: Segmentation fault with the latest microb-engine
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]