View Revisions: Issue #36318

Summary 0036318: lazbuild crashes when compiling packages
Revision 2019-11-15 22:54 by Abou Al Montacir
Description This issue was initially reported as https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=943600

During Debian auto tests the packages are rebuilt and sometimes a crash in lazbuild is observed.

The following trace was obtained after the crash:
(1008) 3534 lines compiled, 0.6 sec
(1021) 4 warning(s) issued
(1022) 30 hint(s) issued
(1023) 3 note(s) issued
Warning: (lazarus) [TLazPackageGraph.ConvertPackageRSTFiles] skipping read only directory /usr/lib/lazarus/2.0.6/components/sparta/dockedformeditor/language/

Thread 4 "lazbuild" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff7408700 (LWP 9098)]
0x000000000051ac03 in LEAVECRITICALSECTION (this=0x7ffff7641880) at ideexterntoolintf.pas:1237
1237 FWorkerMessages.LeaveCriticalSection;
(gdb) bt
# 0 0x000000000051ac03 in LEAVECRITICALSECTION (this=0x7ffff7641880) at ideexterntoolintf.pas:1237
# 1 0x00000000009e9cb5 in SETTHREAD (this=0x7ffff7641880, AVALUE=0x0) at exttools.pas:411
# 2 0x00000000009edc57 in SETTOOL (this=0x7ffff761fc40, AVALUE=0x0) at exttools.pas:1313
# 3 0x00000000009eeeb1 in DESTROY (this=0x7ffff761fc40, vmt=0x1) at exttools.pas:1612
# 4 0x000000000041cd20 in SYSTEM$_$TOBJECT_$__$$_FREE ()
# 5 0x00007ffff77a9a80 in ?? ()
# 6 0x0000000000440cd7 in CLASSES_$$_THREADFUNC$POINTER$$INT64 ()
# 7 0x00007ffff761fc40 in ?? ()
# 8 0x0000000000000000 in ?? ()
(gdb) p FWorkerMessages
$1 = 0x0
Revision 2019-11-15 22:52 by Abou Al Montacir
Description This issue was initially reported as https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=943600

During Debian auto tests the packages are rebuilt and sometimes a crash in lazbuild is observed.

The following trace was obtained after the crash:
(1008) 3534 lines compiled, 0.6 sec
(1021) 4 warning(s) issued
(1022) 30 hint(s) issued
(1023) 3 note(s) issued
Warning: (lazarus) [TLazPackageGraph.ConvertPackageRSTFiles] skipping read only directory /usr/lib/lazarus/2.0.6/components/sparta/dockedformeditor/language/

Thread 4 "lazbuild" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff7408700 (LWP 9098)]
0x000000000051ac03 in LEAVECRITICALSECTION (this=0x7ffff7641880) at ideexterntoolintf.pas:1237
1237 FWorkerMessages.LeaveCriticalSection;
(gdb) bt
#0 0x000000000051ac03 in LEAVECRITICALSECTION (this=0x7ffff7641880) at ideexterntoolintf.pas:1237
0000001 0x00000000009e9cb5 in SETTHREAD (this=0x7ffff7641880, AVALUE=0x0) at exttools.pas:411
0000002 0x00000000009edc57 in SETTOOL (this=0x7ffff761fc40, AVALUE=0x0) at exttools.pas:1313
0000003 0x00000000009eeeb1 in DESTROY (this=0x7ffff761fc40, vmt=0x1) at exttools.pas:1612
0000004 0x000000000041cd20 in SYSTEM$_$TOBJECT_$__$$_FREE ()
0000005 0x00007ffff77a9a80 in ?? ()
0000006 0x0000000000440cd7 in CLASSES_$$_THREADFUNC$POINTER$$INT64 ()
0000007 0x00007ffff761fc40 in ?? ()
0000008 0x0000000000000000 in ?? ()
(gdb) p FWorkerMessages
$1 = 0x0