Skip to content
Tcl Source Code History Of Ticket 27a4c11c6861cd63
Login

History Of Ticket 27a4c11c6861cd63

Artifacts Associated With Ticket 27a4c11c6861cd63

  1. Ticket change [21e484b0b1] (rid 169030) by dgp on 2019-02-06 16:12:26:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      Maybe this is known since the branch is still a work in progress, but running the test suite on the branch tip-502-for-9 yields a segfault in the test file httpcookie.test just after test http-cookiejar-2.14 passes.
      
    5. foundin initialized to: "tip-502-for-9"
    6. is_private initialized to: "0"
    7. login: "dgp"
    8. priority initialized to: "5 Medium"
    9. resolution initialized to: "None"
    10. severity initialized to: "Severe"
    11. status initialized to: "Open"
    12. submitter initialized to: "dgp"
    13. subsystem initialized to: "None"
    14. title initialized to: "segfault in tip-502-for-9"
    15. type initialized to: "Bug"
  2. Ticket change [12849a64fb] (rid 169031) by dgp on 2019-02-06 16:12:38:

    1. assignee changed to: "jan.nijtmans"
    2. login: "dgp"
    3. mimetype: "text/plain"
  3. Ticket change [66b5ddc614] (rid 169032) by dgp on 2019-02-06 16:40:52:

    1. foundin changed to: "trunk"
    2. icomment:
      
      Sorry about the misdirection. Looks like this segfault is on the trunk (Tcl 9).
      
      It showed up sometime around Jan 24.
      
      It's only on the tip-502-for-9 branch because it got merged there from trunk.
      
    3. login: "dgp"
    4. mimetype: "text/plain"
    5. title changed to: "segfault in httpcookie.test"
  4. Ticket change [be865377b3] (rid 169033) by dgp on 2019-02-06 17:46:51:

    1. icomment:
      Ignore that Jan 24 claim.
      
      Something stranger is going on. working.....
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  5. Ticket change [22ec378a04] (rid 169034) by dgp on 2019-02-06 18:01:22:

    1. icomment:
      
      A series of tests now shows the segfault happening all the way back to 2018-11-13 when the httpcookie.test file first appeared on the trunk branch.
      
      Since I have no recollection of this as the development came in, there's something else going on here.
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  6. Ticket change [b646e7a266] (rid 169035) by dgp on 2019-02-06 18:24:05:

    1. icomment:
      
      The trouble is that the tests in httpcookie.test need the package sqlite3.
      
      In an environment where an installed sqlite3 package built against Tcl 8 headers gets found and loaded instead of one built against Tcl 9 headers, it will crash.
      
      We MUST solve this problem before we can make even an alpha release of Tcl 9.
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  7. Ticket change [a38b254e51] (rid 169036) by dgp on 2019-02-06 18:24:58:

    1. login: "dgp"
    2. mimetype: "text/plain"
    3. priority changed to: "9 Immediate"
    4. title changed to:
      Mechanism needed to avoid [load]ing Tcl 8 packages into Tcl 9
      
  8. Ticket change [a97e58544a] (rid 169133) by jan.nijtmans on 2019-02-10 15:11:42:

    1. icomment:
      Actually, I think the crash was due to a problem in tclsqlite, failing to test for the stubs mechanism compatibility. Should be fixed now in tclsqlite 3.27.1: [http://cyqlite.sourceforge.net/cgi-bin/sqlite/info/0be4b366eea05104]
      
    2. login: "jan.nijtmans"
    3. mimetype: "text/x-fossil-wiki"
    4. resolution changed to: "Fixed"
    5. status changed to: "Pending"
  9. Ticket change [10b63e4685] (rid 169212) by dgp on 2019-02-14 17:39:47:

    1. icomment:
      
      What the hell?
      
      You mean instead of just calling Tcl_InitStubs(), the sqlite3 extension
      hacks into the interp internals for itself?!
      
      All this encapsulation breaking IS NOT WORTH IT!!!!!!!
      
      
      Stop breaking interfaces for pittances. The fragility will kill us.
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  10. Ticket change [c4b33e7273] (rid 169213) by dgp on 2019-02-14 17:43:43:

    1. icomment:
      
      That said, the Title remains true.
      
      In the journey from Tcl 8 to Tcl 9 we will have systems where binary packages able to [load] into Tcl 8 (but not 9!) and binary packages able to [load]
      into Tcl 9 (but not 8!) are going to both be installed.
      
      We need some mechanism or convention or something to see that only the right
      major interps and the right subset of installed packages are attempted to
      join together.
      
      A tidy error message from a failed Tcl_InitStubs() call is indeed better
      than a crash, but better still is to create rules for working systems where
      failing pairs are not joined in the first place.
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  11. Ticket change [cd56f0023b] (rid 207755) by jan.nijtmans on 2022-12-06 16:36:12:

    1. closedate changed to: "2459920.19180894"
    2. closer changed to: "jan.nijtmans"
    3. icomment:
      See [https://core.tcl-lang.org/tips/doc/trunk/tip/595.md|TIP #595]
      
    4. login: "jan.nijtmans"
    5. mimetype: "text/x-fossil-wiki"
    6. status changed to: "Closed"