Hi! I get the following crash when running the Django development server (non forking Python webserver) against a Postgre 8.2.5 database. Django is available from here http://www.djangoproject.com/ , I'm using the development version. The crash can be triggered by playing around with the included admin interface. Sources are from yesterday, everything build with CFLAGS= -g -pipe DEBUG_FLAGS?= -g STRIP= on a Pentium 3 500Mhz. IIRC the crash didn't happen on 6.2. Core is still available. Thanks, Nikolai kurin:~/django/mysite > gdb /usr/local/bin/python python.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 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 "i386-marcel-freebsd"...(no debugging symbols found)... Core was generated by `python'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libutil.so.7...done. Loaded symbols for /lib/libutil.so.7 Reading symbols from /lib/libm.so.5...done. Loaded symbols for /lib/libm.so.5 Reading symbols from /lib/libthr.so.3...done. Loaded symbols for /lib/libthr.so.3 Reading symbols from /lib/libc.so.7...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /usr/local/lib/python2.5/lib-dynload/strop.so...done. Loaded symbols for /usr/local/lib/python2.5/lib-dynload/strop.so Reading symbols from /usr/local/lib/python2.5/lib-dynload/_locale.so...done. Loaded symbols for /usr/local/lib/python2.5/lib-dynload/_locale.so Reading symbols from /usr/local/lib/python2.5/lib-dynload/operator.so...done. Loaded symbols for /usr/local/lib/python2.5/lib-dynload/operator.so Reading symbols from /usr/local/lib/python2.5/lib-dynload/_struct.so...done. Loaded symbols for /usr/local/lib/python2.5/lib-dynload/_struct.so Reading symbols from /usr/local/lib/python2.5/lib-dynload/time.so...done. Loaded symbols for /usr/local/lib/python2.5/lib-dynload/time.so Reading symbols from /usr/local/lib/python2.5/lib-dynload/_socket.so...done. Loaded symbols for /usr/local/lib/python2.5/lib-dynload/_socket.so Reading symbols from /usr/local/lib/python2.5/lib-dynload/_ssl.so...done. Loaded symbols for /usr/local/lib/python2.5/lib-dynload/_ssl.so Reading symbols from /usr/lib/libssl.so.5...done. Loaded symbols for /usr/lib/libssl.so.5 Reading symbols from /lib/libcrypto.so.5...done. Loaded symbols for /lib/libcrypto.so.5 Reading symbols from /usr/local/lib/python2.5/lib-dynload/datetime.so...done. Loaded symbols for /usr/local/lib/python2.5/lib-dynload/datetime.so Reading symbols from /usr/local/lib/python2.5/lib-dynload/cStringIO.so...done. Loaded symbols for /usr/local/lib/python2.5/lib-dynload/cStringIO.so Reading symbols from /usr/local/lib/python2.5/lib-dynload/collections.so...done. Loaded symbols for /usr/local/lib/python2.5/lib-dynload/collections.so Reading symbols from /usr/local/lib/python2.5/lib-dynload/math.so...done. Loaded symbols for /usr/local/lib/python2.5/lib-dynload/math.so Reading symbols from /usr/local/lib/python2.5/lib-dynload/binascii.so...done. Loaded symbols for /usr/local/lib/python2.5/lib-dynload/binascii.so Reading symbols from /usr/local/lib/python2.5/lib-dynload/_random.so...done. Loaded symbols for /usr/local/lib/python2.5/lib-dynload/_random.so Reading symbols from /usr/local/lib/python2.5/lib-dynload/fcntl.so...done. Loaded symbols for /usr/local/lib/python2.5/lib-dynload/fcntl.so Reading symbols from /usr/local/lib/python2.5/lib-dynload/_weakref.so...done. Loaded symbols for /usr/local/lib/python2.5/lib-dynload/_weakref.so Reading symbols from /usr/local/lib/python2.5/lib-dynload/cPickle.so...done. Loaded symbols for /usr/local/lib/python2.5/lib-dynload/cPickle.so Reading symbols from /usr/local/lib/python2.5/lib-dynload/itertools.so...done. Loaded symbols for /usr/local/lib/python2.5/lib-dynload/itertools.so Reading symbols from /usr/local/lib/python2.5/site-packages/psycopg2/_psycopg.so...done. Loaded symbols for /usr/local/lib/python2.5/site-packages/psycopg2/_psycopg.so Reading symbols from /usr/local/lib/libpq.so.5...done. Loaded symbols for /usr/local/lib/libpq.so.5 Reading symbols from /lib/libcrypt.so.4...done. Loaded symbols for /lib/libcrypt.so.4 Reading symbols from /usr/local/lib/python2.5/lib-dynload/_hashlib.so...done. Loaded symbols for /usr/local/lib/python2.5/lib-dynload/_hashlib.so Reading symbols from /usr/local/lib/python2.5/lib-dynload/_bisect.so...done. Loaded symbols for /usr/local/lib/python2.5/lib-dynload/_bisect.so Reading symbols from /usr/local/lib/python2.5/lib-dynload/array.so...done. Loaded symbols for /usr/local/lib/python2.5/lib-dynload/array.so Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x080f8e1c in Py_GetProgramFullPath () [New Thread 0x28301200 (LWP 100084)] [New Thread 0x28301100 (LWP 100038)] (gdb) info threads 2 Thread 0x28301100 (LWP 100038) 0x282b7a77 in stat () at stat.S:2 * 1 Thread 0x28301200 (LWP 100084) 0x080f8e1c in Py_GetProgramFullPath () Current language: auto; currently asm (gdb) bt full #0 0x080f8e1c in Py_GetProgramFullPath () No symbol table info available. #1 0x080796d6 in PyList_AsTuple () No symbol table info available. #2 0x080f8ebd in Py_GetProgramFullPath () No symbol table info available. #3 0x080f983c in Py_GetProgramFullPath () No symbol table info available. #4 0x080f9acb in Py_GetProgramFullPath () No symbol table info available. #5 0x080fa460 in _PyObject_GC_Malloc () No symbol table info available. #6 0x0809c1f1 in PyType_GenericAlloc () No symbol table info available. #7 0x08084dff in _PyDict_Contains () No symbol table info available. #8 0x0809c07e in PyTuple_Fini () No symbol table info available. #9 0x0805ed01 in PyObject_Call () No symbol table info available. #10 0x080cc609 in PyEval_GetFuncDesc () No symbol table info available. #11 0x080c8b9d in PyEval_EvalFrameEx () No symbol table info available. #12 0x080ca268 in PyEval_EvalCodeEx () No symbol table info available. #13 0x080cbf9c in PyEval_GetFuncDesc () No symbol table info available. #14 0x080cbd1d in PyEval_GetFuncDesc () No symbol table info available. #15 0x080c8a37 in PyEval_EvalFrameEx () No symbol table info available. #16 0x080ca268 in PyEval_EvalCodeEx () No symbol table info available. #17 0x080cbf9c in PyEval_GetFuncDesc () No symbol table info available. #18 0x080cbd1d in PyEval_GetFuncDesc () No symbol table info available. #19 0x080c8a37 in PyEval_EvalFrameEx () No symbol table info available. #20 0x080cbed0 in PyEval_GetFuncDesc () No symbol table info available. #21 0x080cbd1d in PyEval_GetFuncDesc () No symbol table info available. #22 0x080c8a37 in PyEval_EvalFrameEx () No symbol table info available. #23 0x080ca268 in PyEval_EvalCodeEx () No symbol table info available. #24 0x080cbf9c in PyEval_GetFuncDesc () No symbol table info available. #25 0x080cbd1d in PyEval_GetFuncDesc () No symbol table info available. #26 0x080c8a37 in PyEval_EvalFrameEx () No symbol table info available. #27 0x080cbed0 in PyEval_GetFuncDesc () No symbol table info available. #28 0x080cbd1d in PyEval_GetFuncDesc () No symbol table info available. #29 0x080c8a37 in PyEval_EvalFrameEx () No symbol table info available. ---Type <return> to continue, or q <return> to quit--- #30 0x080ca268 in PyEval_EvalCodeEx () No symbol table info available. #31 0x080cbf9c in PyEval_GetFuncDesc () No symbol table info available. #32 0x080cbd1d in PyEval_GetFuncDesc () No symbol table info available. #33 0x080c8a37 in PyEval_EvalFrameEx () No symbol table info available. #34 0x080cbed0 in PyEval_GetFuncDesc () No symbol table info available. #35 0x080cbd1d in PyEval_GetFuncDesc () No symbol table info available. #36 0x080c8a37 in PyEval_EvalFrameEx () No symbol table info available. #37 0x080ca268 in PyEval_EvalCodeEx () No symbol table info available. #38 0x080cbf9c in PyEval_GetFuncDesc () No symbol table info available. #39 0x080cbd1d in PyEval_GetFuncDesc () No symbol table info available. #40 0x080c8a37 in PyEval_EvalFrameEx () No symbol table info available. #41 0x080cbed0 in PyEval_GetFuncDesc () No symbol table info available. #42 0x080cbd1d in PyEval_GetFuncDesc () No symbol table info available. #43 0x080c8a37 in PyEval_EvalFrameEx () No symbol table info available. #44 0x080ca268 in PyEval_EvalCodeEx () No symbol table info available. #45 0x0811d904 in PyFunction_SetClosure () No symbol table info available. #46 0x0805ed01 in PyObject_Call () No symbol table info available. #47 0x08066505 in PyMethod_New () No symbol table info available. #48 0x0805ed01 in PyObject_Call () No symbol table info available. #49 0x080a7f3f in _PyObject_SlotCompare () No symbol table info available. #50 0x0809c172 in PyTuple_Fini () No symbol table info available. #51 0x0805ed01 in PyObject_Call () No symbol table info available. #52 0x080cc37f in PyEval_GetFuncDesc () No symbol table info available. #53 0x080cbd42 in PyEval_GetFuncDesc () No symbol table info available. #54 0x080c8a37 in PyEval_EvalFrameEx () No symbol table info available. #55 0x080ca268 in PyEval_EvalCodeEx () No symbol table info available. #56 0x080cbf9c in PyEval_GetFuncDesc () No symbol table info available. #57 0x080cbd1d in PyEval_GetFuncDesc () No symbol table info available. #58 0x080c8a37 in PyEval_EvalFrameEx () No symbol table info available. #59 0x080cbed0 in PyEval_GetFuncDesc () No symbol table info available. ---Type <return> to continue, or q <return> to quit--- #60 0x080cbd1d in PyEval_GetFuncDesc () No symbol table info available. #61 0x080c8a37 in PyEval_EvalFrameEx () No symbol table info available. #62 0x080cbed0 in PyEval_GetFuncDesc () No symbol table info available. #63 0x080cbd1d in PyEval_GetFuncDesc () No symbol table info available. #64 0x080c8a37 in PyEval_EvalFrameEx () No symbol table info available. #65 0x080ca268 in PyEval_EvalCodeEx () No symbol table info available. #66 0x0811d904 in PyFunction_SetClosure () No symbol table info available. #67 0x0805ed01 in PyObject_Call () No symbol table info available. #68 0x080cc609 in PyEval_GetFuncDesc () No symbol table info available. #69 0x080c8b9d in PyEval_EvalFrameEx () No symbol table info available. #70 0x080ca268 in PyEval_EvalCodeEx () No symbol table info available. #71 0x080cbf9c in PyEval_GetFuncDesc () No symbol table info available. #72 0x080cbd1d in PyEval_GetFuncDesc () No symbol table info available. #73 0x080c8a37 in PyEval_EvalFrameEx () No symbol table info available. #74 0x080ca268 in PyEval_EvalCodeEx () No symbol table info available. #75 0x080cbf9c in PyEval_GetFuncDesc () No symbol table info available. #76 0x080cbd1d in PyEval_GetFuncDesc () No symbol table info available. #77 0x080c8a37 in PyEval_EvalFrameEx () No symbol table info available. #78 0x080ca268 in PyEval_EvalCodeEx () No symbol table info available. #79 0x0811d904 in PyFunction_SetClosure () No symbol table info available. #80 0x0805ed01 in PyObject_Call () No symbol table info available. #81 0x080cc609 in PyEval_GetFuncDesc () No symbol table info available. #82 0x080c8b9d in PyEval_EvalFrameEx () No symbol table info available. #83 0x080ca268 in PyEval_EvalCodeEx () No symbol table info available. #84 0x0811d904 in PyFunction_SetClosure () No symbol table info available. #85 0x0805ed01 in PyObject_Call () No symbol table info available. #86 0x080cc609 in PyEval_GetFuncDesc () No symbol table info available. #87 0x080c8b9d in PyEval_EvalFrameEx () No symbol table info available. #88 0x080ca268 in PyEval_EvalCodeEx () No symbol table info available. #89 0x0811d904 in PyFunction_SetClosure () No symbol table info available. ---Type <return> to continue, or q <return> to quit--- #90 0x0805ed01 in PyObject_Call () No symbol table info available. #91 0x080cc609 in PyEval_GetFuncDesc () No symbol table info available. #92 0x080c8b9d in PyEval_EvalFrameEx () No symbol table info available. #93 0x080cbed0 in PyEval_GetFuncDesc () No symbol table info available. #94 0x080cbd1d in PyEval_GetFuncDesc () No symbol table info available. #95 0x080c8a37 in PyEval_EvalFrameEx () No symbol table info available. #96 0x080ca268 in PyEval_EvalCodeEx () No symbol table info available. #97 0x0811d904 in PyFunction_SetClosure () No symbol table info available. #98 0x0805ed01 in PyObject_Call () No symbol table info available. #99 0x08066505 in PyMethod_New () No symbol table info available. #100 0x0805ed01 in PyObject_Call () No symbol table info available. #101 0x080a7719 in _PyObject_SlotCompare () No symbol table info available. #102 0x0805ed01 in PyObject_Call () No symbol table info available. #103 0x080cc37f in PyEval_GetFuncDesc () No symbol table info available. #104 0x080cbd42 in PyEval_GetFuncDesc () No symbol table info available. #105 0x080c8a37 in PyEval_EvalFrameEx () No symbol table info available. #106 0x080ca268 in PyEval_EvalCodeEx () No symbol table info available. #107 0x0811d904 in PyFunction_SetClosure () No symbol table info available. #108 0x0805ed01 in PyObject_Call () No symbol table info available. #109 0x08066505 in PyMethod_New () No symbol table info available. #110 0x0805ed01 in PyObject_Call () No symbol table info available. #111 0x080a7719 in _PyObject_SlotCompare () No symbol table info available. #112 0x0805ed01 in PyObject_Call () No symbol table info available. #113 0x080cc37f in PyEval_GetFuncDesc () No symbol table info available. #114 0x080cbd42 in PyEval_GetFuncDesc () No symbol table info available. #115 0x080c8a37 in PyEval_EvalFrameEx () No symbol table info available. #116 0x080cbed0 in PyEval_GetFuncDesc () No symbol table info available. #117 0x080cbd1d in PyEval_GetFuncDesc () No symbol table info available. #118 0x080c8a37 in PyEval_EvalFrameEx () No symbol table info available. #119 0x080cbed0 in PyEval_GetFuncDesc () No symbol table info available. ---Type <return> to continue, or q <return> to quit--- #120 0x080cbd1d in PyEval_GetFuncDesc () No symbol table info available. #121 0x080c8a37 in PyEval_EvalFrameEx () No symbol table info available. #122 0x080ca268 in PyEval_EvalCodeEx () No symbol table info available. #123 0x0811d904 in PyFunction_SetClosure () No symbol table info available. #124 0x0805ed01 in PyObject_Call () No symbol table info available. #125 0x08066505 in PyMethod_New () No symbol table info available. #126 0x0805ed01 in PyObject_Call () No symbol table info available. #127 0x080cc609 in PyEval_GetFuncDesc () No symbol table info available. #128 0x080c8b9d in PyEval_EvalFrameEx () No symbol table info available. #129 0x080ca268 in PyEval_EvalCodeEx () No symbol table info available. #130 0x0811d904 in PyFunction_SetClosure () No symbol table info available. #131 0x0805ed01 in PyObject_Call () No symbol table info available. #132 0x08066505 in PyMethod_New () No symbol table info available. #133 0x0805ed01 in PyObject_Call () No symbol table info available. #134 0x080cb52d in PyEval_CallObjectWithKeywords () No symbol table info available. #135 0x0806159b in PyInstance_New () No symbol table info available. #136 0x0805ed01 in PyObject_Call () No symbol table info available. #137 0x080cc37f in PyEval_GetFuncDesc () No symbol table info available. #138 0x080cbd42 in PyEval_GetFuncDesc () No symbol table info available. #139 0x080c8a37 in PyEval_EvalFrameEx () No symbol table info available. #140 0x080cbed0 in PyEval_GetFuncDesc () No symbol table info available. #141 0x080cbd1d in PyEval_GetFuncDesc () No symbol table info available. #142 0x080c8a37 in PyEval_EvalFrameEx () No symbol table info available. #143 0x080cbed0 in PyEval_GetFuncDesc () No symbol table info available. #144 0x080cbd1d in PyEval_GetFuncDesc () No symbol table info available. #145 0x080c8a37 in PyEval_EvalFrameEx () No symbol table info available. #146 0x080cbed0 in PyEval_GetFuncDesc () No symbol table info available. #147 0x080cbd1d in PyEval_GetFuncDesc () No symbol table info available. #148 0x080c8a37 in PyEval_EvalFrameEx () No symbol table info available. #149 0x080cbed0 in PyEval_GetFuncDesc () No symbol table info available. ---Type <return> to continue, or q <return> to quit--- #150 0x080cbd1d in PyEval_GetFuncDesc () No symbol table info available. #151 0x080c8a37 in PyEval_EvalFrameEx () No symbol table info available. #152 0x080cbed0 in PyEval_GetFuncDesc () No symbol table info available. #153 0x080cbd1d in PyEval_GetFuncDesc () No symbol table info available. #154 0x080c8a37 in PyEval_EvalFrameEx () No symbol table info available. #155 0x080ca268 in PyEval_EvalCodeEx () No symbol table info available. #156 0x0811d904 in PyFunction_SetClosure () No symbol table info available. #157 0x0805ed01 in PyObject_Call () No symbol table info available. #158 0x080cb52d in PyEval_CallObjectWithKeywords () No symbol table info available. #159 0x080fb009 in _PyObject_GC_Del () No symbol table info available. #160 0x281b8b19 in thread_start (curthread=0x28301200) at /usr/src/lib/libthr/thread/thr_create.c:237 No locals. #161 0x00000000 in ?? () No symbol table info available. (gdb) f 160 #160 0x281b8b19 in thread_start (curthread=0x28301200) at /usr/src/lib/libthr/thread/thr_create.c:237 237 _pthread_exit(curthread->start_routine(curthread->arg)); Current language: auto; currently c (gdb) l 232 */ 233 THR_LOCK(curthread); 234 THR_UNLOCK(curthread); 235 236 /* Run the current thread's start routine with argument: */ 237 _pthread_exit(curthread->start_routine(curthread->arg)); 238 239 /* This point should never be reached. */ 240 PANIC("Thread has resumed after exit"); 241 } (gdb) p *curthread $1 = {tid = 100084, lock = {m_owner = 0, m_flags = 0, m_ceilings = {0, 0}, m_spare = {0, 0, 0, 0}}, cycle = 0, locklevel = 0, critical_count = 0, sigblock = 0, tle = { tqe_next = 0x28301100, tqe_prev = 0x281c4ae0}, gcle = {tqe_next = 0x0, tqe_prev = 0x0}, hle = {le_next = 0x0, le_prev = 0x281c5b08}, refcount = 1, start_routine = 0x80fafc0 <_PyObject_GC_Del+2512>, arg = 0x284ff490, attr = {sched_policy = 2, sched_inherit = 0, prio = 0, suspend = 0, flags = 2, stackaddr_attr = 0xbf9df000, stacksize_attr = 131072, guardsize_attr = 4096}, cancel_enable = 1, cancel_pending = 0, cancel_point = 0, cancel_defer = 0, cancel_async = 0, cancelling = 0, sigmask = {__bits = {0, 0, 0, 0}}, state = PS_RUNNING, error = 0, joiner = 0x0, flags = 0, tlflags = 10, mutexq = {tqh_first = 0x0, tqh_last = 0x283012b4}, pp_mutexq = {tqh_first = 0x0, tqh_last = 0x283012bc}, ret = 0x0, specific = 0x28dd5800, specific_data_count = 6, rdlock_count = 0, rtld_bits = 0, tcb = 0x2858e050, cleanup = 0x0, magic = 3499860245, report_events = 0, event_mask = 0, event_buf = {event = TD_EVENT_NONE, th_p = 0x0, data = 0}} (gdb) thr 2 [Switching to thread 2 (Thread 0x28301100 (LWP 100038))]#0 0x282b7a77 in stat () at stat.S:2 2 RSYSCALL(stat) Current language: auto; currently asm (gdb) bt #0 0x282b7a77 in stat () at stat.S:2 #1 0x080fd3aa in PyOS_AfterFork () #2 0x080fde38 in PyOS_AfterFork () #3 0x0811e0c3 in PyCFunction_Call () #4 0x080cbc23 in PyEval_GetFuncDesc () #5 0x080c8a37 in PyEval_EvalFrameEx () #6 0x080cbed0 in PyEval_GetFuncDesc () #7 0x080cbd1d in PyEval_GetFuncDesc () #8 0x080c8a37 in PyEval_EvalFrameEx () #9 0x080ca268 in PyEval_EvalCodeEx () #10 0x080cbf9c in PyEval_GetFuncDesc () #11 0x080cbd1d in PyEval_GetFuncDesc () #12 0x080c8a37 in PyEval_EvalFrameEx () #13 0x080ca268 in PyEval_EvalCodeEx () #14 0x0811d904 in PyFunction_SetClosure () #15 0x0805ed01 in PyObject_Call () #16 0x080cc609 in PyEval_GetFuncDesc () #17 0x080c8b9d in PyEval_EvalFrameEx () #18 0x080ca268 in PyEval_EvalCodeEx () #19 0x0811d904 in PyFunction_SetClosure () #20 0x0805ed01 in PyObject_Call () #21 0x080cc609 in PyEval_GetFuncDesc () #22 0x080c8b9d in PyEval_EvalFrameEx () #23 0x080cbed0 in PyEval_GetFuncDesc () #24 0x080cbd1d in PyEval_GetFuncDesc () #25 0x080c8a37 in PyEval_EvalFrameEx () #26 0x080cbed0 in PyEval_GetFuncDesc () #27 0x080cbd1d in PyEval_GetFuncDesc () #28 0x080c8a37 in PyEval_EvalFrameEx () #29 0x080ca268 in PyEval_EvalCodeEx () #30 0x080cbf9c in PyEval_GetFuncDesc () #31 0x080cbd1d in PyEval_GetFuncDesc () #32 0x080c8a37 in PyEval_EvalFrameEx () #33 0x080ca268 in PyEval_EvalCodeEx () #34 0x080c3677 in PyEval_EvalCode () #35 0x080ee961 in PyRun_FileExFlags () #36 0x080ee8eb in PyRun_FileExFlags () #37 0x080ed875 in PyRun_SimpleFileExFlags () #38 0x080ed17e in PyRun_AnyFileExFlags () #39 0x0805729e in Py_Main () #40 0x08056401 in main () (gdb) -- Ich verwalte sie. Ich zähle sie und zähle sie wieder. Das ist nicht leicht. Aber ich bin ein ernsthafter Mann. \\ ---> Antoine de Saint-Exupery, "Der kleine Prinz"Received on Mon Nov 19 2007 - 19:15:14 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:22 UTC