Bluefish crashes during startup if filebrowser directory was set to root in the previous session

Bug #1317650 reported by OlivierS
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
bluefish (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

There is a bug in Bluefish 2.2.5 (which has been fixed in 2.2.6) that makes the next Bluefish startup crash if the filebrowser was set to the root directory before exit.

Bluefish 2.2.5 is part of Ubuntu 14.04. This should be replaced by 2.2.6 which fixed this bug (and a few other bugs).

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bluefish - 2.2.6-1

---------------
bluefish (2.2.6-1) unstable; urgency=medium

  * New upstream release.
    - Fixes a serious segmentation fault (LP: #1300648, #1317650).
    - Improves handling of image files in the filebrowser (LP: #1248595).
  * debian/control (Description): Fixed typo.

 -- Daniel Leidert <email address hidden> Sat, 10 May 2014 23:13:37 +0200

Changed in bluefish (Ubuntu):
status: New → Fix Released
Revision history for this message
OlivierS (olivier-olivier) wrote :

changing the status: bluefish has a fix released, but Ubuntu does not have a fix released.

Changed in bluefish (Ubuntu):
status: Fix Released → Confirmed
Revision history for this message
OlivierS (olivier-olivier) wrote :

There is a upstream patch that fixes just these issues and nothing else. Can we get a 2.2.5-2 package released?

Modified Paths:
--------------
    branches/bluefish_2_2_5-1/data/bflang/html.bflang2
    branches/bluefish_2_2_5-1/src/filebrowser2.c

Modified: branches/bluefish_2_2_5-1/data/bflang/html.bflang2
===================================================================
--- branches/bluefish_2_2_5-1/data/bflang/html.bflang2 2014-08-13 20:32:03 UTC (rev 8373)
+++ branches/bluefish_2_2_5-1/data/bflang/html.bflang2 2014-08-22 09:35:58 UTC (rev 8374)
@@ -21,7 +21,7 @@

 <!DOCTYPE bflang [
  <!ENTITY i18n "dir,lang">
- <!ENTITY univ "class,id,style=c.html.attrib.style,title">
+ <!ENTITY univ "class,id,style,title">
  <!ENTITY evnt "onclick,ondblclick,onmousedown,onmouseup,onmouseover,onmousemove,onmouseout,onkeypress,onkeydown,onkeyup">
  <!ENTITY css-selectors SYSTEM "css-selectors.bfinc">
  <!ENTITY css-rules SYSTEM "css-rules.bfinc">

Modified: branches/bluefish_2_2_5-1/src/filebrowser2.c
===================================================================
--- branches/bluefish_2_2_5-1/src/filebrowser2.c 2014-08-13 20:32:03 UTC (rev 8373)
+++ branches/bluefish_2_2_5-1/src/filebrowser2.c 2014-08-22 09:35:58 UTC (rev 8374)
@@ -2496,7 +2496,7 @@
   DEBUG_MSG("fb2_update_settings_from_session, set basedir %s\n", tmp);
   if (tmp && tmp[0]) {
    GtkTreePath *fs_path, *filter_path;
- GFile *uri = g_file_new_for_uri(strip_trailing_slash((gchar *) tmp));
+ GFile *uri = g_file_new_for_uri(strcmp(tmp,"file:///")==0?tmp:strip_trailing_slash((gchar *) tmp));
    DEBUG_MSG("fb2_update_settings_from_session, set basedir %p\n",uri);
    fb2_set_basedir(fb2, uri);
    fb2_set_dirmenu(fb2, uri, FALSE);

tags: added: patch-accepted-upstream
Changed in bluefish (Ubuntu):
status: Confirmed → Fix Released
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.