On Fri, 11 Aug 2006 19:40:31 +0200, Pierre pierre.php@gmail.com wrote:
Hello,
On 8/11/06, Enrico Tröger enrico.troeger@uvena.de wrote:
On Fri, 11 Aug 2006 17:24:40 +0200, Pierre pierre.php@gmail.com wrote:
Hello,
On 8/11/06, Enrico Tröger enrico.troeger@uvena.de wrote:
On Fri, 11 Aug 2006 01:11:27 +0200, Pierre pierre.php@gmail.com wrote:
Hello,
Using current SVN I get a reproducible segfault with the "convert tabs to space" command using a XML file (see the attachement). I use it on my amd64 station (ubuntu).
Please find as attachment the backtrace and the file to reproduce the segfault.
I can't reproduce it. Can you send the file gzipped?
Sure, please see the attachment.
I still can't reproduce it but the next text (after replacing the tabulator characters) was missing a trailing '\0' character. I guess this was the error. Can you try the current SVN version?
The problem is still here. It may occur only on 64bits platform (again :).
Perhaps, but i guess not because there are only handled characters and this filetype has 1 byte on most(all?) platforms.
Can you again try the current SVN version? I fixed a small mistake that caused to ignore the real tab width and used instead the width of 4. I don't know why I didn't see this earlier. I guess your tab width was set to 2 and then Geany allocate memory for replacing two bytes but infact it replaces four characters and this cause the segfault. Should be fixed now, thanks for pointing it out.
Regards, Enrico
-- Get my GPG key from http://www.uvena.de/pub.key