#15025 closed bug (fixed)
Possible bug in pthread_attr_get_np
Reported by: | miqlas | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta2 |
Component: | System/Kernel | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
Compiling ruby "miniruby" crashing on Haiku in pthread_attr_get_np somewhere here:
https://github.com/ruby/ruby/blob/f1a52d96a59c63d46cb23af60cdcaf38e30e0512/thread_pthread.c#L636
For more information: https://bugs.ruby-lang.org/issues/15788 and https://github.com/haikuports/haikuports/issues/3791
According to korli:
Looks like a bug in Haiku pthread_getattr_np. For pthread_attr_get_np() attr should be initialized prior to the call by using pthread_attr_init(3). pthread_getattr_np() does this automatically.
Attachments (1)
Change History (4)
by , 6 years ago
Attachment: | miniruby-118085-debug-23-04-2019-19-54-51.report added |
---|
comment:3 by , 5 years ago
Milestone: | Unscheduled → R1/beta2 |
---|
Assign tickets with status=closed and resolution=fixed within the R1/beta2 development window to the R1/beta2 Milestone
Note:
See TracTickets
for help on using tickets.
Debugger log