[DragonFlyBSD - Bug #2417] (Closed) i386-only failure involving nmalloc (ZALLOC_SLAB_MAGIC assert)

John Marino via Redmine bugtracker-admin at leaf.dragonflybsd.org
Wed Oct 3 07:49:02 PDT 2012


Issue #2417 has been updated by John Marino.

Status changed from New to Closed

NOT-A-BUG

Two yamcha utilities had bugs in them: 
pkemine (tried to free std:cin)
mktrie (tried to free a freed object, also char casting bug)

After fixing these bugs, textproc/cabocha builds fine with rebuild yamcha tools.

fixed in pkgsrc:
http://mail-index.netbsd.org/pkgsrc-changes/2012/10/03/msg079088.html

----------------------------------------
Bug #2417: i386-only failure involving nmalloc (ZALLOC_SLAB_MAGIC assert)
http://bugs.dragonflybsd.org/issues/2417

Author: John Marino
Status: Closed
Priority: Normal
Assignee: 
Category: 
Target version: 


The yamcha tools build on both platforms.  However, they only work on x86_64.
When the yamcha tool pkemine tries to generate a file for cabocha on i386, it core dumps:

#0  _slabfree (ptr=<optimized out>, flags=<optimized out>, rbigp=0x0)
    at /usr/src/lib/libc/../libc/stdlib/nmalloc.c:1165
1165            MASSERT(z->z_Magic == ZALLOC_SLAB_MAGIC);

The 4-frame backtrace is here: 
http://leaf.dragonflybsd.org/~marino/yamcha/gdb.txt

The i386 pkemine executable is here: 
http://leaf.dragonflybsd.org/~marino/yamcha/pkemine

A packed coredump is here:
http://leaf.dragonflybsd.org/~marino/yamcha/pkemine.core.txz

The two platforms have different malloc implementations.  Why is i386's implementation dumping why x86_64's is happy?


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Bugs mailing list