Discussion:
Bluefish Crashes on search and replace
Razvan Chis
2014-03-01 07:45:09 UTC
Permalink
Greetings gentlemen,
There seems to be an issue - using the latest svn code, as BF
consistently crashes if i try to perform a regular search & replace on
the attached file. The generated output is below and the search/replace
strings in this case are 'section.' and 'audiobook.'.

Regards,
Raz.

cleanup_scanner, memory scancache 0(0Kb+0Kb) found 0(0Kb) fcontext
0(0Kb) = 0Kb
cleanup_scanner, memory scancache 0(0Kb+0Kb) found 0(0Kb) fcontext
0(0Kb) = 0Kb
cleanup_scanner, memory scancache 0(0Kb+0Kb) found 0(0Kb) fcontext
0(0Kb) = 0Kb
cleanup_scanner, memory scancache 0(0Kb+0Kb) found 0(0Kb) fcontext
0(0Kb) = 0Kb
cleanup_scanner, memory scancache 0(0Kb+0Kb) found 0(0Kb) fcontext
0(0Kb) = 0Kb
cleanup_scanner, memory scancache 0(0Kb+0Kb) found 0(0Kb) fcontext
0(0Kb) = 0Kb
cleanup_scanner, memory scancache 0(0Kb+0Kb) found 0(0Kb) fcontext
0(0Kb) = 0Kb
cleanup_scanner, memory scancache 0(0Kb+0Kb) found 0(0Kb) fcontext
0(0Kb) = 0Kb
cleanup_scanner, memory scancache 0(0Kb+0Kb) found 0(0Kb) fcontext
0(0Kb) = 0Kb
cleanup_scanner, memory scancache 0(0Kb+0Kb) found 0(0Kb) fcontext
0(0Kb) = 0Kb
cleanup_scanner, memory scancache 0(0Kb+0Kb) found 0(0Kb) fcontext
0(0Kb) = 0Kb
cleanup_scanner, memory scancache 0(0Kb+0Kb) found 0(0Kb) fcontext
0(0Kb) = 0Kb
cleanup_scanner, memory scancache 0(0Kb+0Kb) found 0(0Kb) fcontext
0(0Kb) = 0Kb
cleanup_scanner, memory scancache 0(0Kb+0Kb) found 0(0Kb) fcontext
0(0Kb) = 0Kb
cleanup_scanner, memory scancache 0(0Kb+0Kb) found 0(0Kb) fcontext
0(0Kb) = 0Kb
Language statistics for SQL from
/usr/local/share/bluefish/bflang//sql.bflang2
reference size 0,00 Kbytes
largest table 1072 ( 268,00 Kbytes)
total tables 1090 ( 272,50 Kbytes)
contexts 5 ( 0,23 Kbytes)
matches 273 ( 14,93 Kbytes)
blocks 2 ( 0,06 Kbytes)
cleanup_scanner, memory scancache 0(0Kb+0Kb) found 0(0Kb) fcontext
0(0Kb) = 0Kb
cleanup_scanner, memory scancache 0(0Kb+0Kb) found 0(0Kb) fcontext
0(0Kb) = 0Kb
cleanup_scanner, memory scancache 0(0Kb+0Kb) found 0(0Kb) fcontext
0(0Kb) = 0Kb
cleanup_scanner, memory scancache 0(0Kb+0Kb) found 0(0Kb) fcontext
0(0Kb) = 0Kb
Possible error in language file, id - / pattern } has ends_context=2,
but has only 1 parent contexts
cleanup_scanner, memory scancache 0(0Kb+0Kb) found 0(0Kb) fcontext
0(0Kb) = 0Kb
Language statistics for CSS from
/usr/local/share/bluefish/bflang//css.bflang2
reference size 65,15 Kbytes
largest table 1032 ( 258,00 Kbytes)
total tables 7690 ( 1922,50 Kbytes)
contexts 119 ( 5,58 Kbytes)
matches 1147 ( 62,73 Kbytes)
blocks 1 ( 0,03 Kbytes)
cleanup_scanner, memory scancache 0(0Kb+0Kb) found 0(0Kb) fcontext
0(0Kb) = 0Kb
Possible error in language file, id - / pattern </script> has
ends_context=3, but has only 3 parent contexts
Possible error in language file, id - / pattern </script> has
ends_context=3, but has only 3 parent contexts
Possible error in language file: id </script> already exists
Possible error in language file, id - / pattern } has ends_context=2,
but has only 2 parent contexts
Possible error in language file, id - / pattern </style> has
ends_context=3, but has only 3 parent contexts
Possible error in language file: id </style> already exists
Language statistics for PHP from
/usr/local/share/bluefish/bflang//php.bflang2
reference size 870,64 Kbytes
largest table 32354 ( 8088,50 Kbytes)
total tables 89857 ( 22464,25 Kbytes)
contexts 248 ( 11,62 Kbytes)
matches 14768 ( 807,62 Kbytes)
blocks 14 ( 0,44 Kbytes)
cleanup_scanner, memory scancache 0(0Kb+0Kb) found 0(0Kb) fcontext
0(0Kb) = 0Kb
cleanup_scanner, memory scancache 0(0Kb+0Kb) found 0(0Kb) fcontext
0(0Kb) = 0Kb
cleanup_scanner, memory scancache 0(0Kb+0Kb) found 0(0Kb) fcontext
0(0Kb) = 0Kb
cleanup_scanner, memory scancache 0(0Kb+0Kb) found 0(0Kb) fcontext
0(0Kb) = 0Kb
cleanup_scanner, memory scancache 0(0Kb+0Kb) found 0(0Kb) fcontext
0(0Kb) = 0Kb
cleanup_scanner, memory scancache 0(0Kb+0Kb) found 0(0Kb) fcontext
0(0Kb) = 0Kb
cleanup_scanner, memory scancache 0(0Kb+0Kb) found 0(0Kb) fcontext
0(0Kb) = 0Kb
scanning run 1 (1 ms): 0, 0, 0, 1; from 0-1816,
loops=2101,chars=1816,blocks 63/62 (0) contexts 18/17 (0) scancache 125
memory scancache 125(2Kb+4Kb) found 63(1Kb) fcontext 18(0Kb) = 10Kb
average 1816000 chars/s 1816 chars/run
scancache integrity check done in 0,017000 ms.
ABORT: scancache_update_single_offset,
sou->found->charoffset_o(1016)+sou->prevoffset(-6)=1010 < startpos(1018)
(prevpos=1017)
**
ERROR:bftextview2_scanner.c:714:scancache_update_single_offset: code
should not be reached
Aborted
Olivier Sessink
2014-03-01 11:15:53 UTC
Permalink
Post by Razvan Chis
Greetings gentlemen,
There seems to be an issue - using the latest svn code, as BF
consistently crashes if i try to perform a regular search & replace on
the attached file. The generated output is below and the
search/replace strings in this case are 'section.' and 'audiobook.'.
Thanks, I'll have a look.

Olivier
--
Bluefish website http://bluefish.openoffice.nl/
Blog http://oli4444.wordpress.com/
Olivier Sessink
2014-03-01 21:41:21 UTC
Permalink
Post by Razvan Chis
Greetings gentlemen,
There seems to be an issue - using the latest svn code, as BF
consistently crashes if i try to perform a regular search & replace on
the attached file. The generated output is below and the
search/replace strings in this case are 'section.' and 'audiobook.'.
fixed in svn!

please test.

Olivier

Loading...