Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 308255 - net-im/gnome-icu segfault
Summary: net-im/gnome-icu segfault
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High critical (vote)
Assignee: Olivier Crete (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-07 16:34 UTC by derchiller
Modified: 2010-03-09 21:18 UTC (History)
1 user (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 derchiller 2010-03-07 16:34:18 UTC
I've installed gnomeicu for the first time, so no settings exist.

When i start the program, it asks me to create a new account or use an existing.
I type in my ICQ-UIN and my password.. short after this, there is the crash. The application closes itself because of a segmentation fault, what i only see, if i run the program in a terminal.

Here's the output:

__dc@chiller:~$ gnomeicu
I/O warning : failed to load external entity "/home/__dc/.icq/contacts.xml"
Segmentation fault
__dc@chiller:~$ 

The file "contacts.xml" does not exist, but i think the program should create it..

ls -l tells me, that I am the owner of this files:

__dc@chiller:~$ ls -l .icq
total 12K
drwx------ 2 __dc __dc 4.0K 2010-03-07 17:15 emoticons
drwx------ 2 __dc __dc 4.0K 2010-03-07 17:15 history
drwx------ 2 __dc __dc 4.0K 2010-03-07 17:15 icons


Reproducible: Always

Steps to Reproduce:
1. emerge gnomeicu
2. revdep-rebuild
3. give your account information and proceed

Actual Results:  
__dc@chiller:~$ gnomeicu
I/O warning : failed to load external entity "/home/__dc/.icq/contacts.xml"
Segmentation fault


Expected Results:  
using gnomeicu properly

__dc@chiller:~/.icq$ emerge --info
Portage 2.1.7.17 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q8200_@_2.33GHz-with-gentoo-1.12.13
Timestamp of tree: Sun, 07 Mar 2010 05:45:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
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"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.mneisen.org/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="64bit X a52 aac acl alsa amd64 bash-completion berkdb bzip2 cairo cflags cli consolekit cracklib crypt css cups cxx dbus dri dvd embedded encode exif extras ffmpeg flac fortran fts3 gcj gdbm gif glx gnome gpm gstreamer gtk iconv id3tag ipv6 jack joystick jpeg kde lame matroska mikmod mmx modules mp3 mpeg mudflap multilib musepack mysql ncurses nls nptl nptlonly nsplugin ogg oggvorbis opengl openmp pam pcre pdf perl png pppd python qt3support readline reflection session spl sqlite sse sse2 ssl ssse3 stream svg sysfs tcpd theora tiff truetype twolame unicode v4l v4l2 vim-syntax vorbis x264 xinerama xorg xrandr xv 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-03-07 16:50:29 UTC
Please add emerge -pv gnome-icu and a backtrace.
Comment 2 derchiller 2010-03-07 19:10:11 UTC
(In reply to comment #1)
> Please add emerge -pv gnome-icu and a backtrace.
> 

(In reply to comment #1)
> Please add emerge -pv gnome-icu and a backtrace.
> 
-----------------------------------------------------------------------------------------------------------------------------
__dc@chiller:~$ sudo emerge -pv gnomeicu
Password: 

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] net-im/gnomeicu-0.99.12  USE="-debug -spell" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

 * IMPORTANT: 3 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

-----------------------------------------------------------------------------------------------------------------------------

as note: gnomeicu is the name of the package. don't know why you renamed it, because "sudo emerge -pv gnome-icu" does cause the following:

emerge: there are no ebuilds to satisfy "gnome-icu".

-----------------------------------------------------------------------------------------------------------------------------

the backtrace:

__dc@chiller:~$ gdb gnomeicu

warning: Can not parse XML syscalls information; XML support was disabled at compile time.
GNU gdb (Gentoo 7.0 p2) 7.0
Copyright (C) 2009 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 "x86_64-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /usr/bin/gnomeicu...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/gnomeicu 
[Thread debugging using libthread_db enabled]
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.2200.4-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
I/O warning : failed to load external entity "/home/__dc/.icq/contacts.xml"

Program received signal SIGSEGV, Segmentation fault.
0x00007fffee9fd061 in strlen () from /lib/libc.so.6
(gdb) bt
#0  0x00007fffee9fd061 in strlen () from /lib/libc.so.6
#1  0x000000000044ac1f in xmlcontact_save ()
#2  0x0000000000420310 in Save_RC ()
#3  0x000000000043f404 in Add_User ()
#4  0x000000000044a74c in v7_read_contacts_list ()
#5  0x00000000004452f0 in v7_snac_channel_handler ()
#6  0x0000000000445403 in v7_handler ()
#7  0x00007fffefe97f2a in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#8  0x00007fffefe9b788 in ?? () from /usr/lib/libglib-2.0.so.0
#9  0x00007fffefe9bc5d in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#10 0x00007ffff2d83d67 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#11 0x00000000004221fa in main ()
(gdb) quit
A debugging session is active.

	Inferior 1 [process 13645] will be killed.

Quit anyway? (y or n) y
__dc@chiller:~$ 

-----------------------------------------------------------------------------------------------------------------------------

hope i've done it right, because this was the first time i've used gdb

Comment 3 Olivier Crete (RETIRED) gentoo-dev 2010-03-08 20:07:56 UTC
This is a known upstream bug:

https://bugzilla.gnome.org/show_bug.cgi?id=518180

The upstream developer (me) could not reproduce this bug.. Is it possible for you to compile gnomeicu with debug info (CFLAGS="-O2 -g" emerge gnomeicu ) and post the stack trace on the upstream bug. Thank you.
Comment 4 derchiller 2010-03-09 21:18:22 UTC
how do i do the stack trace?