Opened 12 years ago

Closed 12 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:
Has a Patch: no 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 12 years ago.
assert-stack-index.txt (40.6 KB) - added by kaliber 12 years ago.
ASSERT stack->index backtrace

Download all attachments as: .zip

Change History (6)

comment:1 Changed 12 years ago by axeld

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 Changed 12 years ago by axeld

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

Changed 12 years ago by jackburton

Attachment: backtrace.png added


comment:3 Changed 12 years ago by jackburton

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

Changed 12 years ago by kaliber

Attachment: assert-stack-index.txt added

ASSERT stack->index backtrace

comment:4 Changed 12 years ago by bonefish

Resolution: fixed
Status: newclosed

Fixed in hrev21783.

Note: See TracTickets for help on using tickets.