#2378 segfault or abort on m68k Linux (Debian)

obsolete: 8.3.4

The report from Debian is that tcl 8.3.5 and 8.4.3
crash on our m68k Linux systems. The 8.4.3 (which is
built with thread-enabled) crashes so hard that it
reportedly takes down gdb, so no backtrace is
available, but a system call trace is provided (see
attached). The 8.3.5 crashes with SIGABORT, and a
backtrace is available (also attached).

The problems were reported by Rafael Laboissiere
<rafael AT debian DOT org>, and the system call trace
was provided by Adam Conrad <adconrad AT 0c3 DOT net>.
See http://bugs.debian.org/197905 for the original
reports and commentary.

The build log may also be of interest (to see what
configure decided, and which options were passed to the
compiler), and can be found at

I realize that this isn't a lot to go on, and I
apologize for that, but since Debian still supports
m68k, this is a releiase-critical bug for us. And I'm
sure that Rafael, Adam and I will all be willing to
answer any questions anyone might have, and will
continue to investigate further in any case.


  • Chris Waters

    Chris Waters - 2003-06-20

    8.4.3 system call trace

  • Chris Waters

    Chris Waters - 2003-06-20

    8.3.5 backtrace

  • Donal K. Fellows

    • labels: --> 38. Init - Library - Autoload
    • milestone: --> obsolete: 8.3.4
    • assigned_to: nobody --> dgp
  • Donal K. Fellows

    Logged In: YES

    Failing in setlocale()? Ick! Might be a fault in the m68k
    libs instead - who implements setlocale() anyway? Can you
    build a debugging version of the head of the 8.4 branch and
    reproduce the bug there so we can see what the arguments to
    setlocale() actually are?

  • Don Porter

    Don Porter - 2003-06-25

    Logged In: YES

    What is the last release of Tcl
    known to work for the m68k

  • Chris Waters

    Chris Waters - 2003-06-25

    Logged In: YES

    The last version that I know FOR SURE worked was 8.3.3. But
    there might have been some inbetween versions that also
    worked. However, I have to agree with Donal that this could
    easily be a library problem. I've sent in a request to have
    the Debian m68k team build a debug version and step through
    Tcl_FindExecutable(). I don't think we're going to get
    anywhere until that's done.

  • Chris Waters

    Chris Waters - 2003-07-02

    Logged In: YES

    Well, well, well. I had them rebuild 8.4 for m68k, and lo
    and behold, the problem magically disappeared. At this
    point, I'm inclined to dismiss the whole thing as a
    temporary compiler bug. We're going to try to doublle-check
    by rebuilding 8.3 too, but I'm going to mark this bug as
    "pending" for now, and unless futher evidence appears, it
    should auto-close soon enough.

  • Chris Waters

    Chris Waters - 2003-07-02
    • status: open --> closed

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks