Still the same error

Patryk Zawadzki patrys at pld-linux.org
Tue Oct 9 13:18:46 PDT 2007


2007/10/9, Patryk Zawadzki <patrys at pld-linux.org>:
> 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:

Installed missing debug symbols, the top of the trace is really:

Program received signal SIGSEGV, Segmentation fault.
0xb7dbf772 in free () from /lib/libc.so.6
(gdb) backtrace
#0  0xb7dbf772 in free () from /lib/libc.so.6
#1  0xbf9a71a8 in ?? ()
#2  0x085f6ce8 in ?? ()
#3  0xb78398fb in Curl_setopt (data=0xb7f7ff50, option=CURLOPT_URL,
    param=0x80a1204 "\a") at url.c:1314
#4  0xb7845090 in curl_easy_setopt (curl=0x6365685b, tag=CURLOPT_URL)
    at easy.c:362
#5  0xb7886130 in do_curl_setopt (self=0x865cf44, args=0x849d48c)
    at src/pycurl.c:1563
#6  0xb7ed9cdc in PyCFunction_Call (func=0x850a0ac, arg=0x849d48c, kw=0x0)
    at Objects/methodobject.c:73

While #6 is #19 from the earlier trace:

> (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"

This is 100% reproducible for me on a clean install (rm -rf
/var/lib/smart/channels/* etc.)

[patrys at meaw SPECS]$ rpm -q python-pycurl
python-pycurl-7.16.4-1.i686

-- 
Patryk Zawadzki
Generated Content



More information about the Smart mailing list