Re: [fpc-devel] SYSUTILS UTF8String Memory Bug

2014-08-09 Thread Jonas Maebe
On 09/08/14 20:06, mark diener wrote: So with the memory manager changed out, the exception now occurs in the GUI main thread instead of the TThread and clearly the fpc_ansistr_decr_ref function is failing. The lines in question in .\include\application.inc:1079 are as follows: // call e

[fpc-devel] SYSUTILS UTF8String Memory Bug

2014-08-09 Thread mark diener
I have been getting some pretty strange errors on Lazarus 1.2.4/FreePascal 2.6.4 on windows 8.1 x64 It looks like some internal system memory cache is croaking while waiting for a free fixed memory chunk. This is a 2 threaded program using TThread, so the notion of a memory seg fault while "waiti

Re: [fpc-devel] Better Call Stack Information

2014-08-09 Thread Sven Barth
On 08.08.2014 16:20, mark diener wrote: Using Lazarus 1.2.4 win32 on Windows 8.1 I am getting stack traces like this: #0 SYSTEM_FINISH_WAITFIXEDLIST$PFREELISTS at :0 #1 ?? at :0 #2 ?? at :0 #3 TRPZUDPSRV__EXECWRAPPER() at C:\pdev\rpzlib\rpzudpsrv.pas:225 #4 TRPZUDPSRV__EXECUTE() at C:\pdev\rpzl

[fpc-devel] Better Call Stack Information

2014-08-09 Thread mark diener
Using Lazarus 1.2.4 win32 on Windows 8.1 I am getting stack traces like this: #0 SYSTEM_FINISH_WAITFIXEDLIST$PFREELISTS at :0 #1 ?? at :0 #2 ?? at :0 #3 TRPZUDPSRV__EXECWRAPPER() at C:\pdev\rpzlib\rpzudpsrv.pas:225 #4 TRPZUDPSRV__EXECUTE() at C:\pdev\rpzlib\rpzudpsrv.pas:171 #5 CLASSES_THREADPROC