logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

[ refdb-Bugs-1599713 ] checkref: *** glibc detected *** double free or corr: msg#00037

Subject: [ refdb-Bugs-1599713 ] checkref: *** glibc detected *** double free or corruption
Bugs item #1599713, was opened at 2006-11-20 14:19
Message generated for change (Comment added) made by mhoenicka
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=385991&aid=1599713&group_id=26091

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: refdbd
Group: None
Status: Open
>Resolution: Works For Me
Priority: 5
Private: No
Submitted By: Dominik (dreusser)
Assigned to: Markus Hoenicka (mhoenicka)
Summary: checkref: *** glibc detected *** double free or corruption 

Initial Comment:
On my debian box I get the following error while running checkref (I'm not sure 
whether this really is a problem in refdbd or some debian-glibc bug):

client:
refdbc: checkref test.ris
could not write to refdbd. Stop

server:
CREATE TEMPORARY TABLE t_temp_xlink (xlink_id BIGINT NOT NULL 
AUTO_INCREMENT,link_id BIGINT NOT NULL,xref_id BIGINT NOT NULL,xlink_type 
ENUM("URL","PDF","FULLTEXT","RELATED", "IMAGE"),xlink_source 
ENUM("REFERENCE","NOTE"),PRIMARY KEY (xlink_id),KEY (link_id),KEY (xref_id))
BEGIN
LOCK TABLES t_temp_refdb WRITE, t_temp_author WRITE, t_temp_keyword WRITE, 
t_temp_periodical WRITE, t_temp_user WRITE, t_temp_xauthor WRITE, 
t_temp_xkeyword WRITE, t_temp_xuser WRITE, t_temp_note WRITE, t_temp_xnote 
WRITE, t_temp_link WRITE, t_temp_xlink WRITE, refdb.t_journal_words WRITE
*** glibc detected *** double free or corruption (!prev): 0x080ff5a0 ***
child exited with code 0
server waiting n_max_fd=4



----------------------------------------------------------------------

>Comment By: Markus Hoenicka (mhoenicka)
Date: 2006-11-20 22:54

Message:
Logged In: YES 
user_id=85809
Originator: NO

I've checked my setup on FreeBSD using valgrind to detect allocated memory
problems. There were no errors reported, except a number of memory leaks
related to the checkref command. I've plugged these leaks, although they
most likely cannot not cause the problem that you reported. In any case
you may want to check out svn revision 238 and try again. If this does not
fix the problem, please send me your test data (both the datasets in your
database and in the file that you want to check) off-list. It could just
so happen that my data miss a bordercase that triggers the problem.

----------------------------------------------------------------------

Comment By: David Nebauer (davidnebauer)
Date: 2006-11-20 18:42

Message:
Logged In: YES 
user_id=1080150
Originator: NO

Using refdb svn revision 224 on my up-to-date debian/testing box I find
the checkref command works perfectly and does not generate the error you
describe.  Perhaps you could state the version of refdb you used and the
flavour of debian you are running it on.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=385991&aid=1599713&group_id=26091

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


<Prev in Thread] Current Thread [Next in Thread>