-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Systhreads bug #5295
Copy link
Copy link
Closed
Labels
Description
Original bug ID: 5295
Reporter: @db4
Status: closed (set by @xavierleroy on 2013-08-31T10:48:58Z)
Resolution: fixed
Priority: normal
Severity: crash
Version: 3.12.0
Fixed in version: 4.00.0+dev
Category: ~DO NOT USE (was: OCaml general)
Monitored by: mehdi @ygrek @Chris00
Bug description
Steps to reproduce it:
/* thread 1 */
caml_startup();
caml_enter_blocking_section();
/* thread 2 */
caml_c_thread_register();
/* thread 1 */
caml_c_thread_unregister();
/* thread 2 */
caml_leave_blocking_section();
Now all_threads pointer is invalid and you'll see the crash. The fix is attached.
File attachments
Reactions are currently unavailable