[Zope] DCOracle and Python dumps core with Oracle8i [Q]
Bruno Mattarollo
brunomadv@ciudad.com.ar
Tue, 23 Nov 1999 09:04:11 -0300
Beware all Zope readers, here comes a pretty unreadable result... Ouch!
Hello Anthony,
Here is the result from the 'where command'
#0 0xfef45c8c in realfree ()
#1 0xfef463d0 in _free_unlocked ()
#2 0xfef46320 in free ()
#3 0x49a54 in string_dealloc (op=0x755a90) at stringobject.c:175
#4 0x46bcc in dict_dealloc (mp=0x649eb8) at dictobject.c:484
#5 0x46c04 in dict_dealloc (mp=0x646690) at dictobject.c:487
#6 0xfeec35d8 in subclass_dealloc (self=0x646668)
at ./../Components/ExtensionClass/ExtensionClass.c:2982
#7 0x46990 in PyDict_DelItem (op=0x5a3f68, key=0x645530) at
dictobject.c:419
#8 0xfed51a94 in gc_item (self=0x593cd0, key=0x645530, v=0x646668,
now=58740,
dt=126) at ./cPickleCache.c:148
#9 0xfed52028 in maybegc (self=0x593cd0, thisv=0x610fd8)
at ./cPickleCache.c:299
#10 0xfed529f8 in cc_subscript (self=0x593cd0, key=0x646618)
at ./cPickleCache.c:592
#11 0x36248 in PyObject_GetItem (o=0x593cd0, key=0x646618) at abstract.c:237
#12 0x1e5d0 in eval_code2 (co=0x1a6b38, globals=0x0, locals=0x4a0cc,
args=0x72c8b0, argcount=0, kws=0x5beb08, kwcount=0, defs=0x23906c,
defcount=4, owner=0x24ee88) at ceval.c:868
#13 0x218fc in call_function (func=0x2807d0, arg=0x4d3288, kw=0x0)
at ceval.c:2484
#14 0x213a8 in PyEval_CallObjectWithKeywords (func=0x733b58, arg=0x5beac0,
kw=0x0) at ceval.c:2322
#15 0x38660 in PyObject_CallObject (o=0x733b58, a=0x5beac0) at
abstract.c:1359
#16 0xfed7ba34 in load_binpersid (self=0x77d8a8)
at ./../Components/cPickle/cPickle.c:2955
#17 0xfed7cec8 in load (self=0x77d8a8)
at ./../Components/cPickle/cPickle.c:3544
#18 0xfed7d700 in Unpickler_load (self=0x77d8a8, args=0xbbdd8)
at ./../Components/cPickle/cPickle.c:3859
#19 0x214f0 in call_builtin (func=0x5d3a78, arg=0xbbdd8, kw=0x0)
at ceval.c:2359
#20 0x213bc in PyEval_CallObjectWithKeywords (func=0x5d3a78, arg=0xbbdd8,
kw=0x0) at ceval.c:2324
#21 0x1fe14 in eval_code2 (co=0x23e588, globals=0x0, locals=0x0,
args=0xbbdd8,
argcount=0, kws=0x5d3a78, kwcount=0, defs=0x0, defcount=0,
owner=0x24ee88)
at ceval.c:1654
#22 0x218fc in call_function (func=0x2809d8, arg=0x752538, kw=0x0)
at ceval.c:2484
#23 0x213a8 in PyEval_CallObjectWithKeywords (func=0x6adc70, arg=0x657fa0,
kw=0x0) at ceval.c:2322
#24 0x38660 in PyObject_CallObject (o=0x6adc70, a=0x657fa0) at
abstract.c:1359
#25 0xfeda1dd0 in callmethod1 (self=0x6adc70, name=0x657fa0, arg=0x5a6740)
at ./cPersistence.c:143
#26 0xfeda2e40 in Per_getattr (self=0x5a6740, oname=0x795b80,
name=0x795b95 "equence-key", getattrf=0xfeebd678 <EC_findiattro>)
at ./cPersistence.c:527
#27 0xfeda2f24 in Per_getattro (self=0x5a6740, name=0x795b80)
at ./cPersistence.c:542
#28 0x48e74 in PyObject_GetAttr (v=0x5a6740, name=0x795b80) at object.c:436
#29 0xfed23fec in Wrapper_getattro_ (self=0x5d3a18, oname=0x795b80, sob=1,
sco=1) at ./../Components/ExtensionClass/Acquisition.c:505
#30 0xfed243a8 in Wrapper_getattro (self=0x5d3a18, oname=0x795b80)
at ./../Components/ExtensionClass/Acquisition.c:573
#31 0x48e74 in PyObject_GetAttr (v=0x5d3a18, name=0x795b80) at object.c:436
#32 0xfece29b4 in InstanceDict_subscript (self=0x5fecf0, key=0x795b80)
at ./cDocumentTemplate.c:200
#33 0x36248 in PyObject_GetItem (o=0x5fecf0, key=0x795b80) at abstract.c:237
#34 0xfece2e18 in MM_cget (self=0x655118, key=0x795b80, call=1)
at ./cDocumentTemplate.c:369
#35 0xfece34bc in MM_subscript (self=0x655118, key=0x795b80)
at ./cDocumentTemplate.c:553
#36 0x36248 in PyObject_GetItem (o=0x655118, key=0x795b80) at abstract.c:237
#37 0x1e5d0 in eval_code2 (co=0x2c8ee0, globals=0xa5f74, locals=0x4a0cc,
args=0x6ade7c, argcount=2, kws=0x0, kwcount=0, defs=0x0, defcount=0,
owner=0x2df168) at ceval.c:868
#38 0x218fc in call_function (func=0x2df0f0, arg=0x6ade70, kw=0x0)
at ceval.c:2484
#39 0x213a8 in PyEval_CallObjectWithKeywords (func=0x6addd0, arg=0x771978,
kw=0x0) at ceval.c:2322
#40 0x21578 in call_builtin (func=0x72c778, arg=0x771978, kw=0x0)
at ceval.c:2372
#41 0x213bc in PyEval_CallObjectWithKeywords (func=0x72c778, arg=0x771978,
kw=0x0) at ceval.c:2324
#42 0x38660 in PyObject_CallObject (o=0x72c778, a=0x771978) at
abstract.c:1359
#43 0xfece3ba8 in render_blocks_ (blocks=0x653bc8, rendered=0x72cad8,
md=0x655118, mda=0x771978) at ./cDocumentTemplate.c:822
#44 0xfece3cbc in render_blocks (self=0xfece4708, args=0x7523f8)
at ./cDocumentTemplate.c:846
#45 0x214f0 in call_builtin (func=0xf8a18, arg=0x7523f8, kw=0x0)
at ceval.c:2359
#46 0x213bc in PyEval_CallObjectWithKeywords (func=0xf8a18, arg=0x7523f8,
kw=0x0) at ceval.c:2324
#47 0x1fe14 in eval_code2 (co=0x5fc2c0, globals=0x0, locals=0x2,
args=0x7523f8, argcount=0, kws=0xf8a18, kwcount=0, defs=0x0, defcount=0,
owner=0x600010) at ceval.c:1654
#48 0x218fc in call_function (func=0x5fff48, arg=0x6e6460, kw=0x0)
at ceval.c:2484
#49 0x213a8 in PyEval_CallObjectWithKeywords (func=0x773280, arg=0x7532b8,
kw=0x0) at ceval.c:2322
#50 0x38660 in PyObject_CallObject (o=0x773280, a=0x7532b8) at
abstract.c:1359
#51 0xfece3ba8 in render_blocks_ (blocks=0x5d4548, rendered=0x6eb1b8,
md=0x655118, mda=0x7532b8) at ./cDocumentTemplate.c:822
#52 0xfece3af4 in render_blocks_ (blocks=0x5d3d90, rendered=0x6eb1b8,
md=0x655118, mda=0x7532b8) at ./cDocumentTemplate.c:797
#53 0xfece3cbc in render_blocks (self=0xfece4708, args=0x733798)
at ./cDocumentTemplate.c:846
#54 0x214f0 in call_builtin (func=0xf8a18, arg=0x733798, kw=0x0)
at ceval.c:2359
#55 0x213bc in PyEval_CallObjectWithKeywords (func=0xf8a18, arg=0x733798,
kw=0x0) at ceval.c:2324
#56 0x1fe14 in eval_code2 (co=0x2c6400, globals=0x0, locals=0x0,
args=0x733798, argcount=0, kws=0xf8a18, kwcount=0, defs=0x2de934,
defcount=2, owner=0x0) at ceval.c:1654
#57 0x218fc in call_function (func=0x2dfe68, arg=0x500dc0, kw=0x0)
at ceval.c:2484
#58 0x213a8 in PyEval_CallObjectWithKeywords (func=0x2dfe68, arg=0x500dc0,
kw=0x6b5248) at ceval.c:2322
#59 0xfeeba8b0 in callMethodWithPossibleHook (inst=0xfe050, meth=0x2dfe68,
args=0x500dc0, kw=0x6b5248)
at ./../Components/ExtensionClass/ExtensionClass.c:755
#60 0xfeebabc4 in PMethod_call (self=0x5a2098, args=0x500dc0, kw=0x6b5248)
at ./../Components/ExtensionClass/ExtensionClass.c:825
#61 0x2136c in PyEval_CallObjectWithKeywords (func=0x5a2098, arg=0x500dc0,
kw=0x6b5248) at ceval.c:2320
#62 0x4c168 in builtin_apply (self=0x0, args=0x4ff8a0) at bltinmodule.c:126
#63 0x214f0 in call_builtin (func=0xbb868, arg=0x4ff8a0, kw=0x0)
at ceval.c:2359
#64 0x213bc in PyEval_CallObjectWithKeywords (func=0xbb868, arg=0x4ff8a0,
kw=0x0) at ceval.c:2324
#65 0x1fe14 in eval_code2 (co=0x2e5088, globals=0x0, locals=0x4a0cc,
args=0x4ff8a0, argcount=0, kws=0xbb868, kwcount=0, defs=0x0, defcount=0,
owner=0x0) at ceval.c:1654
#66 0x218fc in call_function (func=0x2e4e80, arg=0x600290, kw=0x0)
at ceval.c:2484
#67 0x213a8 in PyEval_CallObjectWithKeywords (func=0x2e4e80, arg=0x600290,
kw=0x0) at ceval.c:2322
#68 0xfeeba8b0 in callMethodWithPossibleHook (inst=0xfe050, meth=0x2e4e80,
args=0x600290, kw=0x0)
at ./../Components/ExtensionClass/ExtensionClass.c:755
#69 0xfeebabc4 in PMethod_call (self=0x5a2238, args=0x600290, kw=0x0)
at ./../Components/ExtensionClass/ExtensionClass.c:825
#70 0x2136c in PyEval_CallObjectWithKeywords (func=0x5a2238, arg=0x600290,
kw=0x0) at ceval.c:2320
#71 0xfeebfe5c in subclass_call (self=0xfe050, args=0x500898, kw=0x0)
at ./../Components/ExtensionClass/ExtensionClass.c:2330
#72 0x2136c in PyEval_CallObjectWithKeywords (func=0xfe050, arg=0x500898,
kw=0x0) at ceval.c:2320
#73 0xfeeba8b0 in callMethodWithPossibleHook (inst=0x5bafc0, meth=0xfe050,
args=0x500898, kw=0x0)
at ./../Components/ExtensionClass/ExtensionClass.c:755
#74 0xfeeba9c4 in call_PMethod (self=0x5a2558, inst=0x5bafc0, args=0x6adf10,
kw=0x0) at ./../Components/ExtensionClass/ExtensionClass.c:782
#75 0xfeeba9fc in PMethod_call (self=0x5a2558, args=0x6adf10, kw=0x0)
at ./../Components/ExtensionClass/ExtensionClass.c:792
#76 0x2136c in PyEval_CallObjectWithKeywords (func=0x5a2558, arg=0x6adf10,
kw=0x0) at ceval.c:2320
#77 0x4c168 in builtin_apply (self=0x0, args=0x6ade50) at bltinmodule.c:126
#78 0x214f0 in call_builtin (func=0xbb868, arg=0x6ade50, kw=0x0)
at ceval.c:2359
#79 0x213bc in PyEval_CallObjectWithKeywords (func=0xbb868, arg=0x6ade50,
kw=0x0) at ceval.c:2324
#80 0x1fe14 in eval_code2 (co=0x125eb8, globals=0x0, locals=0x4a0cc,
args=0x6ade50, argcount=0, kws=0xbb868, kwcount=0, defs=0x0, defcount=0,
owner=0x0) at ceval.c:1654
#81 0x1fcb8 in eval_code2 (co=0x16f550, globals=0x72d1b0, locals=0x6ade50,
args=0x3, argcount=0, kws=0x1b0640, kwcount=1, defs=0x190f7c,
defcount=8,
owner=0x0) at ceval.c:1612
#82 0x1fcb8 in eval_code2 (co=0x1228d8, globals=0x5f3108, locals=0x3,
args=0xa, argcount=0, kws=0x1b0668, kwcount=1, defs=0x1b05ac,
defcount=5,
owner=0x0) at ceval.c:1612
#83 0x1fcb8 in eval_code2 (co=0x122f08, globals=0x6e6b04, locals=0xa,
args=0x5, argcount=0, kws=0x1b05c8, kwcount=2, defs=0x193a74,
defcount=7,
owner=0x0) at ceval.c:1612
#84 0x1fcb8 in eval_code2 (co=0x123158, globals=0x32260c, locals=0x5,
args=0x5, argcount=0, kws=0x1ad7f8, kwcount=0, defs=0x0, defcount=0,
owner=0x146298) at ceval.c:1612
#85 0x218fc in call_function (func=0x1ad780, arg=0x4d6058, kw=0x0)
at ceval.c:2484
#86 0x213a8 in PyEval_CallObjectWithKeywords (func=0x5a1ef8, arg=0x5baee8,
kw=0x0) at ceval.c:2322
#87 0x397e4 in PyInstance_New (class=0x5a1ef8, arg=0x5baee8, kw=0x0)
at classobject.c:473
#88 0x21518 in call_builtin (func=0x146298, arg=0x5baee8, kw=0x0)
at ceval.c:2362
#89 0x213bc in PyEval_CallObjectWithKeywords (func=0x146298, arg=0x5baee8,
kw=0x0) at ceval.c:2324
#90 0x51360 in t_bootstrap (boot_raw=0x5baf00) at ./threadmodule.c:224
Does this means that the problem is in the threadmodule?
Thanks
/B
Bruno Mattarollo <brunomadv@ciudad.com.ar>
--- Python Powered <http://www.python.org/psa/>
----- Original Message -----
From: "Anthony Baxter" <anthony@interlink.com.au>
To: "Bruno Mattarollo" <brunomadv@ciudad.com.ar>
Sent: Tuesday, November 23, 1999 8:53 AM
Subject: Re: [Zope] DCOracle and Python dumps core with Oracle8i [Q]
> >>> "Bruno Mattarollo" wrote
> > I have lurned to run gdb to get simple answers I can understand, or
at
> > least I believe I have :-)
> > I runned: "file core" and got "core: ELF 32-bit MSB core
file
> > SPARC Version 1, from 'python'"
> > Then I runned:
> >
> > "gdb python core" and I got:
> > "Core was generated by `/usr/local/bin/python
> > /export/home/bmatt/iPersonal/z2.py -D'.
> > Program terminated with signal 9, Killed."
>
> signal 9? that's a kill -9. What's going on here???
>
> > [snip] after reading all the symbols... [end snip]
> > "#0 0xfef45c8c in realfree ()"
>
> try a 'where' at the gdb prompt. On my linux box, I can't find a
> call to 'realfree' anywhere in Python, the Oracle libs, libc, or in
> DCOracle...
>
> thanks,
> Anthony