net-analyze/knocker-0.7.1 crashes on the AMD64 architecture when its config file (~/.knocker/...) already exists: ruben@oberon ~/local/src/knocker-0.7.1 $ src/knocker -H localhost *** glibc detected *** double free or corruption (out): 0x00000000006c6677 *** Aborted The following patch seems to be fixing it: diff -ur knocker-0.7.1/src/knocker_conf.c knocker-0.7.1-diff/src/knocker_conf.c --- knocker-0.7.1/src/knocker_conf.c 2002-05-24 01:58:45.000000000 +0200 +++ knocker-0.7.1-diff/src/knocker_conf.c 2006-01-06 00:03:04.000000000 +0100 @@ -234,7 +234,11 @@ if (!_isblank (*tmpp) || *tmpp != KNOCKER_OPTION_TOKEN) { - free (tmpp); + /* free (tmpp); this crashes knocker in AMD64 */ + /* with a very ugly */ + /* "*** glibc detected *** double free or corruption (out): */ + /* 0x00000000006c6677 ***" */ + /* error */ return 0; }
This package has no amd64 or ~amd64 keyword, so you shouldn't be astonished that it breaks. Beside that, it breaks in another line for me (the return 1; at the end), the free() you are commenting out is never executed here. There seem to be more issues, there is already a comment there stating that free(p) also produces a segfault, so this is definitively no gentoo-related issue. Please report it upstream.