Opened 3 years ago

Last modified 2 years ago

#12800 assigned bug

Unit test BApplication::QuitTest4 sometimes crashes

Reported by: markh Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Kits/Application Kit Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

Sometimes when I run the unit test BApplication::QuitTest4 I get a crash (debug log attached), but this does not happen always. If it does not happen, it says the test passed.

Running hrev50329.

Small excerpt from the debug log:

		state: Exception (Segment violation)

		Frame		IP			Function Name
		-----------------------------------------------
		0x72039038	0x5edddc	BPrivate::hoardUnsbrk(void*, int32) + 0x48 

Attachments (1)

UnitTester-2273-debug-25-05-2016-22-34-50.report (27.1 KB) - added by markh 3 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 3 years ago by pulkomandy

This seems to be an heap corruption, maybe running with libroot_debug would hint more precisely at the problem. See https://www.haiku-os.org/blog/mmlr/2010-02-08_using_malloc_debug_find_memory_related_bugs .

comment:2 Changed 3 years ago by bonefish

Component: Build SystemKits/Application Kit
Owner: changed from bonefish to axeld

comment:3 Changed 2 years ago by axeld

Owner: changed from axeld to nobody
Status: newassigned
Note: See TracTickets for help on using tickets.