Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 May 2006 07:53:00 -0700
From:      Jason Evans <jasone@FreeBSD.org>
To:        "Alexandre \"Sunny\" Kovalenko" <Alex.Kovalenko@verizon.net>
Cc:        current@freebsd.org
Subject:   Re: Assertion failed... function arena_run_reg_dalloc
Message-ID:  <4471D04C.3050009@FreeBSD.org>
In-Reply-To: <1148262629.1065.9.camel@RabbitsDen>
References:  <1148262629.1065.9.camel@RabbitsDen>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexandre "Sunny" Kovalenko wrote:
> I get following message on today's (May 21) -CURRENT with up-to-date
> jpilot from ports:
> 
> Assertion failed: ((run->regs_mask[elm] & (1 << bit)) == 0), function
> arena_run_reg_dalloc, file /usr/src/lib/libc/stdlib/malloc.c, line 1638.

This assertion most likely failed due to trying to free an object that 
was already free (double free).

> Stack trace is:
> 
> (gdb) bt
> #0  0x28adbf97 in kill () from /lib/libc.so.6
> #1  0x289df7c7 in raise () from /lib/libpthread.so.2
> #2  0x28adaabc in abort () from /lib/libc.so.6
> #3  0x28ac31b6 in __assert () from /lib/libc.so.6
> #4  0x28a6548d in reallocf () from /lib/libc.so.6
> #5  0x28a67b19 in free () from /lib/libc.so.6
> #6  0x287f38b1 in g_free () from /usr/local/lib/libglib-2.0.so.0
> #7  0x0807cf6a in get_inline_pixbuf_data.0 () at jpilot.c:1375
> #8  0x0807d4cd in get_main_menu (window=0x82a5028, menubar=0xbfbfdee0,
> plugin_list=0x82b0830)
>     at jpilot.c:1382
> #9  0x0807f0eb in main (argc=1, argv=0xbfbfe770) at jpilot.c:2443

This stack trace is somehow wrong.  free() does not call reallocf().

Jason



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4471D04C.3050009>