Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b943b1f657477016042f98b0f834ab6beeb4ab7130042434d0b8b3917550c536
Ticket: f9a45e58af22e444346e54b991dcd596a3a20883
Segmentation fault on sqlite tests
User & Date: sebres on 2019-08-20 17:47:06
Changes

  1. 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.
    
  2. 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).
    
  3. login: "sebres"
  4. mimetype: "text/x-fossil-wiki"
  5. subsystem changed to: "60. NRE and coroutines"