[Python-bugs-list] [ python-Bugs-465759 ] segmentation fault

noreply@sourceforge.net noreply@sourceforge.net
Thu, 27 Sep 2001 11:53:51 -0700


Bugs item #465759, was opened at 2001-09-27 11:53
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=465759&group_id=5470

Category: Unicode
Group: Python 2.1.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Andreas Jung (ajung)
Assigned to: M.-A. Lemburg (lemburg)
Summary: segmentation fault 

Initial Comment:
The attached tar.gz contains the source
of a modified Zope splitter that accepts
unicode strings. The included test.py file
crashes with Python2.1.1 with a segfault.
Traceback see below. It maybe a reference counting
problem but I could not find any errors. I reduced
the original sources of the Splitter to a small
reproducable testcase. I also checked the problem
against gcc-3.0.1 and gcc-2.9.6 - same behaviour.

Any ideas?
Andreas 


(gdb) bt
#0  0x400e4eaa in chunk_free (ar_ptr=0x4018df00, p=0x80f8de8) at malloc.c:3152
#1  0x400e4d59 in __libc_free (mem=0x80f8df0) at malloc.c:3054
#2  0x0808acb0 in func_dealloc (op=0x80fb584) at Objects/funcobject.c:259
#3  0x08091bed in insertdict (mp=0x80f21dc, key=0x80f1980, hash=399376304, value=0x80c4cac) at Objects/dictobject.c:377
#4  0x08091e97 in PyDict_SetItem (op=0x80f21dc, key=0x80f1980, value=0x80c4cac) at Objects/dictobject.c:510
#5  0x08093eeb in _PyModule_Clear (m=0x80f1b44) at Objects/moduleobject.c:118
#6  0x08067fdb in PyImport_Cleanup () at Python/import.c:323
#7  0x0806e5bd in Py_Finalize () at Python/pythonrun.c:211
#8  0x08051e38 in Py_Main (argc=3, argv=0xbffff594) at Modules/main.c:331
#9  0x40081177 in __libc_start_main (main=0x8051a30 <main>, argc=3, ubp_av=0xbffff594, init=0x8050e78 <_init>, 
    fini=0x80a9810 <_fini>, rtld_fini=0x4000e184 <_dl_fini>, stack_end=0xbffff58c) at ../sysdeps/generic/libc-start.c:129


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=465759&group_id=5470