Re: [fpc-devel] Stack dump with possible segfault

2014-05-13 Thread Tomas Hajny
On Mon, May 12, 2014 23:33, Johann Glaser wrote: Hi, I'm working on a project with an external library (libtcl, it is written in C) which creates some problems with back traces for exceptions. . . While not completely related to your original topic, I'd like to ask you if you decided

Re: [fpc-devel] Stack dump with possible segfault

2014-05-13 Thread Johann Glaser
Hi again! Am Montag, den 12.05.2014, 23:33 +0200 schrieb Johann Glaser: Hi! I'm working on a project with an external library (libtcl, it is written in C) which creates some problems with back traces for exceptions. If a custom TCL command raises an exception, I catch it and use the

Re: [fpc-devel] Stack dump with possible segfault

2014-05-13 Thread Sven Barth
Am 13.05.2014 21:56 schrieb Johann Glaser johann.gla...@gmx.at: As this is true for FreePascal code (I guess), this doesn't necessarily hold for external libraries as the TCL library mentioned above. News on that front: Today I investigated a duplicate key exception in

[fpc-devel] Stack dump with possible segfault

2014-05-12 Thread Johann Glaser
Hi! I'm working on a project with an external library (libtcl, it is written in C) which creates some problems with back traces for exceptions. If a custom TCL command raises an exception, I catch it and use the function DumpExceptionBackTrace to print the back trace. This function uses