Discussion:
Bluefish crashes while editing diff file
Andrius
2014-01-03 15:41:28 UTC
Permalink
Open attached file.
Move cursor to position 4, just in front of "gtkaboutdialog.c    2013-01-07 12:50:03.000000000 +0200" string.
Then enter any character - bluefish crashes with stack trace

0   bluefish-bin                      0x000000010ba59052 reconstruct_scanning + 114
1   bluefish-bin                      0x000000010ba59770 bftextview2_run_scanner + 1264
2   bluefish-bin                      0x000000010ba3af82 bftextview2_scanner_scan + 210
3   bluefish-bin                      0x000000010ba3b0ba bftextview2_scanner_idle + 106
4   libglib-2.0.0.dylib               0x000000010ccbb73b g_idle_dispatch + 91
5   libglib-2.0.0.dylib               0x000000010ccb84e0 g_main_dispatch + 496
6   libglib-2.0.0.dylib               0x000000010ccb9404 g_main_context_dispatch + 52
7   libglib-2.0.0.dylib               0x000000010ccb9670 g_main_context_iterate + 592
8   libglib-2.0.0.dylib               0x000000010ccb9bf8 g_main_loop_run + 568
9   libgtk-3.0.dylib                  0x000000010c120cab gtk_main + 123
10  bluefish-bin                      0x000000010ba3a36d main + 1357
11  bluefish-bin                      0x000000010ba348b4 start + 52

Also attaching log file.
Andrius
Olivier Sessink
2014-01-03 20:11:32 UTC
Permalink
Post by Andrius
Open attached file.
Move cursor to position 4, just in front of "gtkaboutdialog.c
2013-01-07 12:50:03.000000000 +0200" string.
Then enter any character - bluefish crashes with stack trace
the segfault was in a debug statement, trying to print
found->charoffset_o for a found of NULL.

fixed in svn, and unset the debug define.

Olivier
--
Bluefish website http://bluefish.openoffice.nl/
Blog http://oli4444.wordpress.com/
Loading...