GNOME Bugzilla – Bug 363949
crash in Help: searched for nothing- th...
Last modified: 2007-08-08 20:45:05 UTC
Version: 2.16.1 What were you doing when the application crashed? searched for nothing- the search box was blank and i hit enter, and it crashed. Distribution: Ubuntu 6.10 (edgy) Gnome Release: 2.16.1 2006-10-02 (Ubuntu) BugBuddy Version: 2.16.0 Memory status: size: 117460992 vsize: 0 resident: 117460992 share: 0 rss: 34877440 rss_rlim: 0 CPU usage: start_time: 1161447035 rtime: 0 utime: 357 stime: 0 cutime:331 cstime: 0 timeout: 26 it_real_value: 0 frequency: 36 Backtrace was generated from '/usr/bin/yelp' (no debugging symbols found) Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread -1227991376 (LWP 19822)] [New Thread -1303913568 (LWP 19836)] [New Thread -1295520864 (LWP 19835)] [New Thread -1287128160 (LWP 19834)] [New Thread -1278735456 (LWP 19833)] [New Thread -1270080608 (LWP 19825)] [New Thread -1247597664 (LWP 19824)] (no debugging symbols found) 0xffffe410 in __kernel_vsyscall ()
+ Trace 77514
Thread 1 (Thread -1227991376 (LWP 19822))
Thanks for the bug report. I can confirm the bug here (without beagle running). The relevant section of the stacktrace (missing above) is: (gdb) bt ->#0 slow_search_setup (pager=0x84f4a88) at yelp-search-pager.c:1399
+ Trace 77516
Along with the error messages: (yelp:7450): Yelp-WARNING **: beagled not running, using basic search support. (yelp:7450): GLib-CRITICAL **: g_strsplit: assertion `string != NULL' failed (yelp:7450): GLib-CRITICAL **: g_strv_length: assertion `str_array != NULL' failed (yelp:7450): GLib-CRITICAL **: g_strsplit: assertion `string != NULL' failed I'll look at and fix this when I get a chance. With beagle running, no crash happens
I've committed a simple empty check on the search string. This stops the crash. This should appear in the next version of yelp (2.16.2) Closing. Thanks. 2006-10-25 Don Scorgie <dscorgie@cvs.gnome.org> * src/yelp-search-pager.c: Don't crash when searching for empty term. Bug #363949
*** Bug 362259 has been marked as a duplicate of this bug. ***
*** Bug 362113 has been marked as a duplicate of this bug. ***
*** Bug 368751 has been marked as a duplicate of this bug. ***
*** Bug 367095 has been marked as a duplicate of this bug. ***
*** Bug 369618 has been marked as a duplicate of this bug. ***
*** Bug 379774 has been marked as a duplicate of this bug. ***
*** Bug 383261 has been marked as a duplicate of this bug. ***
*** Bug 383987 has been marked as a duplicate of this bug. ***
*** Bug 384024 has been marked as a duplicate of this bug. ***
*** Bug 384217 has been marked as a duplicate of this bug. ***
*** Bug 384902 has been marked as a duplicate of this bug. ***
*** Bug 384988 has been marked as a duplicate of this bug. ***
*** Bug 386590 has been marked as a duplicate of this bug. ***
*** Bug 386730 has been marked as a duplicate of this bug. ***
*** Bug 390125 has been marked as a duplicate of this bug. ***
*** Bug 390865 has been marked as a duplicate of this bug. ***
*** Bug 390866 has been marked as a duplicate of this bug. ***
*** Bug 397805 has been marked as a duplicate of this bug. ***
*** Bug 400048 has been marked as a duplicate of this bug. ***
*** Bug 400067 has been marked as a duplicate of this bug. ***
*** Bug 403842 has been marked as a duplicate of this bug. ***
*** Bug 406512 has been marked as a duplicate of this bug. ***
*** Bug 413543 has been marked as a duplicate of this bug. ***
*** Bug 431487 has been marked as a duplicate of this bug. ***
*** Bug 456223 has been marked as a duplicate of this bug. ***
*** Bug 457189 has been marked as a duplicate of this bug. ***
*** Bug 395173 has been marked as a duplicate of this bug. ***