yelp_document_get_page: assertion failed: (document != NULL && YELP_IS_DOCUMENT (document))

Bug #230439 reported by Pete Deremer
4
Affects Status Importance Assigned to Milestone
yelp (Ubuntu)
Triaged
Undecided
Stephan Rügamer

Bug Description

Binary package hint: yelp

Installed Version: 2.22.1-0ubuntu2

When going back to the first page opened in yelp, the program crashes with the following error.
Crashes everytime.

** Yelp:ERROR:(yelp-document.c:217):yelp_document_get_page: assertion failed: (document != NULL && YELP_IS_DOCUMENT (document))

Backtrace:
Starting program: /usr/bin/yelp /usr/share/loud/help/tutorials/main-page.xml
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(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]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread 0xb6d08940 (LWP 6817)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread 0xb5c51b90 (LWP 6822)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread 0xb4faab90 (LWP 6823)]
[New Thread 0xb47a9b90 (LWP 6824)]
[New Thread 0xb3fa8b90 (LWP 6825)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
**
** Yelp:ERROR:(yelp-document.c:217):yelp_document_get_page: assertion failed: (document != NULL && YELP_IS_DOCUMENT (document))
[New Thread 0xb3659b90 (LWP 6826)]
[New Thread 0xb2cffb90 (LWP 6827)]
[Thread 0xb3659b90 (LWP 6826) exited]
[Thread 0xb2cffb90 (LWP 6827) exited]
[New Thread 0xb2cffb90 (LWP 6828)]
[New Thread 0xb3659b90 (LWP 6830)]
[New Thread 0xb1cffb90 (LWP 6831)]
[Thread 0xb3659b90 (LWP 6830) exited]
[Thread 0xb1cffb90 (LWP 6831) exited]

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb6d08940 (LWP 6817)]
0xb7f9e410 in __kernel_vsyscall ()

Revision history for this message
Richard Seguin (sectech) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. However, your crash report is either missing or challenging to deal with as a ".crash" file. Please follow these instructions to have apport report a new bug about your crash that can be dealt with by the automatic retracer.

If you are running the Ubuntu Stable Release you might need to enable apport in /etc/default/apport and restart.

If you are using Ubuntu with the Gnome desktop environment - launch nautilus and navigate to your /var/crash directory and double click on the crash report you wish to submit.
If you are using Kubuntu or Xubuntu you can file the crash using /usr/share/apport/apport-qt --crash-file=/var/crash/_my_crash_report.crash in a terminal - where _my_crash_report.crash is the crash you would like to report.

I'm closing this bug report since the process outlined above will automatically open a new bug report which can then dealt with more efficiently. Thanks in advance for your cooperation and understanding.

Changed in yelp:
status: New → Invalid
Revision history for this message
Pete Deremer (sportman1280-deactivatedaccount) wrote :

I saw nothing about a .crash file.... what i saw was it asking for a backtrack and such...glad to waste my time

Revision history for this message
Greg Grossmeier (greg.grossmeier) wrote :

Reopening as there was no .crash file created.

To the reporter: 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.

description: updated
Changed in yelp:
status: Invalid → Incomplete
Revision history for this message
Pete Deremer (sportman1280-deactivatedaccount) wrote :

My bad. Didn't think it was needed in this situation. Here is the valgrind log.

Revision history for this message
Pete Deremer (sportman1280-deactivatedaccount) wrote :

redid the backtrace

Revision history for this message
Pete Deremer (sportman1280-deactivatedaccount) wrote :

(gdb) run /usr/share/loud/help/tutorials/main-page.xml
Starting program: /usr/bin/yelp /usr/share/loud/help/tutorials/main-page.xml
[Thread debugging using libthread_db enabled]
[New Thread 0xb6c95940 (LWP 8742)]
[New Thread 0xb5bdeb90 (LWP 8743)]
[New Thread 0xb4f37b90 (LWP 8744)]
[New Thread 0xb4736b90 (LWP 8745)]
[New Thread 0xb3f35b90 (LWP 8746)]
**
** Yelp:ERROR:(yelp-document.c:217):yelp_document_get_page: assertion failed: (document != NULL && YELP_IS_DOCUMENT (document))
[New Thread 0xb35e6b90 (LWP 8747)]
[New Thread 0xb29ffb90 (LWP 8748)]
[Thread 0xb35e6b90 (LWP 8747) exited]
[Thread 0xb29ffb90 (LWP 8748) exited]
[New Thread 0xb29ffb90 (LWP 8749)]
[New Thread 0xb35e6b90 (LWP 8751)]
[New Thread 0xb21feb90 (LWP 8752)]
[Thread 0xb35e6b90 (LWP 8751) exited]
[Thread 0xb21feb90 (LWP 8752) exited]

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb6c95940 (LWP 8742)]
0xb7f2b410 in __kernel_vsyscall ()
(gdb) bt full
#0 0xb7f2b410 in __kernel_vsyscall ()
No symbol table info available.
Cannot access memory at address 0xbf83543c
(gdb) thread apply all bt
Cannot find new threads: generic error

Revision history for this message
Pete Deremer (sportman1280-deactivatedaccount) wrote :

main index page being used.

Revision history for this message
Pete Deremer (sportman1280-deactivatedaccount) wrote :

this is a subpage for the main page. just change the link in the main-page so they link right. should be able to test it this way.

Revision history for this message
Stephan Rügamer (sruegamer) wrote :

Assigned to me...trying to fix it for intrepid...no promise for hardy.

Changed in yelp:
assignee: nobody → shermann
status: Incomplete → Triaged
Revision history for this message
Pete Deremer (sportman1280-deactivatedaccount) wrote :

also, here is the use case

<jderemer> we are creating help documenation for our users
<jderemer> basically we have a series of .xml files that are designed for use in the yelp program.
<jderemer> with these the program opens, you can go a couple pages in
<jderemer> then go back wards find
<jderemer> but when you try to use the back button to get back to the index page (or the first page you opened) it crashes

Revision history for this message
Greg Grossmeier (greg.grossmeier) wrote :

Pete, concerning the apport not reporting this crash correctly issue, could you look at bug 230499 and provide any information that they need to help diagnose that issue?

Thanks!

Revision history for this message
Pete Deremer (sportman1280-deactivatedaccount) wrote :

Of course.

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.