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.
Let me know if you need further details,
Cheers, --Pierre
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? What GLib version are you running? What encoding has the file if you open it in Geany(I know the xml tag says ISO-8859-1 but what thinks Geany)?
Regards, Enrico
-- Get my GPG key from http://www.uvena.de/pub.key
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.
What GLib version are you running?
2.10.3 (-0ubuntu1)
What encoding has the file if you open it in Geany(I know the xml tag says ISO-8859-1 but what thinks Geany)?
It sees a "UTF-8 without BOM".
It may help to reproduce the crash, I do a CTRL-A first, then I call the conversion function.
--Pierre
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?
Regards, Enrico
-- Get my GPG key from http://www.uvena.de/pub.key
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 :).
I took a closer look to the doc, it seems that one char (or a serie of "invible" chars) is the cause of the crash. If I replace them manually, everything went fine. I will give it a try later tonight or during the weekend.
Regards, --Pierre
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 :).
I took a closer look to the doc, it seems that one char (or a serie of "invible" chars) is the cause of the crash. If I replace them
Where are the chars(position)?
Regards, Enrico
-- Get my GPG key from http://www.uvena.de/pub.key
On 8/11/06, Enrico Tröger enrico.troeger@uvena.de wrote:
I took a closer look to the doc, it seems that one char (or a serie of "invible" chars) is the cause of the crash. If I replace them
Where are the chars(position)?
This part causes the segfault. If the tag is on one line. To put the <ulink...> on one line fixes the problem (line 29-30).
" This version uses the functions of the <ulink url="&url.zziplib;">ZZIPlib</ulink> library by Guido Draheim."
Regards, --Pierre
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
Hello,
On 8/12/06, Enrico Tröger enrico.troeger@uvena.de wrote:
Can you again try the current SVN version?
Fixed
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.
good catch, thanks :)
Cheers, --Pierre