Menu

#1029 CRITICAL core dump upon startup

obsolete: 8.4a3
closed-out-of-date
nobody
None
5
2001-07-05
2001-07-05
No

After downloading the July 4th snapshot of 8.4a3
and compiling it on my SPARC Solaris 2.6 system (with
Sun's v 5.1 C compiler,
I find that I get a BUS error core dump. Here's
the stack trace:
$ dbx $(whence wish) core
Reading wish
core file header read successfully
Reading ld.so.1
Reading libtk8.4.so
Reading libtcl8.4.so
Reading libsocket.so.1
Reading libnsl.so.1
Reading libX11.so.4
Reading libdl.so.1
Reading libm.so.1
Reading libc.so.1
Reading libmp.so.2
Reading libXext.so.0
Reading libdga.so.1
Reading libc_psr.so.1
program terminated by signal BUS (invalid address
alignment)
(dbx 1)
where
=>[1] HashArrayKey(0x385a8, 0x9800005, 0x2e130,
0x4e0c8, 0x0, 0x0), at 0xff1d6cb0
[2] Tcl_FindHashEntry(0xff22feb8, 0x9800005, 0x385a8,
0x9800005, 0x1, 0x1), at 0xff1d6218
[3] CreateWrapper(0x4e070, 0xff354e64, 0x3e2a8,
0x3e388, 0xffbed574, 0x385ac), at 0xff2e05f4
[4] TkWmMapWindow(0x3e388, 0xff354e64, 0x3e2a8,
0xff3e2628, 0x0, 0x0), at 0xff2da390
[5] Tk_MapWindow(0x3e2a8, 0xff228c0c, 0x22c90, 0x0,
0x22ca8, 0x1), at 0xff2c8ee0
[6] MapFrame(0x4df08, 0x4df08, 0xff228c0c, 0x22ed4,
0x22e54, 0xffbed660), at 0xff2e9114
[7] TclServiceIdle(0x0, 0x0, 0x2d138, 0x2fe68,
0xfffffffd, 0x0), at 0xff1fdf24
[8] Tcl_DoOneEvent(0x0, 0xff228c0c, 0x22c90, 0x0,
0x22ca8, 0x1), at 0xff1ec9f0
[9] Tk_MainLoop(0x22fe0, 0xff228c0c, 0x4, 0x0,
0x22fe0, 0xff228c0c), at 0xff2afaac
[10] Tk_MainEx(0xff366258, 0x2bde0, 0x0, 0x22fe0,
0xff354e64, 0x10c04), at 0xff2bc138
[11] main(0x1, 0xffbed9d4, 0x1, 0x20d90, 0x0, 0x0),
at 0x10be4
(dbx 2)

Discussion

  • Larry W. Virden

    Larry W. Virden - 2001-07-05

    Logged In: YES
    user_id=15949

    I downloaded the latest version of Tk, did a make, and
    got the same problem. However, I then did a make distclean,
    configured with enable-symbols, and found the resulting
    binary worked.

    Is there perhaps some dependencies not being generated that
    should be?

     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2001-07-05
    • status: open --> closed-out-of-date
     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2001-07-05

    Logged In: YES
    user_id=72656

    If this works again, then I'm closing it. It's always good
    to do a make distclean when checking such. It may have
    been related to some makefile changes that were made (that
    required a full new configure), or changes to the TkWindow
    structure that were made (most likely that). This is
    really a fault of the dependencies not being exact enough
    (when tkInt.h changes, everything should recompile, but the
    deps are set up for that yet).