GNOME Bugzilla – Bug 350754
Bluefish crashes when performing search with bookmark on unsaved document
Last modified: 2006-08-20 18:16:06 UTC
Distribution: Gentoo Base System version 1.6.15 Package: bluefish Severity: major Version: GNOME2.14.2 1.0.5 Gnome-Distributor: Gentoo Synopsis: Bluefish crashes when performing search with bookmark on unsaved document Bugzilla-Product: bluefish Bugzilla-Component: application Bugzilla-Version: 1.0.5 BugBuddy-GnomeVersion: 2.0 (2.15.1) Description: Description of the crash: Bluefish crashes when performing a search, overlapped and with bookmark, in an unsaved buffer (or file) that is modified (red color in the tab name). Steps to reproduce the crash: 1. Create a new empty buffer, without saving it 2. Paste some content, or write it and don't save 3. Search (CTRL+F) for whatever text using bookmark results and overlap search Expected Results: The application crashes and the Bug Buddy comes up :-) How often does this happen? Always Additional Information: I tried to search for term starting with "_" Debugging Information: Backtrace was generated from '/usr/bin/bluefish' (no debugging symbols found) Using host libthread_db library "/lib/tls/libthread_db.so.1". (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread -1495692528 (LWP 30909)] 0xffffe410 in ?? ()
+ Trace 70197
Thread 1 (Thread -1495692528 (LWP 30909))
------- Bug created by bug-buddy at 2006-08-10 15:03 -------
Thanks for the bug report. Unfortunately, that stack trace is not very useful in determining the cause of the crash. Can you get us one with debugging symbols? Please see http://live.gnome.org/GettingTraces for more information on how to do so.
Unfortunately also the stack trace is not so helpful: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1495573744 (LWP 17542)] 0xa7a23e55 in g_str_hash () from /usr/lib/libglib-2.0.so.0 What I can add is that: 1) You open Bluefish, brand new with only the first buffer available (I have lines number enabled); 2) type in something in the buffer (also withno highlight); 3) CTRL+F (search) to search some string - try also to switch first to the bookmarked result panel, which should be empty; 4) check the options overlap search and bookmark results; 5) type in the text field some text to be searched, I tried both with exitsing and not existing patterns; 6) press search and the Bluefish is getting a Segmentation Fault as reported above... I hope is of further help Bye ANdreaT
Thanks for the bug report. I am aware of this bug. A new find/replace dialog is in CVS HEAD that does not have this bug. This bug will be fixed in the 1.0.x branch of CVS if another release is made based on the current 1.0.x tree.
Fixed in the 1.0.x branch of CVS. The current bookmark code does not support setting bookmarks in unsaved files. The "bookmark results" option is disabled now if the current document is unsaved.