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


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:

Bug #2417: i386-only failure involving nmalloc (ZALLOC_SLAB_MAGIC assert)

Author: John Marino
Status: Closed
Priority: Normal
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: 

The i386 pkemine executable is here: 

A packed coredump is here:

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]