Opened 5 years ago

Last modified 2 years ago

#15105 new bug

KDL: Failed to acquire spinlock (ConditionVariables)

Reported by: konrad Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: System/Kernel Version: R1/Development
Keywords: Cc:
Blocked By: Blocking: #15005, #15163
Platform: x86-64

Description

Was browsing Haiku-os.org (hrev53176) in Parallels on a Macbook Pro.

Attachments (1)

Skärmavbild 2019-06-02 kl. 20.21.13.png (273.7 KB ) - added by konrad 5 years ago.
stack trace

Download all attachments as: .zip

Change History (8)

by konrad, 5 years ago

stack trace

comment:1 by pulkomandy, 5 years ago

Component: - GeneralSystem/Kernel

comment:2 by waddlesplash, 5 years ago

The implementation for ConditionVariable::Add calls another function that locks a static mutex, and I've no idea how that could be uninitialized or the like. So I'm not sure what's going on here.

comment:3 by waddlesplash, 5 years ago

Blocking: 15163 added

comment:4 by waddlesplash, 5 years ago

Summary: kdl from WebpositiveKDL: Failed to acquire spinlock (ConditionVariables)

comment:5 by waddlesplash, 5 years ago

Blocking: 15005 added

comment:6 by waddlesplash, 5 years ago

The implementation I linked above is the one for the kernelland_emu (whoops.) The real one had what looked like a disturbing amount of spinlock contention. Following hrev53336, that should be fixed (though there was a bug in it that I fixed in hrev53337.) So if you can test after that hrev, it will be very interesting to see if this is improved at all.

comment:7 by waddlesplash, 2 years ago

Can you please retest this on a recent nightly?

Note: See TracTickets for help on using tickets.