[Geany] Crash on some php files (opensolaris)

Nick Treleaven nick.treleaven at xxxxx
Wed Apr 23 12:25:23 UTC 2008


On Tue, 22 Apr 2008 20:39:04 +0300
"Andras Barna" <andras.barna at gmail.com> wrote:

> with -g3 and -Wdisabled-optimization

Thanks for the new trace.

Could you try the attached patch - I'm still not sure what the problem
is, but it should fix the actual reason of the segfault, and might
reveal the cause of the problem.

Maybe there is some code we should backport elsewhere in CTags, but
lregex.c and php.c don't have any relevant changes, so I'm not really
sure where to look.

One thing to try - can you print *line in the matchTagPattern() frame
of the segfault trace?

BTW, I'm not familiar with dbx, but why does the first trace for the
segfault end with the matchRegexPattern frame - is it possible to print
the frames below that? Is the second trace just for a breakpoint?

Regards,
Nick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-solaris-php-vstringncats-len-0.patch
Type: application/octet-stream
Size: 376 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20080423/100db9eb/attachment.obj>


More information about the Users mailing list