Re: ERROR: *** glibc detected *** double free or corruption
Ingo Bormuth <[email protected]> Fri, 10 Mar 2006 14:16:12 +0100
| Newsgroups | gmane.comp.gnome.apps.pybliographer |
|---|---|
| Message-ID | <20060310131612.GA17422@kruemel> |
On 2006-03-10 12:07, Frederic Gobry wrote:
>
> Time for me to run the bibtex parser in valgrind again I think :-(
Playing with valgrid I (once) got a traceback:
$ MALLOC_CHECK_="1" valgrind -v pybliographic
[...]
This is Pybliographic 1.2.8 [Python 2.4.2, Gtk 2.8.8, PyGTK 2.8.2]
*** glibc detected *** free(): invalid pointer: 0x084ee710 ***
*** glibc detected *** free(): invalid pointer: 0x084f40b0 ***
*** glibc detected *** free(): invalid pointer: 0x084f7af8 ***
Traceback (most recent call last):
File "/usr/share/pybliographer/Pyblio/GnomeUI/Document.py", line 746, in save_document_as
out = file, how = how, database=self.data)
File "/usr/share/pybliographer/Pyblio/Open.py", line 199, in bibwrite
writer (iter, out, preamble=preamble)
File "/usr/share/pybliographer/Pyblio/Format/BibTeX.py", line 673, in writer
entry_write (entry, output)
File "/usr/share/pybliographer/Pyblio/Format/BibTeX.py", line 547, in entry_write
for field in entry.keys ():
IOError: can't parse entry `@preamble{{S{HARP}s: mammalian enhancer-of-split- and hairy-related proteins coupled to neuronal stimulation.@{{O}}'
Where do the curly parentheses in "{S{HARP}s:" come from ..?
The original title in MedLine XML is:
"<ArticleTitle>SHARPs: mammalian enhancer-of-split- and hairy-related proteins coupled to neuronal stimulation.</ArticleTitle>"
Currently I don't have the time to dig into the code.
ParserError is triggered in 5 lines but not 547.
If you get an idea from reading this, please tell me.
- Ingo
--
Ingo Bormuth, voicebox & telefax: +49-12125-10226517 '(~o-o~)'
public key 86326EC9, http://ibormuth.efil.de/contact --ooO--(.)--Ooo--
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642