Message28516
I'm trying to build Python 2.4.3 on HP-UX 11. I need
tkinter, so I have first built Tcl and Tk 8.4.13.
During the build, the python interpreter crashes. When
running the setup.py script, just after making the
_tkinter.sl module, it crashes with a memory fault.
I've tried to investigate this, and it seems that
malloc and friends gets confused by the dynamic
loading. I've filed a support request with HP about this.
One observation I made is that this malloc bug seems to
be connected with the use of BIND_FIRST in
dynload_hpux.c. If I just remove this flag (in two
places) it appears as if Python works normally.
I'm hesitant if this is a good idea. BIND_FIRST is
there as an explicit, non-default, flag. Somebody must
have choosen to do so for some reason. What was that
reason? And is it still valid? If not, maybe the flag
could be removed, and this problem in HP-UX be avoided? |
|
Date |
User |
Action |
Args |
2007-08-23 14:40:01 | admin | link | issue1487481 messages |
2007-08-23 14:40:01 | admin | create | |
|