Still the same error
Patryk Zawadzki
patrys at pld-linux.org
Tue Oct 9 11:55:16 PDT 2007
2007/10/9, Gustavo Niemeyer <gustavo at niemeyer.net>:
> > Also when running update:
> >
> > -> ftp://ftp.th.pld-linux.org/dists/th/test/i686/RPMS/repodata/filelists.xml.gz
> > *** glibc detected *** /usr/bin/python: double free or corruption
> > (!prev): 0x08813fe0 ***
> Can you get a gdb traceback out of it? Without that it's pretty hard
> to tell anything about this error. It could be pretty much anything.
Okay, found my old notes wrt python tracing:
Program received signal SIGSEGV, Segmentation fault.
0xb7d0c772 in free () from /lib/libc.so.6
(gdb) backtrace
#0 0xb7d0c772 in free () from /lib/libc.so.6
#1 0xbfb63358 in ?? ()
#2 0x08290130 in ?? ()
#3 0xb77868fb in Curl_setopt () from /usr/lib/libcurl.so.4
#4 0xb7792090 in curl_easy_setopt () from /usr/lib/libcurl.so.4
#5 0xb77d3110 in ?? () from /usr/lib/python2.5/site-packages/pycurl.so
#6 0x08290130 in ?? ()
#7 0x00002712 in ?? ()
#8 0x08656310 in ?? ()
#9 0xbfb633e4 in ?? ()
#10 0xb77daec0 in ?? () from /usr/lib/python2.5/site-packages/pycurl.so
#11 0xdbd49248 in ?? ()
#12 0xb786dc50 in ?? ()
#13 0xb7eccf50 in ?? () from /usr/lib/libpython2.5.so.1.0
#14 0xb786dc50 in ?? ()
#15 0xb7edaf40 in PyBaseString_Type () from /usr/lib/libpython2.5.so.1.0
#16 0xbfb633a8 in ?? ()
#17 0xb7e2a157 in PyObject_Str (v=0x847f1ec) at Objects/object.c:430
#18 0xb7e26cdc in PyCFunction_Call (func=0x850a0cc, arg=0x82e1c6c, kw=0x0)
at Objects/methodobject.c:73
#19 0xb7e6f1e7 in PyEval_EvalFrameEx (f=0x837570c, throwflag=0)
at Python/ceval.c:3564
#20 0xb7e6f914 in PyEval_EvalFrameEx (f=0x8585904, throwflag=0)
---Type <return> to continue, or q <return> to quit---
at Python/ceval.c:3650
#21 0xb7e70973 in PyEval_EvalCodeEx (co=0xb7a50188, globals=0xb7a45dfc,
locals=0x0, args=0x864adcc, argcount=1, kws=0x864add0, kwcount=1,
defs=0xb78686f8, defcount=2, closure=0x0) at Python/ceval.c:2831
#22 0xb7e6f07e in PyEval_EvalFrameEx (f=0x864ac4c, throwflag=0)
at Python/ceval.c:3660
#23 0xb7e6f914 in PyEval_EvalFrameEx (f=0x8596724, throwflag=0)
at Python/ceval.c:3650
#24 0xb7e70973 in PyEval_EvalCodeEx (co=0xb7ae8890, globals=0xb7ae54f4,
locals=0x0, args=0x8181d40, argcount=2, kws=0x8181d48, kwcount=1,
defs=0xb78872f8, defcount=2, closure=0x0) at Python/ceval.c:2831
#25 0xb7e6f07e in PyEval_EvalFrameEx (f=0x8181bdc, throwflag=0)
at Python/ceval.c:3660
#26 0xb7e6f914 in PyEval_EvalFrameEx (f=0x813f574, throwflag=0)
at Python/ceval.c:3650
#27 0xb7e70973 in PyEval_EvalCodeEx (co=0xb7ab8e30, globals=0xb7ad72d4,
locals=0x0, args=0x80ddfc4, argcount=3, kws=0x80ddfd0, kwcount=0,
defs=0xb7ae1258, defcount=2, closure=0x0) at Python/ceval.c:2831
#28 0xb7e6f07e in PyEval_EvalFrameEx (f=0x80dde74, throwflag=0)
at Python/ceval.c:3660
#29 0xb7e6f914 in PyEval_EvalFrameEx (f=0x808c3c4, throwflag=0)
at Python/ceval.c:3650
#30 0xb7e70973 in PyEval_EvalCodeEx (co=0xb7be6530, globals=0xb7c36acc,
---Type <return> to continue, or q <return> to quit---
locals=0xb7c36acc, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0,
defcount=0, closure=0x0) at Python/ceval.c:2831
#31 0xb7e70b0c in PyEval_EvalCode (co=0xb7be6530, globals=0xb7c36acc,
locals=0xb7c36acc) at Python/ceval.c:494
#32 0xb7e89cff in run_mod (mod=<value optimized out>,
filename=<value optimized out>, globals=0xb7c36acc, locals=0xb7c36acc,
flags=0xbfb64758, arena=0x8051f48) at Python/pythonrun.c:1271
#33 0xb7e89db4 in PyRun_FileExFlags (fp=0x804a008,
filename=0xbfb64de8 "/usr/bin/smart", start=257, globals=0xb7c36acc,
locals=0xb7c36acc, closeit=1, flags=0xbfb64758) at Python/pythonrun.c:1257
#34 0xb7e8b368 in PyRun_SimpleFileExFlags (fp=0x804a008,
filename=0xbfb64de8 "/usr/bin/smart", closeit=1, flags=0xbfb64758)
at Python/pythonrun.c:877
#35 0xb7e8ba50 in PyRun_AnyFileExFlags (fp=0x804a008,
filename=0xbfb64de8 "/usr/bin/smart", closeit=1, flags=0xbfb64758)
at Python/pythonrun.c:696
#36 0xb7e94d6f in Py_Main (argc=2, argv=0xbfb64824) at Modules/main.c:523
#37 0x08048526 in main (argc=Cannot access memory at address 0x0
) at Modules/python.c:23
(gdb) up 19
#19 0xb7e6f1e7 in PyEval_EvalFrameEx (f=0x837570c, throwflag=0)
at Python/ceval.c:3564
3564 C_TRACE(x,
PyCFunction_Call(func,callargs,NULL));
(gdb) p f
$1 = (PyFrameObject *) 0x837570c
(gdb) p f->f_lineno
$2 = 1464
(gdb) x/s ((PyStringObject*)f->f_code->co_filename)->ob_sval
0xb7a569e4: "/usr/lib/python2.5/site-packages/smart/fetcher.py"
(gdb) x/s ((PyStringObject*)f->f_code->co_name)->ob_sval
0xb7a4f314: "tick"
--
Patryk Zawadzki
Generated Content
More information about the Smart
mailing list