Discussion:
replace crash
clansco
2013-12-21 03:09:56 UTC
Permalink
Hi,
with bluefish2.2.4 rev8154M
in file panoramas.sh
I try to replace:
<a href="file://
with:
"

normal replace, not sensitive, no escape sequences.

crash give in console:

ABORT: tmpfound->charoffset_o(263)+sou->prevoffset(-80)=183 < startpos(239) (prevpos=0)
**
ERROR:bftextview2_scanner.c:603:scancache_update_single_offset: code should not be reached
--
Frédéric Falsetti
http://clansco.org
Olivier Sessink
2013-12-21 20:11:50 UTC
Permalink
Post by clansco
Hi,
with bluefish2.2.4 rev8154M
in file panoramas.sh
<a href="file://
"
normal replace, not sensitive, no escape sequences.
ABORT: tmpfound->charoffset_o(263)+sou->prevoffset(-80)=183 < startpos(239) (prevpos=0)
**
ERROR:bftextview2_scanner.c:603:scancache_update_single_offset: code should not be reached
I don't understand, in the attached file there are no occurences of <a
href="file:// so there is nothing to replace?

did you attach the right file?

Olivier
--
Bluefish website http://bluefish.openoffice.nl/
Blog http://oli4444.wordpress.com/
Andrius
2014-01-02 10:37:23 UTC
Permalink
I remember some months ago I also had I crash while doing simple search for a string that was not in the file. There were multiple files opened in the project, and none of them had a string that I was searching for.
Unfortunately, I was not able to reproduce this crash since then, so I did not reported it.

I think there might be the same problem with clansco file- I am not sure if anybody will be able to reproduce this crash.

Andrius
________________________________
I don't understand, in the attached file there are no occurences of <a
href="file:// so there is nothing to replace?
did you attach the right file?
Olivier
Olivier Sessink
2013-12-21 21:02:37 UTC
Permalink
Post by clansco
Hi,
with bluefish2.2.4 rev8154M
in file panoramas.sh
<a href="file://
"
normal replace, not sensitive, no escape sequences.
ABORT: tmpfound->charoffset_o(263)+sou->prevoffset(-80)=183 < startpos(239) (prevpos=0)
**
ERROR:bftextview2_scanner.c:603:scancache_update_single_offset: code should not be reached
please retry with svn revision 8189, it contains much more debugging
output to track down why this is happening. I think the assertion is not
right, so the code is causng the abort without an actually valid reason.
But I would like to see the output of your run to be sure.

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