Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 322885 - media-gfx/f-spot-0.6.{0.0,1.1-r{2,3}} segfaults
Summary: media-gfx/f-spot-0.6.{0.0,1.1-r{2,3}} segfaults
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Denis Dupeyron (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 320627
Blocks:
  Show dependency tree
 
Reported: 2010-06-05 17:46 UTC by Dustin Polke
Modified: 2010-10-01 19:42 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dustin Polke 2010-06-05 17:46:01 UTC
$ f-spot
** No session dbus found. Starting one **

(/usr/lib64/f-spot/f-spot.exe:17978): GLib-GObject-CRITICAL **: gtype.c:2458: initialization assertion failed, use IA__g_type_init() prior to this function

(/usr/lib64/f-spot/f-spot.exe:17978): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed

(/usr/lib64/f-spot/f-spot.exe:17978): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed
Stacktrace:

  at (wrapper managed-to-native) GConf.Client.gconf_client_get_default () <0x00050>
  at (wrapper managed-to-native) GConf.Client.gconf_client_get_default () <0xffffffff>
  at GConf.Client..ctor () <0x0004b>
  at FSpot.Platform.PreferenceBackend.get_Client () <0x00047>
  at FSpot.Platform.PreferenceBackend.AddNotify (string,System.EventHandler`1<FSpot.NotifyEventArgs>) <0x0006f>
  at FSpot.Preferences.get_Backend () <0x000a3>
  at FSpot.Preferences.TryGet<object> (string,object&) <0x000c3>
  at FSpot.Preferences.Get<object> (string) <0x0004f>
  at FSpot.Driver.Main (string[]) <0x0018b>
  at (wrapper runtime-invoke) FSpot.Driver.runtime_invoke_int_object (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

        mono [0x47abdc]
        mono [0x4add7f]
        /lib/libpthread.so.0 [0x7f79163a2df0]
        /usr/lib/libgconf-2.so.4 [0x7f790d76a574]
        /usr/lib/libgconf-2.so.4(gconf_client_get_default+0xc4) [0x7f790d76e1c4]
        [0x414a9220]

Debug info from gdb:


warning: Can not parse XML syscalls information; XML support was disabled at compile time.
[Thread debugging using libthread_db enabled]
[New Thread 0x7f7914bce910 (LWP 17984)]
[New Thread 0x7f7916f3b910 (LWP 17983)]
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.2200.5-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace
0x00007f79163a1c6b in read () from /lib/libpthread.so.0
  3 Thread 0x7f7916f3b910 (LWP 17983)  0x00007f79163a2571 in nanosleep () from /lib/libpthread.so.0
  2 Thread 0x7f7914bce910 (LWP 17984)  0x00007f79163a1021 in sem_wait () from /lib/libpthread.so.0
* 1 Thread 0x7f791708c730 (LWP 17978)  0x00007f79163a1c6b in read () from /lib/libpthread.so.0

Thread 3 (Thread 0x7f7916f3b910 (LWP 17983)):
#0  0x00007f79163a2571 in nanosleep () from /lib/libpthread.so.0
#1  0x0000000000563982 in ?? ()
#2  0x00007f791639b2a7 in start_thread () from /lib/libpthread.so.0
#3  0x00007f7915e888cd in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f7914bce910 (LWP 17984)):
#0  0x00007f79163a1021 in sem_wait () from /lib/libpthread.so.0
#1  0x000000000051c69a in ?? ()
#2  0x00000000004fe328 in ?? ()
#3  0x000000000054baa3 in ?? ()
#4  0x000000000056ea41 in ?? ()
#5  0x00007f791639b2a7 in start_thread () from /lib/libpthread.so.0
#6  0x00007f7915e888cd in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f791708c730 (LWP 17978)):
#0  0x00007f79163a1c6b in read () from /lib/libpthread.so.0
#1  0x000000000047ad54 in ?? ()
#2  0x00000000004add7f in ?? ()
#3  <signal handler called>
#4  0x00007f790d76a574 in ?? () from /usr/lib/libgconf-2.so.4
#5  0x00007f790d76e1c4 in gconf_client_get_default () from /usr/lib/libgconf-2.so.4
#6  0x00000000414a9220 in ?? ()
#7  0x00000000008a4930 in ?? ()
#8  0x0000000000000000 in ?? ()

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

Aborted

I've rebuilt all dotnet dependencies and mono but to no avail.

Reproducible: Always




Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.10.1-r1, 2.6.32-gentoo-r7-stable x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.32-gentoo-r7-stable-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8100_@_2.10GHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 05 Jun 2010 08:15:02 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1, 3.1.2-r3
dev-python/pycrypto: 2.1.0
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 PUEL cadsoft skype-eula"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -msse4.1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/bin/mygenkernel /usr/sbin/run-crons /usr/share/X11/xkb /usr/share/cairo-dock/plug-ins/wifi/wifi /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe -msse4.1"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests collision-protect distlocks fixpackages multilib-strict news parallel-fetch protect-owned sandbox sfperms strict test unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/     ftp://de-mirror.org/distro/gentoo/     ftp://mirror.netcologne.de/gentoo/     ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo     ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,relro -Wl,-z,now"
LINGUAS="en de"
MAKEOPTS="-j5"
PKGDIR="/home/ftp/binpkg/"
PORTAGE_COMPRESS=""
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=500"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/DuPol /var/lib/layman/alon-barlev /var/lib/layman/sping /var/lib/layman/science /var/lib/layman/sunrise /usr/local/portage/g-ctan /usr/local/portage/modified /usr/local/portage/own"
Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.10.1-r1, 2.6.32-gentoo-r7-stable x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.32-gentoo-r7-stable-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8100_@_2.10GHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 05 Jun 2010 08:15:02 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1, 3.1.2-r3
dev-python/pycrypto: 2.1.0
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 PUEL cadsoft skype-eula"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -msse4.1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/bin/mygenkernel /usr/sbin/run-crons /usr/share/X11/xkb /usr/share/cairo-dock/plug-ins/wifi/wifi /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe -msse4.1"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests collision-protect distlocks fixpackages multilib-strict news parallel-fetch protect-owned sandbox sfperms strict test unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/     ftp://de-mirror.org/distro/gentoo/     ftp://mirror.netcologne.de/gentoo/     ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo     ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,relro -Wl,-z,now"
LINGUAS="en de"
MAKEOPTS="-j5"
PKGDIR="/home/ftp/binpkg/"
PORTAGE_COMPRESS=""
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=500"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/DuPol /var/lib/layman/alon-barlev /var/lib/layman/sping /var/lib/layman/science /var/lib/layman/sunrise /usr/local/portage/g-ctan /usr/local/portage/modified /usr/local/portage/own"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X X509 Xaw3d a52 aac aalib accessibility acl acpi alsa amd64 amr amrnb amrr amrwb apm async audacious audiofile bash-completion battery berkdb bindist bl bluetooth branding bzip2 cairo cardbus cdaudio cdda cdinstall cjk cli consolekit cracklib crypt css ctype cups curl cxx dbus devil dga directfb dri dts dv dvd dvdr eds encode evo exchange exif fam fame fbcon fbcondecor fbsplash ffmpeg flac fontforge foomaticdb fortran ftp gd gdbm gif gimp git glade glitz gmp gphoto2 gs gsm gstreamer gtk gtkhtml guile hal hddtemp hdf5 iconv icq icu idn ieee1394 imagemagick imap imlib iproute2 jack java javascript jpeg jpeg2k kerberos keyscrub kino kpathsea lame lapack laptop latex lcms libcaca libnotify libsamplerate libsexy libv4l2 libwww live lm_sensors logrotate loop-aes lzma lzo mad memlimit mikmod mime mjpeg mmx mmxext mng modules mono motif mp2 mp3 mp4 mpeg mplayer mudflap multilib musepack ncurses nls nntp nowin nptl nptlonly nsplugin ntp nuv nvidia ods ogg opengl openmp opensslcrypt pam pch pcmcia pcre pda pdf perl plotutils png posix ppds pppd print python qt3support quicktime readline reflection rtsp ruby rubytests samba sasl schroedinger sdl server session simplexml slang sndfile soap sockets sou speex spell spl sse sse2 sse3 sse4.1 ssl ssse3 startup-notification stream subversion svg swat sysfs syslog system-sqlite tcpd tga theora threads tiff truetype unicode usb userlocales v4l v4l2 vcd vdpau vim-syntax vim-with-x vorbis wcwidth wifi winbind wma wmf wxwindows x264 xanim xcomposite xfce xinetd xls xml xmp xorg xpm xsl xterm-color xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel mpu401" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="fuji ptp2" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS_FLAGS

=================================================================
                        Package Settings
=================================================================

media-gfx/f-spot-0.6.1.1-r3 was built with the following:
USE="(multilib) -beagle -debug -flickr"
Comment 1 Michael Weber (RETIRED) gentoo-dev 2010-06-06 22:22:11 UTC
Hi Dustin,
i assume your `revdep-rebuild --ignore` was empty.
Comment 2 Dustin Polke 2010-06-07 09:39:45 UTC
(In reply to comment #1)
> Hi Dustin,
> i assume your `revdep-rebuild --ignore` was empty.
> 
Yes, it is empty. I needed to rebuild quite a lot packages after updating dev-libs/icu and no broken packages are found by revdep-rebuild now.
Comment 3 Dustin Polke 2010-06-30 19:38:37 UTC
I found that this happens with openbox running as X session.
If I use Xvfb to access the session with tightvnc from another box, the segfault does not happen and f-spot runs normally.

Any ideas how to proceed to get more hints what's going wrong?
Comment 4 Tim Ryan 2010-07-19 21:16:08 UTC
(In reply to comment #3)
> I found that this happens with openbox running as X session.
> If I use Xvfb to access the session with tightvnc from another box, the
> segfault does not happen and f-spot runs normally.
> 
> Any ideas how to proceed to get more hints what's going wrong?
>

I have this same problem when running KDE as my desktop. If I run gnome, f-spot runs fine.

f-spot-0.6.1.1-r3
Comment 5 Tim Ryan 2010-07-20 17:22:44 UTC
Is there a fix coming for this? Or at least a workaround? It's a pain to switch to gnome whenever I want to look at or upload pictures.
Comment 6 Tim Ryan 2010-07-24 22:54:11 UTC
The new version on Mono seems to have fixed this problem. Works fine for me now.
Comment 7 Dustin Polke 2010-08-01 15:55:22 UTC
(In reply to comment #6)
> The new version on Mono seems to have fixed this problem. Works fine for me
> now.
> 
Not for me :-/
Comment 8 Jack 2010-09-06 23:32:57 UTC
0.7.x are unstable development releases.  Will there be an ebuild for 0.6.2?  I have a crash, but figure I should try the latest version before reporting.
Comment 9 Dustin Polke 2010-09-15 19:56:51 UTC
I think I found the problem for this. Because I use Xvfb at work to access my laptop and otherwise X directly, I looked at the difference between both configurations as with Xvfb I don't see the segfault. 

(In reply to comment #0)
> $ f-spot
> ** No session dbus found. Starting one **

This only is output when f-spot segfaults.
The difference between both configurations is the call of openbox-session.
While I use 'dbus-launch openbox-session' in my Xvfb startup script,the normal X session is started from /etc/X11/Sessions/openbox which just calls openbox-session.
Changing the call in /etc/X11/Sessions/openbox to 'dbus-launch /usr/bin/openbox-session' results in a proper f-spot startup. 
Comment 10 Pacho Ramos gentoo-dev 2010-10-01 19:42:31 UTC
+*f-spot-0.8.0 (01 Oct 2010)
+
+  01 Oct 2010; Pacho Ramos <pacho@gentoo.org> +f-spot-0.8.0.ebuild,
+  +files/f-spot-0.8.0-empty-crash.patch:
+  Version bump with a ton of upstream fixes (bug #320627, thanks a lot to
+  Samuli Suominen for showing me how to properly run eautoreconf). Fixed
+  some opened bug reports:
+  - RDEPEND on media-gfx/dcraw when wanted (bug #227411 by uzytkownik).
+  - 'low image quality' issues reported in bug #285064 by Daniel Drake
+  should be solved by upstream.
+  - Looks to solve location issues reported in bug #299487 by Marcello
+  Magaldi.
+  - Seems to not show any DB problem as reported in bug #302926 by Oo.et.oO.
+  - It should fix problems with facebook extension (bug #306745 by Jacob
+  Godserv fixed by upstream).
+  - Build system looks parallel build safe (bug #321377 by Michael Weber).
+  - Doesn't segfault as reported in bug #322885 by Dustin Polke (tested by
+  me on icewm).
+  Related with ebuild changes: documentation configure option is now being
+  passed behind 'doc' USE flag, configure options are now passed in
+  pkg_setup as done in most ebuilds inheriting gnome2.eclass, added
+  previously missing gnome2_src_prepare call, drop unneeded
+  SCROLLKEEPER_UPDATE=0.
+