Opened 12 years ago

Closed 12 years ago

#1814 closed bug (invalid)

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/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

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 (1)

qemu.png (72.1 KB ) - added by tqh 12 years ago.
backtrace in QEMU

Download all attachments as: .zip

Change History (7)

by tqh, 12 years ago

Attachment: qemu.png added

backtrace in QEMU

comment:1 by tqh, 12 years ago

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

comment:2 by axeld, 12 years ago

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).

comment:3 by marcusoverhagen, 12 years ago

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

comment:4 by tqh, 12 years ago

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

comment:5 by tqh, 12 years ago

Oh, do close this bug.

comment:6 by stippi, 12 years ago

Resolution: invalid
Status: newclosed

Your wish is my command. :-)

Note: See TracTickets for help on using tickets.