Artifacts Associated With Ticket f9a45e58af22e444
Ticket change [817c434a78] (rid 174243) by mnowak on 2019-08-20 16:36:45:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
SQLite 3.29.0 test in 64-bit on OpenIndiana 2019.04 crash with segfault in Tcl code: $ mdb build/amd64/testdir/core Loading modules: [ libc.so.1 ld.so.1 ] > ::status debugging core file of testfixture (64-bit) from build-userland initial argv: ./testfixture /export/home/newman/ws/oi-userland/components/database/sqlite/sql threading model: native threads status: process terminated by SIGSEGV (Segmentation Fault), addr=c > $C fffffd7fffdff310 libtcl8.6.so`TEBCresume+0x76c5() fffffd7fffdff340 libtcl8.6.so`TclNRRunCallbacks+0x47() fffffd7fffdff380 libtcl8.6.so`SlaveEval+0xd4() fffffd7fffdff470 libtcl8.6.so`NRInterpCmd+0x477() fffffd7fffdff4a0 libtcl8.6.so`TclNRRunCallbacks+0x47() fffffd7fffdff520 libtcl8.6.so`Tcl_TimeObjCmd+0x6d() fffffd7fffdff550 libtcl8.6.so`TclNRRunCallbacks+0x47() fffffd7fffdff680 libtcl8.6.so`TclEvalEx+0x10c4() fffffd7fffdff6a0 libtcl8.6.so`Tcl_EvalEx+0x17() fffffd7fffdff6c0 libtcl8.6.so`Tcl_Eval+0x16() fffffd7fffdff6e0 libtcl8.6.so`Tcl_GlobalEval+0x24() fffffd7fffdff730 main+0x120() fffffd7fffdff760 _start_crt+0x83() fffffd7fffdff770 _start+0x18() I build Tcl 6.8.9 with a fix from https://core.tcl-lang.org/tcl/info/e364d7f9ffcd2827.
- foundin initialized to: "6.8.9"
- is_private initialized to: "0"
- login: "mnowak"
- priority initialized to: "5 Medium"
- private_contact initialized to: "826e03c82c5753e4a748e69af5b198873bd7522c"
- resolution initialized to: "None"
- severity initialized to: "Severe"
- status initialized to: "Open"
- submitter initialized to: "mnowak"
- subsystem initialized to: "- New Builtin Commands"
- title initialized to: "Segmentation fault on sqlite tests"
- type initialized to: "Bug"
Ticket change [b943b1f657] (rid 174244) by sebres on 2019-08-20 17:47:06:
- comment changed to:
SQLite 3.29.0 test in 64-bit on OpenIndiana 2019.04 crash with segfault in Tcl code: $ mdb build/amd64/testdir/core Loading modules: [ libc.so.1 ld.so.1 ] > ::status debugging core file of testfixture (64-bit) from build-userland initial argv: ./testfixture /export/home/newman/ws/oi-userland/components/database/sqlite/sql threading model: native threads status: process terminated by SIGSEGV (Segmentation Fault), addr=c > $C fffffd7fffdff310 libtcl8.6.so`TEBCresume+0x76c5() fffffd7fffdff340 libtcl8.6.so`TclNRRunCallbacks+0x47() fffffd7fffdff380 libtcl8.6.so`SlaveEval+0xd4() fffffd7fffdff470 libtcl8.6.so`NRInterpCmd+0x477() fffffd7fffdff4a0 libtcl8.6.so`TclNRRunCallbacks+0x47() fffffd7fffdff520 libtcl8.6.so`Tcl_TimeObjCmd+0x6d() fffffd7fffdff550 libtcl8.6.so`TclNRRunCallbacks+0x47() fffffd7fffdff680 libtcl8.6.so`TclEvalEx+0x10c4() fffffd7fffdff6a0 libtcl8.6.so`Tcl_EvalEx+0x17() fffffd7fffdff6c0 libtcl8.6.so`Tcl_Eval+0x16() fffffd7fffdff6e0 libtcl8.6.so`Tcl_GlobalEval+0x24() fffffd7fffdff730 main+0x120() fffffd7fffdff760 _start_crt+0x83() fffffd7fffdff770 _start+0x18() I build Tcl 8.6.9 with a fix from https://core.tcl-lang.org/tcl/info/e364d7f9ffcd2827.
- icomment:
Just to be sure: do you mean tclsqlite-module and if yes, was sqlite module compiled for this tcl-version (so for 8.6, not for 8.7 or 9.0)?<br/>I'm asking because of possible binary-compat issues. <blockquote><i>> I build Tcl 8.6.9 with a fix from [e364d7f9ffcd2827]</i></blockquote> As [/timeline?c=e364d7f9ffcd2827|you can see] issue [cc1e91552c] got continuation, so you should rather apply it up-to [1671ba2d5c] or even later.<br/> Better try to reproduce it with current core-8-6-branch (will be 8.6.10).
- login: "sebres"
- mimetype: "text/x-fossil-wiki"
- subsystem changed to: "60. NRE and coroutines"
- comment changed to:
Ticket change [421377eea7] (rid 174245) by sebres on 2019-08-20 18:54:15:
- foundin changed to: "8.6.9"
- login: "sebres"
- mimetype: "text/plain"
Ticket change [9dada9b82f] (rid 174249) by jan.nijtmans on 2019-08-22 11:18:28:
- assignee changed to: "jan.nijtmans"
- icomment:
Well, "testfixture" is SQLite's own test executable. Also "Tcl_GlobalEval" is the high-level function which runs a script. Without knowning exactly what script was run causing the trouble, it's impossible to investigate this further. The Tcl_TimeObjCmd() on stack suggests that "time" was the command which crashed, but ... which command line arguments ??? Because OpenIndiana is a fork of OpenSolaris, I don't think Tcl's configure script takes that into account, it might be that Tcl is simply built wrong. Does the Tcl test-suite actually run? Does the "time" command work at all in this build?
- login: "jan.nijtmans"
- mimetype: "text/plain"
Ticket change [693c792bc6] (rid 181090) by sebres on 2020-04-02 18:43:09:
- closedate changed to: "2458942.27996551"
- closer changed to: "sebres"
- icomment: "closed for no activity"
- login: "sebres"
- mimetype: "text/plain"
- resolution changed to: "Out of Date"
- status changed to: "Closed"