| Ticket UUID: | 3601782 | |||
| Title: | checkin dc77a27c54 fails badly | |||
| Type: | Bug | Version: | current: 8.6.0 | |
| Submitter: | dgp | Created on: | 2013-01-22 16:51:41 | |
| Subsystem: | None | Assigned To: | jan.nijtmans | |
| Priority: | 9 Immediate | Severity: | ||
| Status: | Closed | Last Modified: | 2014-03-13 09:03:17 | |
| Resolution: | Fixed | Closed By: | nijtmans | |
| Closed on: | 2013-01-22 21:30:01 | |||
| Description: |
Starting with Tk trunk checkin
http://core.tcl.tk/tk/info/dc77a27c54
Tk 8.6.* rejects pre-8.6.0 Tcl. The wisdom
of this is questionable, since it at least complicates
if not impedes bisecting Tcl across the pre-stable
to stable boundary searching for Tcl changes that
break Tk -- the task I'm currently on.
Still, I recognize the value in nudging people to
throw out their alphas and betas, so assuming
we keep this in place, it ought to at least fail
better. I see just a crash. A panic with an useful
error message is the better way to go.
The stack trace I see (no I don't understand it yet)
is:
Program received signal SIGABRT, Aborted.
0x00000033dd630285 in raise () from /lib64/libc.so.6
(gdb) bt
#0 0x00000033dd630285 in raise () from /lib64/libc.so.6
#1 0x00000033dd631d30 in abort () from /lib64/libc.so.6
#2 0x0000000000418886 in Tk_MainEx (argc=1, argv=0x7fffffffdd08,
appInitProc=0x418755 <Tcl_AppInit>, interp=0x965d70)
at /home/dgp/fossil/tk/unix/../generic/tkMain.c:192
#3 0x000000000041874e in main (argc=1, argv=0x7fffffffdd08)
at /home/dgp/fossil/tk/unix/../unix/tkAppInit.c:74
| |||
| User Comments: |
nijtmans added on 2013-01-23 04:30:01:
Yes, we can do better: If the Tcl_InitStubs fails, just do another Tcl_InitStubs(inter,p "8.1"). If this passes, we can call Tcl_Panic to produce a nice error message. Done now for core-8-4-branch, core-8-5-branch and trunk. And reverted the "8.6" -> "8.6.0" change: if that makes bisecting easier, it's worth keeping it this way for now. Thanks! dgp added on 2013-01-22 23:55:54: Well, you look at the source code and things become clear. With a failed Tcl_InitStubs() call in Tk_MainEx, a bare abort() is called. I suppose with no initialized Tcl library to work with, it's difficult to do better. Usual tools are not available. If we cannot do better, though, we may want to revert this. If we can't offer "upgrade to stable" advise in the crash itself, the crash isn't helpful anymore as a nudge. It's perplexing as a mystery. | |||
Home
Timeline
Branches
Tags
Forum
Tickets
Download
Wiki