DragonFly BSD
DragonFly bugs List (threaded) for 2012-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: John Marino via Redmine <bugtracker-admin@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 3 Oct 2012 07:49:02 -0700

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]