[Pythonmac-SIG] machopython crash on MOSX

lists lists@netelligent.biz
Thu, 6 Jun 2002 09:33:39 +0200


--Apple-Mail-2--55536721
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed

Yo,

I'm not sure wether I should post this directly to the list of 
enter a as bug somewhere.
If it needs to be filed as a bug I'd gladly to it, if someone would 
be kind enough to point me to instructions on how to do it.

I've just had a crash (segmentation fault) in machopython.

I'm using version 2.2.1 compiled (on MOSX 10.1.4) from source and 
installed as a framework.
I've upgraded to 10.1.5 but dunno if it's related.
The crash is totally reproducible OMM.

At the python prompt type:

help()
modules dbm

It crashes while generating the list of dbm modules:

--- cut

help> modules dbm

Here is a list of matching modules.  Enter any module name to get 
more help.

anydbm - Generic interface to all dbm clones.
dbhash - Provide a (g)dbm-compatible interface to bsdhash.hashopen.
dumbdbm - A dumb and slow but simple dbm clone.
test.test_dbm - Test script for the dbm module
test.test_dumbdbm - Test script for the dumbdbm module
test.test_gdbm - Test script for the gdbm module
dbm
Segmentation fault

--- cut

I'm including the crash log below (the crash was triggered twice).

HTH

= tmk =

--- cut

Date/Time:  2002-06-06 09:24:01 +0200
OS Version: 10.1.5 (Build 5S60)
Host:       localhost

Command:    python
PID:        614

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_INVALID_ADDRESS (0x0001) at 0x031e8dcc

Thread 0 Crashed:
  #0   0x031e8dcc in 0x31e8dcc
  #1   0x41108ab4 in call_image_init_routines
  #2   0x41110318 in link_in_need_modules
  #3   0x41111bc4 in _dyld_link_module
  #4   0x70015b5c in NSLinkModule
  #5   0x004470dc in _PyImport_GetDynLoadFunc
  #6   0x0043c9c8 in _PyImport_LoadDynamicModule
  #7   0x0043a5e0 in load_module
  #8   0x0043c554 in imp_load_module
  #9   0x003f5fb0 in PyCFunction_Call
  #10  0x00423ef8 in eval_frame
  #11  0x004253d8 in PyEval_EvalCodeEx
  #12  0x004269c0 in fast_function
  #13  0x00423ffc in eval_frame
  #14  0x004253d8 in PyEval_EvalCodeEx
  #15  0x004269c0 in fast_function
  #16  0x00423ffc in eval_frame
  #17  0x004253d8 in PyEval_EvalCodeEx
  #18  0x004269c0 in fast_function
  #19  0x00423ffc in eval_frame
  #20  0x004253d8 in PyEval_EvalCodeEx
  #21  0x004269c0 in fast_function
  #22  0x00423ffc in eval_frame
  #23  0x004253d8 in PyEval_EvalCodeEx
  #24  0x004269c0 in fast_function
  #25  0x00423ffc in eval_frame
  #26  0x004253d8 in PyEval_EvalCodeEx
  #27  0x004269c0 in fast_function
  #28  0x00423ffc in eval_frame
  #29  0x004253d8 in PyEval_EvalCodeEx
  #30  0x003e83a0 in function_call
  #31  0x003d5d30 in PyObject_Call
  #32  0x003dd934 in instancemethod_call
  #33  0x003d5d30 in PyObject_Call
  #34  0x003dce3c in instance_call
  #35  0x003d5d30 in PyObject_Call
  #36  0x0042702c in ext_do_call
  #37  0x00424198 in eval_frame
  #38  0x004253d8 in PyEval_EvalCodeEx
  #39  0x003e83a0 in function_call
  #40  0x003d5d30 in PyObject_Call
  #41  0x003dd934 in instancemethod_call
  #42  0x003d5d30 in PyObject_Call
  #43  0x003dce3c in instance_call
  #44  0x003d5d30 in PyObject_Call
  #45  0x00426dcc in do_call
  #46  0x00424014 in eval_frame
  #47  0x004253d8 in PyEval_EvalCodeEx
  #48  0x004205bc in PyEval_EvalCode
  #49  0x00443480 in run_node
  #50  0x004421ec in PyRun_InteractiveOneFlags
  #51  0x00441fb4 in PyRun_InteractiveLoopFlags
  #52  0x00441e54 in PyRun_AnyFileExFlags
  #53  0x0044c650 in Py_Main
  #54  0x00001e1c in _start
  #55  0x00001c4c in start

PPC Thread State:
   srr0: 0x031e8dcc srr1: 0x4000f030                vrsave: 0x00000000
    xer: 0x00000020   lr: 0x41108ac0  ctr: 0x031e8dcc   mq: 0x00000000
     r0: 0x41108ab4   r1: 0xbfffdf10   r2: 0x00010410   r3: 0x41146060
     r4: 0x00000000   r5: 0x00000000   r6: 0x00000000   r7: 0x03115510
     r8: 0x03115724   r9: 0x411463a8  r10: 0x03115000  r11: 0x00001ce8
    r12: 0x031e8dcc  r13: 0x0016647c  r14: 0x00000083  r15: 0x00000000
    r16: 0x00000000  r17: 0x00000000  r18: 0x00000000  r19: 0x000535c0
    r20: 0x000b32f2  r21: 0x001664a0  r22: 0x00000004  r23: 0x00000000
    r24: 0x41148f74  r25: 0x00000001  r26: 0x66000000  r27: 0x41148f98
    r28: 0x00000032  r29: 0x031e8dcc  r30: 0x41148f70  r31: 0x4110891c

**********

Date/Time:  2002-06-06 09:29:15 +0200
OS Version: 10.1.5 (Build 5S60)
Host:       localhost

Command:    python
PID:        619

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_INVALID_ADDRESS (0x0001) at 0x031a4dcc

Thread 0 Crashed:
  #0   0x031a4dcc in 0x31a4dcc
  #1   0x41108ab4 in call_image_init_routines
  #2   0x41110318 in link_in_need_modules
  #3   0x41111bc4 in _dyld_link_module
  #4   0x70015b5c in NSLinkModule
  #5   0x004470dc in _PyImport_GetDynLoadFunc
  #6   0x0043c9c8 in _PyImport_LoadDynamicModule
  #7   0x0043a5e0 in load_module
  #8   0x0043c554 in imp_load_module
  #9   0x003f5fb0 in PyCFunction_Call
  #10  0x00423ef8 in eval_frame
  #11  0x004253d8 in PyEval_EvalCodeEx
  #12  0x004269c0 in fast_function
  #13  0x00423ffc in eval_frame
  #14  0x004253d8 in PyEval_EvalCodeEx
  #15  0x004269c0 in fast_function
  #16  0x00423ffc in eval_frame
  #17  0x004253d8 in PyEval_EvalCodeEx
  #18  0x004269c0 in fast_function
  #19  0x00423ffc in eval_frame
  #20  0x004253d8 in PyEval_EvalCodeEx
  #21  0x004269c0 in fast_function
  #22  0x00423ffc in eval_frame
  #23  0x004253d8 in PyEval_EvalCodeEx
  #24  0x004269c0 in fast_function
  #25  0x00423ffc in eval_frame
  #26  0x004253d8 in PyEval_EvalCodeEx
  #27  0x004269c0 in fast_function
  #28  0x00423ffc in eval_frame
  #29  0x004253d8 in PyEval_EvalCodeEx
  #30  0x003e83a0 in function_call
  #31  0x003d5d30 in PyObject_Call
  #32  0x003dd934 in instancemethod_call
  #33  0x003d5d30 in PyObject_Call
  #34  0x003dce3c in instance_call
  #35  0x003d5d30 in PyObject_Call
  #36  0x0042702c in ext_do_call
  #37  0x00424198 in eval_frame
  #38  0x004253d8 in PyEval_EvalCodeEx
  #39  0x003e83a0 in function_call
  #40  0x003d5d30 in PyObject_Call
  #41  0x003dd934 in instancemethod_call
  #42  0x003d5d30 in PyObject_Call
  #43  0x003dce3c in instance_call
  #44  0x003d5d30 in PyObject_Call
  #45  0x00426dcc in do_call
  #46  0x00424014 in eval_frame
  #47  0x004253d8 in PyEval_EvalCodeEx
  #48  0x004205bc in PyEval_EvalCode
  #49  0x00443480 in run_node
  #50  0x004421ec in PyRun_InteractiveOneFlags
  #51  0x00441fb4 in PyRun_InteractiveLoopFlags
  #52  0x00441e54 in PyRun_AnyFileExFlags
  #53  0x0044c650 in Py_Main
  #54  0x00001e1c in _start
  #55  0x00001c4c in start

PPC Thread State:
   srr0: 0x031a4dcc srr1: 0x4000f030                vrsave: 0x00000000
    xer: 0x00000020   lr: 0x41108ac0  ctr: 0x031a4dcc   mq: 0x00000000
     r0: 0x41108ab4   r1: 0xbfffdf10   r2: 0x00010410   r3: 0x41146060
     r4: 0x00000000   r5: 0x00000000   r6: 0x00000000   r7: 0x030d1510
     r8: 0x030d1724   r9: 0x411463a8  r10: 0x030d1000  r11: 0x00001ce8
    r12: 0x031a4dcc  r13: 0x001480ac  r14: 0x00000083  r15: 0x00000000
    r16: 0x00000000  r17: 0x00000000  r18: 0x00000000  r19: 0x000535c0
    r20: 0x000b32f2  r21: 0x001480d0  r22: 0x00000004  r23: 0x00000000
    r24: 0x41148f74  r25: 0x00000001  r26: 0x66000000  r27: 0x41148f98
    r28: 0x00000032  r29: 0x031a4dcc  r30: 0x41148f70  r31: 0x4110891c

**********

--Apple-Mail-2--55536721
Content-Transfer-Encoding: 7bit
Content-Type: text/enriched;
	charset=US-ASCII

Yo,


I'm not sure wether I should post this directly to the list of enter a
as bug somewhere.

If it needs to be filed as a bug I'd gladly to it, if someone would be
kind enough to point me to instructions on how to do it.


I've just had a crash (segmentation fault) in machopython.


I'm using version 2.2.1 compiled (on MOSX 10.1.4) from source and
installed as a framework.

I've upgraded to 10.1.5 but dunno if it's related.

The crash is totally reproducible OMM.


At the python prompt type:


help()

modules dbm


It crashes while generating the list of dbm modules:


--- cut


help> modules dbm


Here is a list of matching modules.  Enter any module name to get more
help.


anydbm - Generic interface to all dbm clones.

dbhash - Provide a (g)dbm-compatible interface to bsdhash.hashopen.

dumbdbm - A dumb and slow but simple dbm clone.

test.test_dbm - Test script for the dbm module

test.test_dumbdbm - Test script for the dumbdbm module

test.test_gdbm - Test script for the gdbm module

dbm 

Segmentation fault


--- cut


I'm including the crash log below (the crash was triggered twice).


HTH


= tmk =


--- cut


<fixed>Date/Time:  2002-06-06 09:24:01 +0200

OS Version: 10.1.5 (Build 5S60)

Host:       localhost


Command:    python

PID:        614


Exception:  EXC_BAD_ACCESS (0x0001)

Codes:      KERN_INVALID_ADDRESS (0x0001) at 0x031e8dcc


Thread 0 Crashed:

 #0   0x031e8dcc in 0x31e8dcc

 #1   0x41108ab4 in call_image_init_routines

 #2   0x41110318 in link_in_need_modules

 #3   0x41111bc4 in _dyld_link_module

 #4   0x70015b5c in NSLinkModule

 #5   0x004470dc in _PyImport_GetDynLoadFunc

 #6   0x0043c9c8 in _PyImport_LoadDynamicModule

 #7   0x0043a5e0 in load_module

 #8   0x0043c554 in imp_load_module

 #9   0x003f5fb0 in PyCFunction_Call

 #10  0x00423ef8 in eval_frame

 #11  0x004253d8 in PyEval_EvalCodeEx

 #12  0x004269c0 in fast_function

 #13  0x00423ffc in eval_frame

 #14  0x004253d8 in PyEval_EvalCodeEx

 #15  0x004269c0 in fast_function

 #16  0x00423ffc in eval_frame

 #17  0x004253d8 in PyEval_EvalCodeEx

 #18  0x004269c0 in fast_function

 #19  0x00423ffc in eval_frame

 #20  0x004253d8 in PyEval_EvalCodeEx

 #21  0x004269c0 in fast_function

 #22  0x00423ffc in eval_frame

 #23  0x004253d8 in PyEval_EvalCodeEx

 #24  0x004269c0 in fast_function

 #25  0x00423ffc in eval_frame

 #26  0x004253d8 in PyEval_EvalCodeEx

 #27  0x004269c0 in fast_function

 #28  0x00423ffc in eval_frame

 #29  0x004253d8 in PyEval_EvalCodeEx

 #30  0x003e83a0 in function_call

 #31  0x003d5d30 in PyObject_Call

 #32  0x003dd934 in instancemethod_call

 #33  0x003d5d30 in PyObject_Call

 #34  0x003dce3c in instance_call

 #35  0x003d5d30 in PyObject_Call

 #36  0x0042702c in ext_do_call

 #37  0x00424198 in eval_frame

 #38  0x004253d8 in PyEval_EvalCodeEx

 #39  0x003e83a0 in function_call

 #40  0x003d5d30 in PyObject_Call

 #41  0x003dd934 in instancemethod_call

 #42  0x003d5d30 in PyObject_Call

 #43  0x003dce3c in instance_call

 #44  0x003d5d30 in PyObject_Call

 #45  0x00426dcc in do_call

 #46  0x00424014 in eval_frame

 #47  0x004253d8 in PyEval_EvalCodeEx

 #48  0x004205bc in PyEval_EvalCode

 #49  0x00443480 in run_node

 #50  0x004421ec in PyRun_InteractiveOneFlags

 #51  0x00441fb4 in PyRun_InteractiveLoopFlags

 #52  0x00441e54 in PyRun_AnyFileExFlags

 #53  0x0044c650 in Py_Main

 #54  0x00001e1c in _start

 #55  0x00001c4c in start


PPC Thread State:

  srr0: 0x031e8dcc srr1: 0x4000f030                vrsave: 0x00000000

   xer: 0x00000020   lr: 0x41108ac0  ctr: 0x031e8dcc   mq: 0x00000000

    r0: 0x41108ab4   r1: 0xbfffdf10   r2: 0x00010410   r3: 0x41146060

    r4: 0x00000000   r5: 0x00000000   r6: 0x00000000   r7: 0x03115510

    r8: 0x03115724   r9: 0x411463a8  r10: 0x03115000  r11: 0x00001ce8

   r12: 0x031e8dcc  r13: 0x0016647c  r14: 0x00000083  r15: 0x00000000

   r16: 0x00000000  r17: 0x00000000  r18: 0x00000000  r19: 0x000535c0

   r20: 0x000b32f2  r21: 0x001664a0  r22: 0x00000004  r23: 0x00000000

   r24: 0x41148f74  r25: 0x00000001  r26: 0x66000000  r27: 0x41148f98

   r28: 0x00000032  r29: 0x031e8dcc  r30: 0x41148f70  r31: 0x4110891c


**********


Date/Time:  2002-06-06 09:29:15 +0200

OS Version: 10.1.5 (Build 5S60)

Host:       localhost


Command:    python

PID:        619


Exception:  EXC_BAD_ACCESS (0x0001)

Codes:      KERN_INVALID_ADDRESS (0x0001) at 0x031a4dcc


Thread 0 Crashed:

 #0   0x031a4dcc in 0x31a4dcc

 #1   0x41108ab4 in call_image_init_routines

 #2   0x41110318 in link_in_need_modules

 #3   0x41111bc4 in _dyld_link_module

 #4   0x70015b5c in NSLinkModule

 #5   0x004470dc in _PyImport_GetDynLoadFunc

 #6   0x0043c9c8 in _PyImport_LoadDynamicModule

 #7   0x0043a5e0 in load_module

 #8   0x0043c554 in imp_load_module

 #9   0x003f5fb0 in PyCFunction_Call

 #10  0x00423ef8 in eval_frame

 #11  0x004253d8 in PyEval_EvalCodeEx

 #12  0x004269c0 in fast_function

 #13  0x00423ffc in eval_frame

 #14  0x004253d8 in PyEval_EvalCodeEx

 #15  0x004269c0 in fast_function

 #16  0x00423ffc in eval_frame

 #17  0x004253d8 in PyEval_EvalCodeEx

 #18  0x004269c0 in fast_function

 #19  0x00423ffc in eval_frame

 #20  0x004253d8 in PyEval_EvalCodeEx

 #21  0x004269c0 in fast_function

 #22  0x00423ffc in eval_frame

 #23  0x004253d8 in PyEval_EvalCodeEx

 #24  0x004269c0 in fast_function

 #25  0x00423ffc in eval_frame

 #26  0x004253d8 in PyEval_EvalCodeEx

 #27  0x004269c0 in fast_function

 #28  0x00423ffc in eval_frame

 #29  0x004253d8 in PyEval_EvalCodeEx

 #30  0x003e83a0 in function_call

 #31  0x003d5d30 in PyObject_Call

 #32  0x003dd934 in instancemethod_call

 #33  0x003d5d30 in PyObject_Call

 #34  0x003dce3c in instance_call

 #35  0x003d5d30 in PyObject_Call

 #36  0x0042702c in ext_do_call

 #37  0x00424198 in eval_frame

 #38  0x004253d8 in PyEval_EvalCodeEx

 #39  0x003e83a0 in function_call

 #40  0x003d5d30 in PyObject_Call

 #41  0x003dd934 in instancemethod_call

 #42  0x003d5d30 in PyObject_Call

 #43  0x003dce3c in instance_call

 #44  0x003d5d30 in PyObject_Call

 #45  0x00426dcc in do_call

 #46  0x00424014 in eval_frame

 #47  0x004253d8 in PyEval_EvalCodeEx

 #48  0x004205bc in PyEval_EvalCode

 #49  0x00443480 in run_node

 #50  0x004421ec in PyRun_InteractiveOneFlags

 #51  0x00441fb4 in PyRun_InteractiveLoopFlags

 #52  0x00441e54 in PyRun_AnyFileExFlags

 #53  0x0044c650 in Py_Main

 #54  0x00001e1c in _start

 #55  0x00001c4c in start


PPC Thread State:

  srr0: 0x031a4dcc srr1: 0x4000f030                vrsave: 0x00000000

   xer: 0x00000020   lr: 0x41108ac0  ctr: 0x031a4dcc   mq: 0x00000000

    r0: 0x41108ab4   r1: 0xbfffdf10   r2: 0x00010410   r3: 0x41146060

    r4: 0x00000000   r5: 0x00000000   r6: 0x00000000   r7: 0x030d1510

    r8: 0x030d1724   r9: 0x411463a8  r10: 0x030d1000  r11: 0x00001ce8

   r12: 0x031a4dcc  r13: 0x001480ac  r14: 0x00000083  r15: 0x00000000

   r16: 0x00000000  r17: 0x00000000  r18: 0x00000000  r19: 0x000535c0

   r20: 0x000b32f2  r21: 0x001480d0  r22: 0x00000004  r23: 0x00000000

   r24: 0x41148f74  r25: 0x00000001  r26: 0x66000000  r27: 0x41148f98

   r28: 0x00000032  r29: 0x031a4dcc  r30: 0x41148f70  r31: 0x4110891c


**********

</fixed>
--Apple-Mail-2--55536721--