Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136761 - yelp-2.14.1 dies when opening Bash info page
Summary: yelp-2.14.1 dies when opening Bash info page
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://bugzilla.gnome.org/show_bug.cg...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-14 04:28 UTC by Ian Abbott
Modified: 2006-12-18 01:15 UTC (History)
1 user (show)

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


Attachments
Back trace (yelp.bt,14.37 KB, text/plain)
2006-06-20 14:31 UTC, Daniel Gryniewicz (RETIRED)
Details
Possible fix (seems to work for bash info page at least) (yelp-2.14.1-info-fix.patch,2.95 KB, patch)
2006-06-21 04:14 UTC, Ian Abbott
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Abbott 2006-06-14 04:28:07 UTC
Running yelp and navigating to "Command Line Help" --> "GNU Info Pages" --> "Basics" --> "Bash" results in an error dialog box: The Application "yelp" has quit unexpectedly.  The left-hand panel contains a single entry, "Top".  The right-hand panel still contains the "Basics" page.

Doing the same thing with the --disable-crash-dialog option produces a "Segmentation fault".

Note that my yelp also suffers from bug #132527 (yelp 2.14.1 info.xml error), but I'm not sure if that is relevant.

It could be a bug in the bash info pages, but they work fine in GNU info.

Some info:

$ emerge -pv bash
[ebuild   R   ] app-shells/bash-3.1_p17  USE="nls -afs -bashlogger -build" 0 kB

$ emerge -pv yelp
[ebuild   R   ] gnome-extra/yelp-2.14.1  USE="firefox -debug" 0 kB

$ emerge --info
Gentoo Base System version 1.12.1
Portage 2.1 (default-linux/x86/no-nptl/2.4, gcc-4.1.1/vanilla, glibc-2.3.6-r4, 2.6.16-ija1 i686)
=================================================================
System uname: 2.6.16-ija1 i686 AMD Duron(tm) processor
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
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-r2
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.4.26-r1
ACCEPT_KEYWORDS="x86 ~amd64 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon -O2 -pipe"
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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon -O2 -pipe"
DISTDIR="/work/portage/distfiles"
FEATURES="autoconfig confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_GB.UTF-8"
LINGUAS="en_GB"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac alsa apm arts avi berkdb bitmap-fonts bzip2 cdr cjk cli crypt cups curl doc dri eds emboss encode expat firefox flac flash foomaticdb fortran gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml idn imagemagick imlib ipv6 isdnlog java jpeg kde lcms ldap libg++ libwww mad mikmod mmx mng motif mozsvg mp3 mpeg ncurses nls no-helper nsplugin offensive ogg opengl oss pam pcre pdflib perl plotutils png pppd python qemu-fast qt quicktime readline reflection samba sdl session slang softmmu spell spl ssl svg tcltk tcpd threads tiff truetype truetype-fonts type1-fonts unicode usb vorbis win32codecs xine xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en_GB userland_GNU video_cards_radeon video_cards_ati video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Ian Abbott 2006-06-19 00:18:21 UTC
The same thing happens on my amd64 system at home. Info:

# emerge -pv bash
[ebuild   R   ] app-shells/bash-3.1_p17  USE="nls -bashlogger -build" 0 kB

# emerge -pv yelp
[ebuild   R   ] gnome-extra/yelp-2.14.1  USE="firefox -debug" 0 kB

# emerge --info
Gentoo Base System version 1.12.1
Portage 2.1 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.16-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3000+
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
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-r2
sys-devel/gcc-config: [Not Present]
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
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/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ "
LINGUAS="en_GB"
MAKEOPTS="-j2"
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://nyan.homenet/gentoo-portage"
USE="amd64 X a52 aac acpi alsa apache2 ares arts audiofile avi berkdb bitmap-fonts bl bonobo bzip2 cdda cdr cli crypt cups curl dbus dri dvd dvdr dvdread eds emboss encode esd exif ffmpeg firefox flac foomaticdb fortran gdbm gif gimpprint gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal idn imagemagick imap imlib ipv6 isdnlog java jpeg kde lcms lm_sensors lzw lzw-tiff mad matroska mime mng mp3 mpeg mplayer ncurses nethack nls nptl nsplugin ntfs offensive ogg opengl pam pcre pdflib perl png ppds pppd python qt quicktime readline reflection reiserfs ruby samba screen sdl session slang smime spell spl ssl subp subtitles svg tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb vcd vorbis xine xml xorg xpm xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en_GB userland_GNU video_cards_fglrx video_cards_vesa video_cards_vga video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Comment 2 Daniel Gryniewicz (RETIRED) gentoo-dev 2006-06-20 14:30:25 UTC
Also reproducable here.  Upstream bug is:
http://bugzilla.gnome.org/show_bug.cgi?id=318996
Comment 3 Daniel Gryniewicz (RETIRED) gentoo-dev 2006-06-20 14:31:37 UTC
Created attachment 89662 [details]
Back trace
Comment 4 Ian Abbott 2006-06-21 04:14:51 UTC
Created attachment 89709 [details, diff]
Possible fix (seems to work for bash info page at least)

It was fixed in Gnome 2.15 CVS already. This is my feeble to backport the fix to 2.14. I am not a GNOME programmer, but it seems to work for the Bash info page at least.  The patch seems to work for yelp-2.14.0 and yelp-2.14.1.
Comment 5 Daniel Gryniewicz (RETIRED) gentoo-dev 2006-06-21 14:47:20 UTC
It's certainly not fixed in 2.15.1, which is what I'm using.  I'll look into the fix.  Is there an upstream bug for that fix?
Comment 6 Ian Abbott 2006-06-26 15:39:57 UTC
Upstream bug is http://bugzilla.gnome.org/show_bug.cgi?id=336838 (or maybe one of the duplicates).

BTW, my patch also works for yelp-2.14.2 (no ebuild in Gentoo portage yet).
Comment 7 Ian Abbott 2006-06-26 15:45:33 UTC
My patch was based on this CVS commit (but not all of it applies to yelp-2.14.(x<=2)):

http://cvs.gnome.org/viewcvs/yelp/src/yelp-info-parser.c?r1=1.17&r2=1.18
Comment 8 Jie Luo 2006-07-02 19:20:32 UTC
The same as I report in #138585. It also crash when open "Command Line Help" --> "GNU Info Pages" --> "Emacs" --> "Emacs", and print following message in the console.

(yelp:21385): Yelp-CRITICAL **: yelp_io_channel_new_file: assertion `file !=
NULL' failed

(yelp:21385): GLib-CRITICAL **: g_io_channel_read_to_end: assertion `channel !=
NULL' failed
Comment 9 Mart Raudsepp gentoo-dev 2006-12-18 01:15:47 UTC
I can't reproduce this with 2.16. As the comments seem to indicate that it was fixed during the 2.15 development cycle, and 2.16 is stable by now on main arches I'm closing this bug as fixed. Please re-open if the problem still happens with yelp-2.16.x