After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 350754 - Bluefish crashes when performing search with bookmark on unsaved document
Bluefish crashes when performing search with bookmark on unsaved document
Status: RESOLVED FIXED
Product: bluefish
Classification: Other
Component: application
1.0.5
Other other
: High critical
: ---
Assigned To: Bluefish Maintainer(s)
Bluefish Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2006-08-10 15:03 UTC by Andrea Tomasini
Modified: 2006-08-20 18:16 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Andrea Tomasini 2006-08-10 15:02:48 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 ?? ()

Thread 1 (Thread -1495692528 (LWP 30909))

  • #0 ??
  • #0 ??




------- Bug created by bug-buddy at 2006-08-10 15:03 -------

Comment 1 Sergej Kotliar 2006-08-14 09:14:56 UTC
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.
Comment 2 Andrea Tomasini 2006-08-14 10:25:46 UTC
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
Comment 3 Jim Hayward 2006-08-15 01:14:59 UTC
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.
Comment 4 Jim Hayward 2006-08-20 18:16:06 UTC
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.