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

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


From: Venkatesh Srinivas via Redmine <bugtracker-admin@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 4 Sep 2012 14:24:47 -0700

Issue #2417 has been updated by Venkatesh Srinivas.


How do you run the pkemine tool such that it causes the assert to be hit?
----------------------------------------
Bug #2417: i386-only failure involving nmalloc (ZALLOC_SLAB_MAGIC assert)
http://bugs.dragonflybsd.org/issues/2417

Author: John Marino
Status: New
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]