Menu

#127 Crash on "Show split screen"

2.2.19
closed
None
2026-03-17
2026-03-15
No

(mentioned in ticket 123)

After setting "Show Split Screen" BF crashes with the following error:

**
ERROR:bftextview2_scanner.c:265:get_foundcache_at_offset: assertion failed: (btv == btv->master)
Bail out! ERROR:bftextview2_scanner.c:265:get_foundcache_at_offset: assertion failed: (btv == btv->master)
Aborted

This appears to happen only when editing in the bottom section of the split screen, and only when pressing a key, and is, unfortunately, quite reproducible.

Discussion

  • Olivier Sessink

    Olivier Sessink - 2026-03-15

    I can reproduce it! will have a look at it!

     
  • Olivier Sessink

    Olivier Sessink - 2026-03-15

    should be fixed in revision 9301.

    please test!

     
    • Lindsay Haisley

      Lindsay Haisley - 2026-03-15

      Looks good so far, Olivier! I'll let you know if it misbehaves again. Thank you SO MUCH for this. It must have been a quick-fix. I barely had time to fix a cup of coffee after I filed the ticket.

       
  • Lindsay Haisley

    Lindsay Haisley - 2026-03-15

    Sic 'em! :)

    Split screen on a code editor is incredibly useful. I've been using BF for perhaps 15 years, and this has been happening since I first started; using it. I pretty much figured that split screen was just broken, and avoided it. It would be great to have it operative.

     
    • Olivier Sessink

      Olivier Sessink - 2026-03-15

      but have you tested it?

      (b.t.w. please report next time - bluefish should never crash)

       
      • Lindsay Haisley

        Lindsay Haisley - 2026-03-15

        Yes! You'd fixed it and posted 9301 to svn before I finished replying the 1st time. I'm working on a project and will test it further by continuing my work with BF in split screen, which will be extremely useful if the bug is now dead.

         

        Last edit: Lindsay Haisley 2026-03-15
  • Lindsay Haisley

    Lindsay Haisley - 2026-03-16

    Since this ticket is still open, I should note that in the split screen mode, the tab width comes up at 8 spaces onscreen on the lower screen section, but correctly displays at 3 on the upper part of the split, as set in "Edit | Preferences | Tab width".

     
  • Olivier Sessink

    Olivier Sessink - 2026-03-16

    fixed that too, this is a regression caused by an optimization in 2.4.0 or 2.2.19 (I can't remember)

     
    • Lindsay Haisley

      Lindsay Haisley - 2026-03-16

      Because of the stability issue with split screen, you probably didn't get many, if any, bug reports on the tab width issue since it was functionally masked by the split-screen crash bug. Most folks who used BF, like me, simply avoided using split-screen mode.

      Thanks so much for your attention to Bluefish over the years. I'm pleased to have contributed to the code many years ago, introducing a simple implementation of View | Full screen which one of the regular developers took off and ran with.

       
  • Olivier Sessink

    Olivier Sessink - 2026-03-17
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB