Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 193436 - net-misc/gfax-0.7.6 segfault
Summary: net-misc/gfax-0.7.6 segfault
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-22 17:35 UTC by Alex
Modified: 2007-09-22 22:16 UTC (History)
0 users

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


Attachments
Log of Emerge (gfax-emerge,33.21 KB, text/plain)
2007-09-22 17:36 UTC, Alex
Details
emerge --info (emerge-info,2.94 KB, text/plain)
2007-09-22 17:42 UTC, Alex
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex 2007-09-22 17:35:03 UTC
Cannot start gfax because of mono Error after unmasking and emerge of gfax and dependency for gfax. 



Reproducible: Always

Steps to Reproduce:
1. unmasking gfax
2. emerge -v gfax
3. problems
4. unemerge
5. try reemerge 
same problem as before

Actual Results:  
gfax

(/usr/lib/gfax/gfax.exe:29893): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(/usr/lib/gfax/gfax.exe:29893): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed

(/usr/lib/gfax/gfax.exe:29893): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed
Stacktrace:

  at (wrapper managed-to-native) GConf.Client.gconf_client_get_default () <0x0000b>
  at (wrapper managed-to-native) GConf.Client.gconf_client_get_default () <0xffffffff>
  at GConf.Client..ctor () <0x0004d>
  at gfax.Settings..cctor () <0x0001c>
  at (wrapper runtime-invoke) System.Object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>
  at gfax.gfax.Main (string[]) <0xffffffff>
  at gfax.gfax.Main (string[]) <0x00537>
  at (wrapper runtime-invoke) System.Object.runtime_invoke_void_string[] (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

        mono [0x5112ff]
        mono [0x4dd57d]
        /lib/libpthread.so.0 [0x2ba6f4948fb0]
        /usr/lib/libgconf-2.so.4 [0x2aaaabcbed3e]
        [0x2aaaaad4ad80]

Debug info from gdb:

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(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]
[New Thread 47996072783584 (LWP 29893)]
[New Thread 1075988800 (LWP 29895)]
[New Thread 1073822016 (LWP 29894)]
0x00002ba6f4c63672 in select () from /lib/libc.so.6
  3 Thread 1073822016 (LWP 29894)  0x00002ba6f4948641 in ?? ()
   from /lib/libpthread.so.0
  2 Thread 1075988800 (LWP 29895)  0x00002ba6f4945726 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
  1 Thread 47996072783584 (LWP 29893)  0x00002ba6f4c63672 in select ()
   from /lib/libc.so.6

Thread 3 (Thread 1073822016 (LWP 29894)):
#0  0x00002ba6f4948641 in ?? () from /lib/libpthread.so.0
#1  0x00000000004b7cd0 in ?? ()
#2  0x00002ba6f4941135 in start_thread () from /lib/libpthread.so.0
#3  0x00002ba6f4c6962d in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 1075988800 (LWP 29895)):
#0  0x00002ba6f4945726 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1  0x00000000004c1525 in ?? ()
#2  0x00000000004c3930 in ?? ()
#3  0x00000000004c8ade in ?? ()
#4  0x000000000047f331 in ?? ()
#5  0x00000000004a5dd9 in ?? ()
#6  0x00000000004c0d37 in ?? ()
#7  0x00000000004d8282 in ?? ()
#8  0x00002ba6f4941135 in start_thread () from /lib/libpthread.so.0
#9  0x00002ba6f4c6962d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 47996072783584 (LWP 29893)):
#0  0x00002ba6f4c63672 in select () from /lib/libc.so.6
#1  0x00002ba6f47f332d in g_spawn_sync () from /usr/lib/libglib-2.0.so.0
#2  0x00002ba6f47f36f8 in g_spawn_command_line_sync ()
   from /usr/lib/libglib-2.0.so.0
#3  0x0000000000511397 in ?? ()
#4  0x00000000004dd57d in ?? ()
#5  <signal handler called>
#6  0x00002aaaabcbed3e in ?? () from /usr/lib/libgconf-2.so.4
#7  0x00002aaaabcc2544 in gconf_client_get_default ()
   from /usr/lib/libgconf-2.so.4
#8  0x00000000402292e4 in ?? ()
#9  0x00007fffb683a970 in ?? ()
#10 0x00007fffb683b240 in ?? ()
#11 0x00002aaaaba48fc0 in ?? ()
#12 0x00000000006c6740 in ?? ()
#13 0x000000004022928b in ?? ()
#14 0x0000000000774810 in ?? ()
#15 0x00007fffb683aa40 in ?? ()
#16 0x00007fffb683a900 in ?? ()
#17 0x00000000006e7588 in ?? ()
#18 0x00002aaaaad4ad80 in ?? ()
#19 0x00002aaaaba48fc0 in ?? ()
#20 0x00002aaaaba48fc0 in ?? ()
#21 0x0000000040229040 in ?? ()
#22 0x0000000000788600 in ?? ()
#23 0x00007fffb683aa40 in ?? ()
#24 0x000000004022901e in ?? ()
#25 0x0000000000770ae0 in ?? ()
#26 0x00000000006e7b68 in ?? ()
#27 0x00002aaaaba48fc0 in ?? ()
#28 0x00000000006c6740 in ?? ()
#29 0x0000000040228fb0 in ?? ()
#30 0x0000000000788630 in ?? ()
#31 0x00007fffb683aa40 in ?? ()
#32 0x0000000040228f8d in ?? ()
#33 0x00000000f4de6ee0 in ?? ()
#34 0x00000000006e1580 in ?? ()
#35 0x0000000000000000 in ?? ()
#0  0x00002ba6f4c63672 in select () from /lib/libc.so.6


=================================================================
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.
=================================================================

/usr/bin/gfax: line 32: 29893 Aborted                 mono /usr/lib/gfax/gfax.exe $@
Comment 1 Alex 2007-09-22 17:36:44 UTC
Created attachment 131611 [details]
Log of Emerge
Comment 2 Alex 2007-09-22 17:40:10 UTC
 emerge --info
--- Invalid atom in /etc/portage/package.keywords: net-misc/gfax-0.7.6
Portage 2.1.3.9 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r5 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Timestamp of tree: Fri, 21 Sep 2007 16:50:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=k8 -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/fax /usr/share/X11/xkb /usr/share/config /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=k8 -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ "
LINGUAS="de"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/xeffects"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X acl alsa amd64 berkdb bitmap-fonts cairo cli cracklib crypt cups dga directfb dri fortran gdbm glitz gnome gpm gtk iconv isdnlog kde midi mmx mmxext mudflap ncurses nls nptl nptlonly opengl openmp pam pcre perl png pni pppd python qt3 qt3support qt4 readline reflection session spl sse sse2 sse3 ssl svg tcpd truetype truetype-fonts type1-fonts unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Alex 2007-09-22 17:40:33 UTC
 emerge --info
--- Invalid atom in /etc/portage/package.keywords: net-misc/gfax-0.7.6
Portage 2.1.3.9 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r5 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Timestamp of tree: Fri, 21 Sep 2007 16:50:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=k8 -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/fax /usr/share/X11/xkb /usr/share/config /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=k8 -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ "
LINGUAS="de"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/xeffects"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X acl alsa amd64 berkdb bitmap-fonts cairo cli cracklib crypt cups dga directfb dri fortran gdbm glitz gnome gpm gtk iconv isdnlog kde midi mmx mmxext mudflap ncurses nls nptl nptlonly opengl openmp pam pcre perl png pni pppd python qt3 qt3support qt4 readline reflection session spl sse sse2 sse3 ssl svg tcpd truetype truetype-fonts type1-fonts unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 4 Alex 2007-09-22 17:42:13 UTC
 emerge --info
--- Invalid atom in /etc/portage/package.keywords: net-misc/gfax-0.7.6
Portage 2.1.3.9 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r5 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Timestamp of tree: Fri, 21 Sep 2007 16:50:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=k8 -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/fax /usr/share/X11/xkb /usr/share/config /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=k8 -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ "
LINGUAS="de"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/xeffects"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X acl alsa amd64 berkdb bitmap-fonts cairo cli cracklib crypt cups dga directfb dri fortran gdbm glitz gnome gpm gtk iconv isdnlog kde midi mmx mmxext mudflap ncurses nls nptl nptlonly opengl openmp pam pcre perl png pni pppd python qt3 qt3support qt4 readline reflection session spl sse sse2 sse3 ssl svg tcpd truetype truetype-fonts type1-fonts unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Alex 2007-09-22 17:42:54 UTC
Created attachment 131613 [details]
emerge --info
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-09-22 18:04:02 UTC
This is NOT a Gentoo Bugzilla product bug; please read the descriptions.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-09-22 18:06:22 UTC
Please, post your mono version and attach a *meaningful* backtrace...

http://www.gentoo.org/proj/en/qa/backtraces.xml
Comment 8 Alex 2007-09-22 19:21:49 UTC
(In reply to comment #7)
> Please, post your mono version and attach a *meaningful* backtrace...
> 
> http://www.gentoo.org/proj/en/qa/backtraces.xml
> 

I changed directly after my post to Gentoo Linux.

My mono Version is "dev-lang/mono-1.2.2.1" 

With -ggdb CFLAG and FEATURES="nostrip" in the make.conf and reemerge gfax with USE="debug" i get:
Earth ~ # gdb /usr/lib/gfax/gfax.exe <<<-- [link in the /usr/bin/gfax script]
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu"...
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run
Starting program: /usr/lib64/gfax/gfax.exe 
/bin/bash: /usr/lib64/gfax/gfax.exe: cannot execute binary file
/bin/bash: /usr/lib64/gfax/gfax.exe: Success

Program exited with code 01.
warning: shared library handler failed to enable breakpoint
You can't do that without a process to debug.
(gdb) quit


Then i try a reemerge with FEATURES="splitdebug", but get the same output. 

I have no idea in debugging so what can i do to get more usefully output?
Comment 9 Alex 2007-09-22 22:16:54 UTC
OK thats never happend with app before, if i start it in a Terminal it crashed, if i start it with "run Command" in KDE it works. Is this a normal behavior with mono apps?