Ticket #1814 (closed bug: invalid)

Opened 11 months ago

Last modified 11 months ago

Firefox gcc4.12 port fails assertion in posix/malloc/superblock.h:272

Reported by: tqh Owned by: axeld
Priority: normal Milestone: R1
Component: System/libroot.so Version: R1 development
Cc: Blocked By:
Platform: All Blocking:

Description

This is a gcc4.12 build.

I havn't investigated this much yet, it's bt goes thru BPrivate::processHeap::free() which makes me suspect it's a Haiku problem. See screendump from QEMU for bt.

Attachments

qemu.png (72.1 KB) - added by tqh 11 months ago.
backtrace in QEMU

Change History

Changed 11 months ago by tqh

backtrace in QEMU

Changed 11 months ago by tqh

Just recalled I have 'experimental' change in nsFontMetricsBeOS, so let me investigate it a bit more.

Changed 11 months ago by axeld

The assert in question would be interesting, but usually, when an assertion fails in the allocator, it's a memory corruption problem of the user application (or memory freed twice).

Changed 11 months ago by marcusoverhagen

probably NS_ConvertUTF16toUTF8 is overwrting the buffer end, you should check that

Changed 11 months ago by tqh

My experimental code was ofc wrong. Now it works: http://hem.bredband.net/b143824/gcc4_firefox.png

Changed 11 months ago by tqh

Oh, do close this bug.

Changed 11 months ago by stippi

  • status changed from new to closed
  • resolution set to invalid

Your wish is my command. :-)

Note: See TracTickets for help on using tickets.