[ZCM] [ZC] 1347/ 3 Resolve "Zeo seg faulting"
Collector: Zope Bugs, Features,
and Patches ...
zope-coders-admin at zope.org
Sat May 22 23:33:41 EDT 2004
Issue #1347 Update (Resolve) "Zeo seg faulting"
Status Resolved, Zope/bug critical
To followup, visit:
http://collector.zope.org/Zope/1347
==============================================================
= Resolve - Entry #3 by tim_one on May 22, 2004 11:33 pm
Status: Pending => Resolved
In pvt email, the OP confirmed that boosting the thread stack size for FreeBSD fixed this, so closing it.
________________________________________
= Comment - Entry #2 by daceilo on May 22, 2004 3:59 pm
Apprears to be happen on page templates with over 2 nested levels:
Ex: Template A includes Template B
Template B includes Template C
In our case, we have index_html including center_tmp, which in turn includes body_tmp and nav_tmp, nav_tmp also includes a few misc objects.
________________________________________
= Request - Entry #1 by daceilo on May 22, 2004 1:11 pm
Zope crashing when access Zeo storage. If I don't use Zeo, this problem never crops up at all.
Using GDB to replicate the crash, the info is below
Program received signal SIGSEGV, Segmentation fault.
[Switching to Process 949, Thread 4]
vgetargs1 (args=0x91e00a4, format=0x284ec162 "OOO|O:select", p_va=0xbf99b1b4, compat=0) at Python/getargs.c:124
124 char *fname = NULL;
(gdb) where
#0 vgetargs1 (args=0x91e00a4, format=0x284ec162 "OOO|O:select", p_va=0xbf99b1b4, compat=0) at Python/getargs.c:124
#1 0x080bfff1 in PyArg_ParseTuple (args=0x91e00a4, format=0x284ec162 "OOO|O:select") at Python/getargs.c:51
#2 0x284eb27d in select_select (self=0x0, args=0x91e00a4) at /home/laurence/Python-2.3.3/Modules/selectmodule.c:205
#3 0x080ef8b4 in PyCFunction_Call (func=0x83fe4ec, arg=0x91e00a4, kw=0xbf99b1b4) at Objects/methodobject.c:108
#4 0x080a2fe2 in call_function (pp_stack=0xbf9a44dc, oparg=676249954) at Python/ceval.c:3439
#5 0x080a14fc in eval_frame (f=0x8f6060c) at Python/ceval.c:2116
#6 0x080a1fc4 in PyEval_EvalCodeEx (co=0x84a46a0, globals=0x284ec162, locals=0x0, args=0x8f6060c, argcount=2, kws=0x8f60578,
kwcount=0, defs=0x84a7478, defcount=2, closure=0x0) at Python/ceval.c:2663
#7 0x080a3071 in fast_function (func=0xbf99b1b4, pp_stack=0xbf9a466c, n=2, na=2, nk=0) at Python/ceval.c:3529
#8 0x080a2edf in call_function (pp_stack=0xbf9a466c, oparg=676249954) at Python/ceval.c:3458
#9 0x080a14fc in eval_frame (f=0x8f6040c) at Python/ceval.c:2116
#10 0x080a30ed in fast_function (func=0xbf99b1b4, pp_stack=0xbf9a478c, n=2, na=2, nk=135976912) at Python/ceval.c:3518
#11 0x080a2edf in call_function (pp_stack=0xbf9a478c, oparg=676249954) at Python/ceval.c:3458
#12 0x080a14fc in eval_frame (f=0x8f6020c) at Python/ceval.c:2116
#13 0x080a1fc4 in PyEval_EvalCodeEx (co=0x914dce0, globals=0x284ec162, locals=0x0, args=0x8f6020c, argcount=3, kws=0x8f6016c,
kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:2663
#14 0x080a3071 in fast_function (func=0xbf99b1b4, pp_stack=0xbf9a491c, n=3, na=3, nk=0) at Python/ceval.c:3529
#15 0x080a2edf in call_function (pp_stack=0xbf9a491c, oparg=676249954) at Python/ceval.c:3458
#16 0x080a14fc in eval_frame (f=0x8f6000c) at Python/ceval.c:2116
#17 0x080a30ed in fast_function (func=0xbf99b1b4, pp_stack=0xbf9a4a3c, n=2, na=2, nk=152473952) at Python/ceval.c:3518
#18 0x080a2edf in call_function (pp_stack=0xbf9a4a3c, oparg=676249954) at Python/ceval.c:3458
#19 0x080a14fc in eval_frame (f=0x8fa1c0c) at Python/ceval.c:2116
#20 0x080a30ed in fast_function (func=0xbf99b1b4, pp_stack=0xbf9a4b5c, n=3, na=3, nk=135626904) at Python/ceval.c:3518
#21 0x080a2edf in call_function (pp_stack=0xbf9a4b5c, oparg=676249954) at Python/ceval.c:3458
#22 0x080a14fc in eval_frame (f=0x8fa1a0c) at Python/ceval.c:2116
#23 0x080a1fc4 in PyEval_EvalCodeEx (co=0x83f5420, globals=0x284ec162, locals=0x0, args=0x8fa1a0c, argcount=2, kws=0x0, kwcount=0,
defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:2663
#24 0x080ef4a4 in function_call (func=0x8493b54, arg=0x923e8ac, kw=0x0) at Objects/funcobject.c:504
#25 0x0805a72c in PyObject_Call (func=0xbf99b224, arg=0x923e8ac, kw=0x0) at Objects/abstract.c:1755
#26 0x0806091a in instancemethod_call (func=0x8493b54, arg=0x923e8ac, kw=0x0) at Objects/classobject.c:2433
#27 0x0805a72c in PyObject_Call (func=0x1, arg=0x91e40cc, kw=0x0) at Objects/abstract.c:1755
#28 0x080a2d8b in PyEval_CallObjectWithKeywords (func=0x8e90d74, arg=0x91e40cc, kw=0x0) at Python/ceval.c:3346
#29 0x0805a70b in PyObject_CallObject (o=0x8e90d74, a=0x91e40cc) at Objects/abstract.c:1746
#30 0x284b3973 in unghostify (self=0x91684a0) at ZODB/cPersistence.c:107
#31 0x284b2f5c in Per_getattr (self=0x91684a0, oname=0x8a606b0, name=0x8a606c5 "etBrowserId", getattrf=0x284bcee0 <EC_findiattro>)
at ZODB/cPersistence.c:527
#32 0x284b32e4 in Per_getattro (self=0x91684a0, name=0x8a606b0) at ZODB/cPersistence.c:545
#33 0x0807621f in PyObject_GetAttr (v=0x91684a0, name=0x8a606b0) at Objects/object.c:1239
#34 0x285095cb in Wrapper_findattr (self=0x8a0dd60, oname=0x8a606b0, filter=0x0, extra=0x0, orig=0x0, sob=1, sco=1, explicit=0,
containment=0) at ../Components/ExtensionClass/src/Acquisition.c:456
#35 0x28509989 in Wrapper_findattr (self=0x8a0df40, oname=0x8a606b0, filter=0x0, extra=0x0, orig=0x0, sob=1, sco=1, explicit=0,
containment=0) at ../Components/ExtensionClass/src/Acquisition.c:431
#36 0x2850b01d in Wrapper_getattro (self=0x284ec162, oname=0xbf99b1b4) at ../Components/ExtensionClass/src/Acquisition.c:567
#37 0x0807621f in PyObject_GetAttr (v=0x8a0df40, name=0x8a606b0) at Objects/object.c:1239
#38 0x080a0ff6 in eval_frame (f=0x8fa160c) at Python/ceval.c:1934
#39 0x080a1fc4 in PyEval_EvalCodeEx (co=0x8a66820, globals=0x2850afe0, locals=0x0, args=0x8fa160c, argcount=1, kws=0x0, kwcount=0,
defs=0x8a6afd8, defcount=1, closure=0x0) at Python/ceval.c:2663
#40 0x080ef4a4 in function_call (func=0x8a9d2cc, arg=0x91c0fcc, kw=0x0) at Objects/funcobject.c:504
#41 0x0805a72c in PyObject_Call (func=0x8e90d68, arg=0x91c0fcc, kw=0x0) at Objects/abstract.c:1755
(Continues on for a few pages).
(gdb) info threads
22 Process 949, Thread 2 0x28222e96 in _thread_kern_sched () from /usr/lib/libc_r.so.5
21 Process 949, Thread 22 0x28222e96 in _thread_kern_sched () from /usr/lib/libc_r.so.5
20 Process 949, Thread 21 0x28222e96 in _thread_kern_sched () from /usr/lib/libc_r.so.5
19 Process 949, Thread 20 0x28222e96 in _thread_kern_sched () from /usr/lib/libc_r.so.5
18 Process 949, Thread 19 0x28222e96 in _thread_kern_sched () from /usr/lib/libc_r.so.5
17 Process 949, Thread 18 0x28222e96 in _thread_kern_sched () from /usr/lib/libc_r.so.5
16 Process 949, Thread 17 0x28222e96 in _thread_kern_sched () from /usr/lib/libc_r.so.5
15 Process 949, Thread 16 0x28222e96 in _thread_kern_sched () from /usr/lib/libc_r.so.5
14 Process 949, Thread 15 0x28222e96 in _thread_kern_sched () from /usr/lib/libc_r.so.5
13 Process 949, Thread 13 0x28222e96 in _thread_kern_sched () from /usr/lib/libc_r.so.5
12 Process 949, Thread 12 0x28222e96 in _thread_kern_sched () from /usr/lib/libc_r.so.5
11 Process 949, Thread 11 0x28222e96 in _thread_kern_sched () from /usr/lib/libc_r.so.5
10 Process 949, Thread 10 0x28222e96 in _thread_kern_sched () from /usr/lib/libc_r.so.5
9 Process 949, Thread 9 0x28222e96 in _thread_kern_sched () from /usr/lib/libc_r.so.5
8 Process 949, Thread 8 0x28222e96 in _thread_kern_sched () from /usr/lib/libc_r.so.5
7 Process 949, Thread 7 0x28222e96 in _thread_kern_sched () from /usr/lib/libc_r.so.5
6 Process 949, Thread 6 0x28222e96 in _thread_kern_sched () from /usr/lib/libc_r.so.5
5 Process 949, Thread 5 0x28222e96 in _thread_kern_sched () from /usr/lib/libc_r.so.5
* 4 Process 949, Thread 4 vgetargs1 (args=0x91e00a4, format=0x284ec162 "OOO|O:select", p_va=0xbf99b1b4, compat=0)
at Python/getargs.c:124
3 Process 949, Thread 14 0x28222e96 in _thread_kern_sched () from /usr/lib/libc_r.so.5
2 Process 949, Thread 3 0x28222e96 in _thread_kern_sched () from /usr/lib/libc_r.so.5
1 Process 949, Thread 1 0x28222e96 in _thread_kern_sched () from /usr/lib/libc_r.so.5
(gdb) call PyRun_SimpleString("import sys, traceback; sys.stderr=open('/tmp/tb','w',0); traceback.print_stack()")
Error accessing memory address 0xbf99afdc: Bad address.
==============================================================
More information about the Zope-Collector-Monitor
mailing list