Opened 17 years ago

Closed 17 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

Description

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 17 years ago.
Backtrace
assert-stack-index.txt (40.6 KB ) - added by kaliber 17 years ago.
ASSERT stack->index backtrace

Download all attachments as: .zip

Change History (6)

comment:1 by axeld, 17 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, 17 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, 17 years ago

Attachment: backtrace.png added

Backtrace

comment:3 by jackburton, 17 years ago

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

by kaliber, 17 years ago

Attachment: assert-stack-index.txt added

ASSERT stack->index backtrace

comment:4 by bonefish, 17 years ago

Resolution: fixed
Status: newclosed

Fixed in hrev21783.

Note: See TracTickets for help on using tickets.