[Pkg-pascal-devel] Bug#943600: lazarus autopkgtest intermittedly fails due to EAccessViolation: Access violation

Abou Al Montacir abou.almontacir at sfr.fr
Fri Nov 15 22:00:35 GMT 2019


Control: forwarded -1 https://bugs.freepascal.org/view.php?id=36318

I've tried to debug this issue but it seems more difficult than I thought.
It looks like some class instance is freed twice which results in access
violation on the second attempt to free it.

Modified code results in the following logs:

(1008) 3534 lines compiled, 0.6 sec
(1021) 4 warning(s) issued
(1022) 30 hint(s) issued
(1023) 3 note(s) issued
+TAbstractExternalTool.EnterCriticalSection: FWorkerMessages = 00007FFFF7A17940
-TAbstractExternalTool.EnterCriticalSection
+TAbstractExternalTool.LeaveCriticalSection: FWorkerMessages = 00007FFFF7A17940
-TAbstractExternalTool.LeaveCriticalSection
Warning: (lazarus) [TLazPackageGraph.ConvertPackageRSTFiles] skipping read only
directory /usr/lib/lazarus/2.0.6/components/sparta/dockedformeditor/language/
+TAbstractExternalTool.EnterCriticalSection: FWorkerMessages = 00007FFFF7A17940
-TAbstractExternalTool.EnterCriticalSection
+TAbstractExternalTool.EnterCriticalSection: FWorkerMessages = 00007FFFF7A17940
-TAbstractExternalTool.EnterCriticalSection
+TAbstractExternalTool.LeaveCriticalSection: FWorkerMessages = 00007FFFF7A17940
-TAbstractExternalTool.LeaveCriticalSection
+TAbstractExternalTool.LeaveCriticalSection: FWorkerMessages = 00007FFFF7A17940
-TAbstractExternalTool.LeaveCriticalSection
+TAbstractExternalTool.EnterCriticalSection: FWorkerMessages = 00007FFFF7A17940
-TAbstractExternalTool.EnterCriticalSection
+TAbstractExternalTool.EnterCriticalSection: FWorkerMessages = 00007FFFF7A17940
+TAbstractExternalTool.LeaveCriticalSection: FWorkerMessages = 00007FFFF7A17940
-TAbstractExternalTool.LeaveCriticalSection
+TAbstractExternalTool.EnterCriticalSection: FWorkerMessages = 00007FFFF7A17940
-TAbstractExternalTool.EnterCriticalSection
+TAbstractExternalTool.EnterCriticalSection: FWorkerMessages = 00007FFFF7A17940
-TAbstractExternalTool.EnterCriticalSection
+TAbstractExternalTool.LeaveCriticalSection: FWorkerMessages = 00007FFFF7A17940
-TAbstractExternalTool.LeaveCriticalSection
+TAbstractExternalTool.EnterCriticalSection: FWorkerMessages = 00007FFFF7A17940
-TAbstractExternalTool.EnterCriticalSection
+TAbstractExternalTool.LeaveCriticalSection: FWorkerMessages = 00007FFFF7A17940
-TAbstractExternalTool.LeaveCriticalSection
+TAbstractExternalTool.EnterCriticalSection: FWorkerMessages = 00007FFFF7A16DE0
-TAbstractExternalTool.EnterCriticalSection
+TAbstractExternalTool.LeaveCriticalSection: FWorkerMessages = 00007FFFF7A16DE0
-TAbstractExternalTool.LeaveCriticalSection
+TAbstractExternalTool.EnterCriticalSection: FWorkerMessages = 00007FFFF7A13340
-TAbstractExternalTool.EnterCriticalSection
+TAbstractExternalTool.LeaveCriticalSection: FWorkerMessages = 00007FFFF7A13340
-TAbstractExternalTool.LeaveCriticalSection
+TAbstractExternalTool.LeaveCriticalSection: FWorkerMessages = 00007FFFF7A17940
-TAbstractExternalTool.LeaveCriticalSection
-TAbstractExternalTool.EnterCriticalSection
+TAbstractExternalTool.LeaveCriticalSection: FWorkerMessages = 0000000000000000

Thread 4 "lazbuild" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff7408700 (LWP 11030)]
0x000000000051ad0b in LEAVECRITICALSECTION (this=0x7ffff7649880) at
ideexterntoolintf.pas:1240
1240	  FWorkerMessages.LeaveCriticalSection;
(gdb) 

I've finally forwarded it to upstream. 
-- 
Cheers,
Abou Al Montacir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lazbuild-crash.log
Type: text/x-log
Size: 30804 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-pascal-devel/attachments/20191115/83cb90c2/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-pascal-devel/attachments/20191115/83cb90c2/attachment-0001.sig>


More information about the Pkg-pascal-devel mailing list