Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141502 - Yelp crashes right after start
Summary: Yelp crashes right after start
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on: 145428
Blocks:
  Show dependency tree
 
Reported: 2006-07-23 08:25 UTC by vadik56
Modified: 2006-11-29 15:55 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 vadik56 2006-07-23 08:25:23 UTC
yelp crashes every time right after it is started on all my 3 gentoo boxes: two i686 and amd64.
Here is backtrace:

This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".

gdb> run
[Thread debugging using libthread_db enabled]
[New Thread -1227708752 (LWP 21254)]
settings_update
yelp_doc_info_get
  uri     = "x-yelp-toc:"
yelp_doc_info_new
  uri      = "x-yelp-toc:"
  full_uri = "x-yelp-toc:"
  doc_uri  = "file:///usr/share/yelp/toc.xml"
yelp_doc_add_uri
  uri      = "file:///usr/share/yelp/toc.xml"
  num_uris = 1
  max_uris = 8
yelp_doc_add_uri
  uri      = "x-yelp-toc:"
  num_uris = 2
  max_uris = 8
[New Thread -1230144592 (LWP 21260)]
Yelper ctor [0x8113870]
[New Thread -1258988624 (LWP 21261)]
yelp_window_load
  uri = "x-yelp-toc:"
yelp_doc_info_get
  uri     = "x-yelp-toc:"
window_do_laod
toc_pager_process
pager_start_cb
  page_id="index"
yelp_doc_info_get
  uri     = "file:///usr/share/gnome/help/gnome-doc-xslt/C/gnome-doc-xslt.xml"
yelp_doc_info_new
  uri      = "file:///usr/share/gnome/help/gnome-doc-xslt/C/gnome-doc-xslt.xml"

Program received signal SIG33, Real-time event 33.
[Switching to Thread -1258988624 (LWP 21261)]
Error while running hook_stop:
Invalid type combination in ordering comparison.
0xffffe410 in __kernel_vsyscall ()
gdb> backtrace
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb702ffac in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb705ed35 in PR_Lock () from /usr/lib/nspr/libnspr4.so.6
#3  0xb4f553a0 in ?? ()
#4  0xb7fd3fd4 in ?? () from /lib/ld-linux.so.2
#5  0xb7030953 in pthread_getspecific () from /lib/libpthread.so.0
#6  0x00000000 in ?? ()

emerge --info:
Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r13 i686)
=================================================================
System uname: 2.6.16-gentoo-r13 i686 AMD Duron(tm) Processor
Gentoo Base System version 1.6.15
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-tbird -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon-tbird -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer nostrip sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en_CA ru_RU fr_CA"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac aalib accessibility acpi alsa amuled apache2 arts artswrappersuid artworkextra audiofile avi bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli cpudetection crypt css cups curl dbus dlloader doc dri dv dvd dvdr dvdread eds emboss emoticon encode esd exif fam fame fat fbcon ffmpeg firefox foomaticdb fortran gdbm gif gimp glibc-omitfp gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal hddtemp hfs icc idn ieee1394 imap imlib ipv6 isdnlog java javascript jfs jpeg kde kdeenablefinal kqemu lcms libcaca libg++ libwww live lm_sensors mad maildir matrox mikmod mjpeg mmx mmxext mng motif mp3 mp4live mpeg mpeg2 msn multiuser nautilus ncurses network new-login nforce2 nls nptl nptlonly nsplugin ntfs nvidia offensive ogg opengl oss pam pango pcre pdf pdflib perl pmu png ppds pppd python qmail qt qt3 qt4 quicktime rar readline real reflection reiser4 reiserfs remote samba scanner sdl sensord session sms softmmu speech spell spl sse sse-filters sse2 ssl symlink tcpd theora thesaurus tiff truetype truetype-fonts type1-fonts udev unicode usb vcd vim-with-x vorbis wifi win32codecs wma xine xml xml2 xmms xorg xscreensaver xv zeroconf zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en_CA linguas_ru_RU linguas_fr_CA userland_GNU video_cards_nvidia video_cards_nv video_cards_vesa video_cards_vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2006-07-23 10:42:19 UTC
Could you try rebuilding yelp with USE=debug, FEATURES=nostrip and CFLAGS="-02 -pipe -g" to provide a more helpful trace ?

Did you build against Firefox (I see the firefox use flag, just checking)? Does firefox show any issues?
Comment 2 vadik56 2006-07-23 12:43:44 UTC
>>Did you build against Firefox (I see the firefox use flag, just checking)? Does
firefox show any issues?
It was built against firefox and I dont have any problems with firefox.
I rebuilt yelp with USE="firefox debug" and CFLAGS="-02 -pipe -g". However the backtrace looks exactly the same.
Comment 3 vadik56 2006-07-23 15:51:43 UTC
I also rebuilt glibc and nspr with USE="firefox debug" and CFLAGS="-02 -pipe -g".
Here is new backtrace:
Program received signal SIG33, Real-time event 33.
[Switching to Thread -1258955856 (LWP 23683)]
0xffffe410 in __kernel_vsyscall ()
(gdb) backtrace
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7014ecc in pthread_cond_timedwait@@GLIBC_2.3.2 () at pthread_cond_timedwait.S:175
#2  0xb7042a64 in pt_TimedWait (cv=0x81100b4, ml=0x8110050, timeout=1153694837) at ptsynch.c:280
#3  0xb7043270 in PR_WaitCondVar (cvar=0x81100b0, timeout=9546) at ptsynch.c:407
#4  0xb6dbf2ae in nsIThread::IsMainThread () from /usr/lib/mozilla-firefox/libxpcom_core.so
#5  0xb6dbd1ab in nsIThread::IsMainThread () from /usr/lib/mozilla-firefox/libxpcom_core.so
#6  0xb7049f18 in _pt_root (arg=0x8354a68) at ptthread.c:220
#7  0xb7012380 in start_thread (arg=0xb4f5dbb0) at pthread_create.c:261
#8  0xb6eacf4e in clone () from /lib/libc.so.6

Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2006-07-24 00:58:05 UTC
sorry for not spotting this earlier, but Yelp isn't segfaulting in your backtraces, it's just waiting for a signal to be sent.

Could you execute "handle SIG33 nostop noprint" in the gdb prompt before executing "run" ? Thanks.
Comment 5 vadik56 2006-07-25 16:13:42 UTC
Here is backtrace. However I can only reproduce this bug if glibc is compiled with CFLAGS="-march=athlon-tbird -O2 -pipe". If it is compiled with CFLAGS="-O2 -pipe -g" then yelp works fine.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1227872592 (LWP 24838)]
Error while running hook_stop:
Invalid type combination in ordering comparison.
0xb746d330 in ORBit_free_T () from /usr/lib/libORBit-2.so.0
gdb> bt
#0  0xb746d330 in ORBit_free_T () from /usr/lib/libORBit-2.so.0
gdb>
Comment 6 Rémi Cardona (RETIRED) gentoo-dev 2006-07-26 00:51:34 UTC
If you have some time to rebuild glibc one more time, could you try with -march=athlon instead of athlon-tbird ?

Thanks
Comment 7 Leonardo Boshell (RETIRED) gentoo-dev 2006-07-26 01:34:59 UTC
Mmm, that free() from ORBit may be related to a bug in at-spi that was fixed around version 1.7.8 and is partially fixed with the patch from bug #132019. So another suggestion would be to try emerging the latest at-spi (1.7.10) and see if yelp keeps crashing afterwards.
Comment 8 vadik56 2006-07-26 10:50:50 UTC
If I recompile glibc with -march=athlon I still get this problem.
However after I emerged at-spi-1.7.10 I could not reproduce this bug anymore.
Comment 9 Andrew Dorney 2006-08-28 08:46:11 UTC
(In reply to comment #8)
> If I recompile glibc with -march=athlon I still get this problem.
> However after I emerged at-spi-1.7.10 I could not reproduce this bug anymore.
> 

I can confirm that upgrading from at-spi-1.7.7-r1 to 1.7.10 (and 1.7.11) fixed this bug for me (amd64). I can supply emerge --info if necessary. :)
Comment 10 Daniel Gryniewicz (RETIRED) gentoo-dev 2006-08-28 18:08:19 UTC
I've entered bug #145428 to request 1.7.10 go stable.
Comment 11 Saleem Abdulrasool (RETIRED) gentoo-dev 2006-11-29 15:55:08 UTC
at-spi is now stable, marking as fixed.