Opened 13 years ago

Closed 13 years ago

#1304 closed bug (fixed)

Panic: ASSERT FAILED while compiling jam with kernel assert enabled

Reported by: jackburton Owned by: axeld
Priority: blocker Milestone: R1
Component: System/Kernel Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: All


While compiling jam under haiku, I got a PANIC: ASSERT FAILED(src/system/kernel§/arch/x86/arch_thread.c:66): stack->index < 4

That "4" is IFRAME_TRACE_DEPTH and it's defined in arch_thread_types.h.

Attachments (2)

backtrace.png (22.9 KB ) - added by jackburton 13 years ago.
assert-stack-index.txt (40.6 KB ) - added by kaliber 13 years ago.
ASSERT stack->index backtrace

Download all attachments as: .zip

Change History (6)

comment:1 by axeld, 13 years ago

Priority: highblocker

That's a mean one; I'll try to reproduce it. Is it possible for you to attach more kernel output? A stack crawl would be definitely helpful.

comment:2 by axeld, 13 years ago

BTW I've turned on all ASSERTs in the kernel by default now (thanks to Travis for fixing the build there).

by jackburton, 13 years ago

Attachment: backtrace.png added


comment:3 by jackburton, 13 years ago

I've attached a backtrace. Note that before the actual panic message, I get: "last message repeated 6 times"

by kaliber, 13 years ago

Attachment: assert-stack-index.txt added

ASSERT stack->index backtrace

comment:4 by bonefish, 13 years ago

Resolution: fixed
Status: newclosed

Fixed in hrev21783.

Note: See TracTickets for help on using tickets.