Solaris core dump with McMillan Installer

Jedi Master Yoda yoda at dagobah.org
Wed Oct 24 08:44:36 EDT 2001


I'm trying to package a little application for Solaris using the superb
McMillan Installer. However, though trivial scripts seem to work, any
attempt to import a module results in a bus error and core dump.

SunOS iris 5.8 Generic_108528-07 sun4u sparc SUNW,Ultra-60
Python 1.5.2 (#1, Feb 19 2001, 01:03:53)  [GCC 2.95.2 19991024 (release)]
on sunos5
Installer 4a4 (though I get the same problem with previous versions)

bash-2.03$ cat itest.py
import string

print "Hello world\n"

bash-2.03$ python ../Installer/Standalone.py itest.py
> /opt/sfw/bin/python /home/yoda/Installer/Builder.py
/home/yoda/installer/itest.cfg
W: exec statment detected at line 295 of imputil
W: No module named dos
W: No module named mac
W: No module named nt
W: No module named os2
W: eval hack detected at line 359 of string
W: eval hack detected at line 389 of string
W: eval hack detected at line 418 of string

bash-2.03$ cd dist_itest/
bash-2.03$ ./itest.exe
'import exceptions' failed; use -v for traceback
Warning!  Falling back to string-based exceptions
Bus Error (core dumped)

sh-2.03$ gdb -c core itest.exe
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.8"...
Core was generated by `./itest.exe'.
Program terminated with signal 9, Killed.
Reading symbols from /usr/lib/libsocket.so.1...done.
Loaded symbols for /usr/lib/libsocket.so.1
Reading symbols from /usr/lib/libnsl.so.1...done.
Loaded symbols for /usr/lib/libnsl.so.1
Reading symbols from /usr/lib/libdl.so.1...done.
Loaded symbols for /usr/lib/libdl.so.1
Reading symbols from /usr/lib/libthread.so.1...done.
Loaded symbols for /usr/lib/libthread.so.1
Reading symbols from /usr/lib/libm.so.1...done.
Loaded symbols for /usr/lib/libm.so.1
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/lib/libc.so.1...done.
Loaded symbols for /usr/lib/libc.so.1
Reading symbols from /usr/lib/libmp.so.2...done.
Loaded symbols for /usr/lib/libmp.so.2
Reading symbols from /usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1...done.
Loaded symbols for /usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1
#0  0x17634 in main (argc=569062, argv=0xffbef8b4, envp=0x84000) at
frozen.c:148
148                         if (toc->typcd == 'b') {

Is this an installer issue, a zlib issue, a Solaris issue, or user
stupidity? Any help appreciated.

JMY
--
"Opportunity is missed by most people because it is dressed
in overalls and looks like work."            - Thomas Edison



More information about the Python-list mailing list