Comment 12 for bug 228068

Revision history for this message
Cesare Tirabassi (norsetto) wrote :

I thought this could be a stack overflow since the recursion depth is quite large (around 6800).
On my machine stack size (ulimit -s) is 8M, assuming 500 bytes per recursion (see pcrestack(3)) I'm safely within the limits.
Could this be different on 32 bits machines!?
I also checked the source with Konqueror, rkward and Kate, which, to my knowledge, also use pcre_exec for pattern matching in their syntax highlighting engines and everything is fine.

Could you check just the service_eyex_fadeOutLayer function (which is where the SIGSEGV occurs)?

If it is confirmed to be a stack limitation (can you check with gdb Daniel?), there are some hints about limiting the recursion depth in pcrestack(3) which my be worth looking into.