yelp documentation crash on link mines manual [hardy]

Bug #229668 reported by Sam_
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
yelp (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Binary package hint: yelp

Hi,
here the message in backtrace:
*** glibc detected *** yelp: corrupted double-linked list: 0x0000000001001320 ***

System: 2.6.24-16-generic amd_64 Hardy 8.04 LTS
Package: yelp 2.22.1-0ubuntu

Open the documentation, search for network, click on mines manual, result is crash.

Thanks.

Revision history for this message
Sam_ (and-sam) wrote :
Revision history for this message
Sam_ (and-sam) wrote :
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please try to obtain a valgrind log following the instructions at https://wiki.ubuntu.com/Valgrind and attach the file to the bug report. This will greatly help us in tracking down your problem.

Changed in yelp:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Sam_ (and-sam) wrote :

Sorry, I've forgot to provide the link behind mines manual:
file:///usr/share/gnome/help/gnomine/de/gnomine.xml#apt-get

Revision history for this message
Sam_ (and-sam) wrote :

Hi Pedro,
I've installed Valgrind and according the site DebbugingProgramCrash I'm supposed to download also yelp-dbgsym. I did add the suggested repositories and when aplied to download I've got the warning these are not authenticated (s. screenshot). So should I download any key to verify?

Revision history for this message
Sam_ (and-sam) wrote :

Hi Pedro,
since I didn't download yelb dbg symbols because of the message above, I provide the gdb-yelp, but as it seems I miss the debug symbols.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

there's no crash on the file you attached, are you still facing this issue?

Revision history for this message
Sam_ (and-sam) wrote :

Hi Pedro,
seems so.
Doing this:
open the documentation, search for network
- click once on Mines Manual - result: nothing happens
- double click on Mines Manual - result: window closes
Xsession.errors:
** Yelp:ERROR:(yelp-document.c:275):yelp_document_cancel_page: assertion failed: (document != NULL && YELP_IS_DOCUMENT (document))

I can reproduce this message by typing e.g. software in the search field and click once on e.g. Internet, nothing happens. Then on the same site click once on e.g. Control Center, window closes.
Exceptions e.g.:
type in the search field e.g. software and click once on About Ubuntu (it's the first link shown on this site) it works fine and information about free software appears.
or
type in the search field e.g. network and click once on Ubuntu Server Guide (it's the first link shown on this site) it works fine and information about Installing from CD ...The basic steps to install Ubuntu Server Edition from CD... appears.

Aside from this I'm able to reproduce backtrace messages in xsession.errors when doing this:
reach the site Ubuntu Server Guide like descripted above, then with right click on e.g. Wiki Applications copy and paste the path into e.g. tomboy, moving back to yelp and now click on Wiki Applications the window closes with a backtrace message, also happens by doing the same procedure with e.g. Networking in the same submenu.

Alternative, copy and paste the path of e.g. Wiki Applications, then come back and click on e.g. Networking, results backtrace.

For the record,
if I don't use the search field at all and begin from the start site "Ubuntu Help Center" clicking on any submenu everything works fine.

Revision history for this message
Sam_ (and-sam) wrote :

Hi,
this update just came in and because I'm not a programmer, just asking if there is a relation
https://bugs.launchpad.net/ubuntu/+source/yelp/+bug/254860
My steps descripted above still have the same result.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Thanks in advance.

Revision history for this message
Sam_ (and-sam) wrote :

Yep, still persists as described on an updated Hardy LTS. I don't use the search field anymore and have the same package as in the title.
** Yelp:ERROR:(yelp-document.c:275):yelp_document_cancel_page: assertion failed: (document != NULL && YELP_IS_DOCUMENT (document))

dpkg -l yelp
yelp 2.22.1-0ubuntu2. Help browser for GNOME 2
uname: 2.6.24-23-generic
lsb_release: Ubuntu 8.04.2

Revision history for this message
Sebastien Bacher (seb128) wrote :

could you try on jaunty?

Revision history for this message
Sam_ (and-sam) wrote :

Hi Sebastien,
refering to your request.
I'm on Jaunty LiveCD right now, opened Ubuntu Help and typed in the search field 'network'.
First off, the section titles are different from Hardy (there is no section 'mines manual'), so I made a right click on section title 'Synaptic Manual' to find and copy the url of 'gnomine' (which I've mentioned above).
Result, yelp closes and requests to send a crash report.
Left click on 'Synaptic Manual' results in loading, but stops after a while and nothing happens.
A left click afterwards on 'Internet and Network' subtitle 'network-manager' results in closing yelp again.
URL behind the title is: file:///usr/share/gnome/help/internet/de/internet.xml#networkmanager

Positive result e.g. left click on 'Add and Remove applications'.
URL behind the title is: file:///usr/share/gnome/help/gnome-app-install/C/gnome-app-install.xml#fdl-section3

I started yelp in the terminal.
This time the right click on 'Synaptic Manual' was positive and I could copy the URL:
file:///usr/share/gnome/help/synaptic/C/synaptic.xml#apparmor-profiles
A left click again results in a crash and a request to send a crash report. Output from terminal:
ubuntu@ubuntu:~$ yelp
I/O error : Is a directory
I/O error : Is a directory
Segmentation fault (core dumped)

Since one is presented to join a bug which is already reported, (the title 'yelp crashed with SIGSEGV in malloc()' was already filled in) I joined Bug #336963 to hopefully upload Apport crash report there automatically.
In addition I attached it here manually from /var/crash.

Revision history for this message
Sam_ (and-sam) wrote :
Revision history for this message
Sam_ (and-sam) wrote :
Download full text (9.7 KiB)

Next scenario:
Open yelp in a terminal and type in the search field 'software'.
Positive: right click on 'Add and Remove Applications' to copy the URL
file:///usr/share/gnome/help/gnome-app-install/C/gnome-app-install.xml#starting-GNOME-app-install
Positive: afterwards left click on 'Add and Remove Applications' opens correctly.

Positive: right click on 'Anwendungen hinzufügen, entfernen und aktualisieren' to copy URL
file:///usr/share/gnome/help/add-applications/de/add-applications.xml#installation-windows-ubuntu

Negative: left click on 'Anwendungen hinzufügen, entfernen und aktualisieren', result crash.
Output from terminal:
ubuntu@ubuntu:~$ yelp
Entity: line 1: parser error : Input is not proper UTF-8, indicate encoding !
Bytes: 0xB6 0x70 0x66 0x65
<snippet>...�pfen, ist es notwendig, folgende zusätzliche <em>software</em> zu
            ^
*** glibc detected *** yelp: double free or corruption (out): 0x00000000043d06c0 ***
======= Backtrace: =========
/lib/libc.so.6[0x7fabab890cb8]
/lib/libc.so.6(cfree+0x76)[0x7fabab893276]
yelp[0x419db4]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x16d)[0x7fabaceec27d]
/usr/lib/libgobject-2.0.so.0[0x7fabacf01e3b]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x7e2)[0x7fabacf03432]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_by_name+0x20c)[0x7fabacf0374c]
yelp[0x40e460]
yelp[0x4129a6]
/usr/lib/libgtk-x11-2.0.so.0(gtk_marshal_BOOLEAN__POINTER+0x98)[0x7fabae9f5a98]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x16d)[0x7fabaceec27d]
/usr/lib/libgobject-2.0.so.0[0x7fabacf01b1e]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x66d)[0x7fabacf032bd]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x83)[0x7fabacf03953]
/usr/lib/xulrunner-1.9.0.8/libxul.so[0x7faba03cc47b]
/usr/lib/xulrunner-1.9.0.8/libxul.so[0x7faba06965f1]
/usr/lib/xulrunner-1.9.0.8/libxul.so[0x7faba06aca19]
/usr/lib/xulrunner-1.9.0.8/libxul.so[0x7faba06acbb3]
/usr/lib/xulrunner-1.9.0.8/libxul.so[0x7faba06acf84]
/usr/lib/xulrunner-1.9.0.8/libxul.so[0x7faba0535fd0]
/usr/lib/xulrunner-1.9.0.8/libxul.so[0x7faba05366fa]
/usr/lib/xulrunner-1.9.0.8/libxul.so[0x7faba0536bba]
/usr/lib/xulrunner-1.9.0.8/libxul.so[0x7faba075ff35]
/usr/lib/xulrunner-1.9.0.8/libxul.so[0x7faba0761a5e]
/usr/lib/xulrunner-1.9.0.8/libxul.so[0x7faba075cb89]
/usr/lib/xulrunner-1.9.0.8/libxul.so[0x7faba0a9a261]
/usr/lib/xulrunner-1.9.0.8/libxul.so[0x7faba0a9550e]
/usr/lib/xulrunner-1.9.0.8/libxul.so[0x7faba0a956c7]
/usr/lib/libgtk-x11-2.0.so.0[0x7fabae9f9df8]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x16d)[0x7fabaceec27d]
/usr/lib/libgobject-2.0.so.0[0x7fabacf01e3b]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x66d)[0x7fabacf032bd]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x83)[0x7fabacf03953]
/usr/lib/libgtk-x11-2.0.so.0[0x7fabaeb0209e]
/usr/lib/libgtk-x11-2.0.so.0(gtk_propagate_event+0xe3)[0x7fabae9f2693]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main_do_event+0x2e3)[0x7fabae9f37b3]
/usr/lib/libgdk-x11-2.0.so.0[0x7fabae66cf3c]
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x24a)[0x7fabacc5420a]
/usr/lib/libglib-2.0.so.0[0x7fabacc578e0]
/usr/lib/libglib-2.0.so.0(g_main_loop_run+0x1cd)[0x7fabacc57dad]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xa7)[0x7fabae9f3bc7]
yelp[...

Read more...

Revision history for this message
Andrew Sayers (andrew-bugs-launchpad-net) wrote :

I'm also experiencing this bug, in Jaunty AMD64. There's no specific event that triggers the crash - the valgrind log suggests that there might be an element of randomness about the process.

I've attached the output of a `gdb` session and a separate `valgrind` session. I couldn't get the program to actually crash while running valgrind, but the log does show some definite misbehaviour. It's possible that valgrind somehow avoids actually crashing.

Revision history for this message
rusivi2 (rusivi2-deactivatedaccount) wrote :

Thank you for reporting this bug.

Does this happen in Lucid?

Revision history for this message
Sam_ (and-sam) wrote :

Did some testing.
Positive:
e.g. search network, synaptic and clicked on system monitor, synaptic manual

Positive:
search software, click on software center.

Negative:
search software, click on "use the command line", (marked the german sentence, in addition screenshot shows odd broken sub sentence)
On first click nothing happens, on second, yelp window closed.
The link behind "use command line":
file:///usr/share/gnome/help/basic-commands/de/basic-commands.xml#goscustdesk-53

Extracted yelp messages from xsession-errors.

$ dpkg -l yelp
ii yelp 2.30.0-0ubuntu2
$ uname -r
2.6.32-24-generic
$ lsb_release -d
Description: Ubuntu 10.04.1 LTS

Seems the issue may remain for some path, links or string (whatever you call it), but the question is which. Actually one could test hundreds of different search terms and click on each listing, which would take endless time, so it's rather a task for BlueGene or similar.

Revision history for this message
Sam_ (and-sam) wrote :
Changed in yelp (Ubuntu):
status: Incomplete → New
Revision history for this message
Robert Roth (evfool) wrote :

Thank you for reporting this bug to Ubuntu. Hardy reached EOL on May 12, 2011.
Please see this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

I've tried recreating this bug with Oneiric and was unable to, given the information you've provided. Please either a) upgrade and test or b) increase the verbosity of the steps to recreate it so we can try again.

Please feel free to report any other bugs you may find.

Changed in yelp (Ubuntu):
status: New → Incomplete
assignee: Ubuntu Desktop Bugs (desktop-bugs) → nobody
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for yelp (Ubuntu) because there has been no activity for 60 days.]

Changed in yelp (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.