GNOME Bugzilla – Bug 530589
Yelp:ERROR:(yelp-document.c:275):yelp_document_cancel_page: assertion failed: (document != NULL && YELP_IS_DOCUMENT (document))
Last modified: 2011-04-30 15:57:33 UTC
The bug has been described on https://bugs.launchpad.net/ubuntu/+source/yelp/+bug/220142 "On 8.04 Release Candidate Yelp window closes silently and .xsession-error contains Yelp:ERROR:(yelp-document.c:275):yelp_document_cancel_page: assertion failed: (document != NULL && YELP_IS_DOCUMENT (document)) when these steps are followed: Open yelp window Go to Advanced Topics Go to Writing Your Own Programs Go to Learning how to program On my machine nothing happens except a spinning-disk pointer. Impatiently select "Learning how to program" again and Poof!" the corresponding stacktrace "#0 0xb7f74410 in __kernel_vsyscall ()
+ Trace 196460
*** Bug 530634 has been marked as a duplicate of this bug. ***
I can reproduce. Confirming and I'll investigate. Thanks.
I can confirm this bug with latest svn trunk of yelp (open help, type "startup" in search field, try opening "Disk Usage Analyzer Manual"). It's strange, because in that particular example, if you search for "baobab" and open "Disk Usage Analyzer Manual" from that list, it opens fine. Similar thing happens with Conduit's help. You can't open any topics if you open help from the program, but if you search for conduit separately by just running yelp and typing "conduit", the whole manual works fine.
*** Bug 562733 has been marked as a duplicate of this bug. ***
*** Bug 564600 has been marked as a duplicate of this bug. ***
*** Bug 568169 has been marked as a duplicate of this bug. ***
*** Bug 573839 has been marked as a duplicate of this bug. ***
I can't reproduce this anymore with yelp 2.25.1-0ubuntu2
I can still reproduce by clicking Connecting to the internet.
Created attachment 145859 [details] [review] fix g_free crasher Here's a patch from the Ubuntu bug that fixes some g_free crashers. The bug in the Ubuntu bug is against a slightly older version. Some of the g_free issues have been fixed in git. But there's one missing case, here in this patch. Patch by Bill Filler.
Created attachment 145860 [details] [review] Fix canceling page Here's another crasher patch from the Ubuntu bug, also by Bill Filler.
Instead of "the bug in the Ubuntu bug is against a slightly older version", I meant "the patch in..."
Still present on 2.29.5: ** Yelp:ERROR:yelp-document.c:275:yelp_document_cancel_page: assertion failed: (document != NULL && YELP_IS_DOCUMENT (document)) Program received signal SIGABRT, Aborted. 0x00007ffff3e25a85 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory. in ../nptl/sysdeps/unix/sysv/linux/raise.c (gdb) bt
+ Trace 220929
*** Bug 612543 has been marked as a duplicate of this bug. ***
I don't think this bug can possibly still be present in the Yelp in the git master repository, since the load cancelling code has been completely rewritten. Moreover, it seems this must have been caused by priv->current_request being other than -1 when priv->current_document was NULL in yelp-window.c. Neither of these variables exist any more. Unfortunately, I can't actually reproduce the bug in my debian Lenny kvm instance, but this might be because I haven't managed to install the right document packages to make it possible :-( However, I'm pretty certain this bug must be fixed in git and, if there's a bug with the same symptoms, it will be in completely different code from the one above, so I would suggest closing this report.
Agree with Rupert's assessment. Resolving.
*** Bug 547893 has been marked as a duplicate of this bug. ***