Tcl Source Code

View Ticket
Login
Ticket UUID: 758160
Title: segfault or abort on m68k Linux (Debian)
Type: Bug Version: obsolete: 8.3.4
Submitter: xtifr Created on: 2003-06-20 20:57:02
Subsystem: 38. Init - Library - Autoload Assigned To: dgp
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2003-07-03 06:44:04
Resolution: None Closed By: xtifr
    Closed on: 2003-07-02 23:44:04
Description:
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
http://buildd.debian.org/fetch.php?&pkg=tcl8.4&ver=8.4.3-2&arch=m68k&stamp=1054980044&file=log&as=raw

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.
User Comments: xtifr added on 2003-07-03 06:44:04:
Logged In: YES 
user_id=25775

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.

xtifr added on 2003-06-25 07:53:13:
Logged In: YES 
user_id=25775

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.

dgp added on 2003-06-25 07:21:18:
Logged In: YES 
user_id=80530


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

dkf added on 2003-06-25 04:33:31:
Logged In: YES 
user_id=79902

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?

xtifr added on 2003-06-21 03:58:02:

File Added - 53693: tclsh.bt

xtifr added on 2003-06-21 03:57:02:

File Added - 53692: tclsh.trace

Attachments: