Summary: | app-misc/workrave-1.9.0 fails to launch - SIGSEGV | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | radim <r.snajdr> |
Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
backtrace.log
backtrace.log |
Description
radim
2009-07-24 12:26:00 UTC
a good backtrace would be most useful, see [1] [1] http://www.gentoo.org/proj/en/qa/backtraces.xml Hmm, I have all system without -gdb flag. And it would take quite long to rebuild all. Is there some way to build just the one application? emerge -1 <package> Please do read that link Gilles posted as adding -g to CFLAGS isn't enough by itself. Thanks Created attachment 199304 [details]
backtrace.log
output of gdb /usr/bin/workrave
the upper post is result of this command: gdb /usr/bin/workrave GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu"... (no debugging symbols found) (gdb) run Starting program: /usr/bin/workrave (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) ---Type <return> to continue, or q <return> to quit--- (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [New Thread 0xb6c80960 (LWP 17672)] (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [New Thread 0xb6ac3b90 (LWP 17683)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb6c80960 (LWP 17672)] 0x080a793c in ?? () (gdb) set logging file backtrace.log (gdb) set logging on Copying output to backtrace.log. (gdb) bt #0 0x080a793c in ?? () #1 0x080a80c4 in ?? () #2 0x080a81e0 in ?? () #3 0x08066571 in ?? () #4 0x0806741c in ?? () #5 0x080840aa in ?? () #6 0x080840e1 in ?? () #7 0xb6cc36fc in __libc_start_main () from /lib/libc.so.6 #8 0x08061361 in ?? () (gdb) set logging off Done logging to backtrace.log. (gdb) quit The program is running. Exit anyway? (y or n) y Hum, that's not good, all thos "(no debugging symbols found)" should disappear. You will probably need to rebuild glib, gtk, glibmm, gtkmm, gconf, libsigc++ and other deps you enabled via use flags to get a better backtrace. uff, it look like it have some debug flag: # emerge -1av app-misc/workrave These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] app-misc/workrave-1.9.0 USE="dbus nls xml -arts -debug -distribution -gnome -kde" 0 kB wouldn't be enough to compile it with debug use flag? no, USE="debug" is not enough, please read the documentation, you need symbols per used libs, CFLAGS="${CFLAGS} -g", FEATURES="$FEATURES splitdebug" otherwise your debugger won't be able to do its job. so I will add to FEATURES splitdebug my /etc/make.conf # These settings were set by the catalyst build script that automatically built this stage # Please consult /etc/make.conf.example for a more detailed example CHOST="i686-pc-linux-gnu" #CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer" CFLAGS="-march=pentium-m -O2 -ggdb" CXXFLAGS="${CFLAGS}" INPUT_DEVICES="keyboard mouse synaptics" VIDEO_CARDS="intel" #"i810 i915" USE="slang unicode -gnome -arts kde nsplugin java alsa dri nls xv qt truetype dvd xvid sdl opengl dvdread jack nptl nptlonly 7zip bluetooth faad" GENTOO_MIRRORS="rsync://192.168.1.1/gentoo-portage/distfiles rsync://192.168.1.1/gentoo-portage/ rsync://ftp6.linux.cz/pub/linux/gentoo/ rsync://ftp.fi.muni.cz/pub/linux/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo" #SYNC="rsync://192.168.1.1/gentoo-portage" PORTDIR_OVERLAY="/usr/local/portage" PORTDIR="/mnt/nfs_portage" DISTDIR="${PORTDIR}/distfiles" PKGDIR="${PORTDIR}/packages" RPMDIR="${PORTDIR}/rpm" FEATURES="-userfetch distlocks" #ALSA_CARDS="intel8x0" ALSA_CARDS="hda-intel" LINGUAS="cs us" Created attachment 199314 [details] backtrace.log so with FEATURES splitdebug on # gdb /usr/bin/workrave GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu"... (gdb) run Starting program: /usr/bin/workrave [Thread debugging using libthread_db enabled] [New Thread 0xb6c43960 (LWP 3355)] [New Thread 0xb6a86b90 (LWP 3362)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb6c43960 (LWP 3355)] 0x080a793c in SoundPlayer::sync_settings (this=0x9e46370) at SoundPlayer.cc:398 398 SoundPlayer.cc: No such file or directory. in SoundPlayer.cc (gdb) set logging file backtrace.log (gdb) set logging on Copying output to backtrace.log. (gdb) bt #0 0x080a793c in SoundPlayer::sync_settings (this=0x9e46370) at SoundPlayer.cc:398 #1 0x080a80c4 in SoundPlayer::register_sound_events (this=0x9e46370, theme=@0xbfb760e4) at SoundPlayer.cc:334 #2 0x080a81e0 in SoundPlayer (this=0x9e46370) at SoundPlayer.cc:317 #3 0x08066571 in GUI::init_sound_player (this=0x9df2ea8) at GUI.cc:888 #4 0x0806741c in GUI::main (this=0x9df2ea8) at GUI.cc:205 #5 0x080840aa in run (argc=1, argv=0xbfb76224) at main.cc:54 #6 0x080840e1 in main (argc=Cannot access memory at address 0x0 ) at main.cc:71 (gdb) set logging off Done logging to backtrace.log. (gdb) quit The program is running. Exit anyway? (y or n) y |