<html dir="ltr"><head></head><body bgcolor="#ffffff" text="#2e3436" link="#1b6acb" vlink="#2e3436" style="text-align:left; direction:ltr;"><div>I finally managed to catch one of these errors on amd64 machine.</div><div><br></div><div>The issue is that on some packages that are expected to fail, the failure results on an exception.</div><div>However and despite the expected failure is caught, the test infrastructure detects a message written to stderr and thus triggers the failure.</div><div><br></div><div>I've rebuilt lazuild using debug symbols, and the error seems to be caught in an object destructor (#3) as shown in the following gdb stack trace:</div><pre>Warning: (lazarus) [TLazPackageGraph.ConvertPackageRSTFiles] skipping read only directory /usr/lib/lazarus/2.0.6/components/sparta/dockedformeditor/language/</pre><pre><br></pre><pre>Thread 4 "lazbuild" received signal SIGSEGV, Segmentation fault.</pre><pre>[Switching to Thread 0x7ffff7408700 (LWP 25224)]</pre><pre>0x000000000051ac03 in LEAVECRITICALSECTION (this=0x7ffff7649720) at ideexterntoolintf.pas:1237</pre><pre>1237 FWorkerMessages.LeaveCriticalSection;</pre><pre>(gdb) bt</pre><pre>#0 0x000000000051ac03 in LEAVECRITICALSECTION (this=0x7ffff7649720) at ideexterntoolintf.pas:1237</pre><pre>#1 0x00000000009e9cb5 in SETTHREAD (this=0x7ffff7649720, AVALUE=0x0) at exttools.pas:411</pre><pre>#2 0x00000000009edc57 in SETTOOL (this=0x7ffff761fc40, AVALUE=0x0) at exttools.pas:1313</pre><pre>#3 0x00000000009eeeb1 in DESTROY (this=0x7ffff761fc40, vmt=0x1) at exttools.pas:1612</pre><pre>#4 0x000000000041cd20 in SYSTEM$_$TOBJECT_$__$$_FREE ()</pre><pre>#5 0x00007ffff77a9a80 in ?? ()</pre><pre>#6 0x0000000000440cd7 in CLASSES_$$_THREADFUNC$POINTER$$INT64 ()</pre><pre>#7 0x00007ffff761fc40 in ?? ()</pre><pre>#8 0x0000000000000000 in ?? ()</pre><pre>(gdb) </pre><pre></pre><div><br></div><div>To be continued!</div><div><span><pre><pre>-- <br></pre>Cheers,
Abou Al Montacir</pre></span></div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"></blockquote></body></html>