Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Systhreads bug #5295

Closed
vicuna opened this issue Jun 17, 2011 · 4 comments

Comments

Projects
None yet
1 participant
@vicuna
Copy link

commented Jun 17, 2011

Original bug ID: 5295
Reporter: db
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

@vicuna

This comment has been minimized.

Copy link
Author

commented Jun 24, 2011

Comment author: db

(Edit: delete non-existing issue reported by mistake)

@vicuna

This comment has been minimized.

Copy link
Author

commented Jul 26, 2011

Comment author: db

Sorry, but why do you think this bug should not be fixed?

@vicuna

This comment has been minimized.

Copy link
Author

commented Aug 1, 2011

Comment author: @xclerc

Sorry, I misinterpreted the first note as meaning "delete this bug report".

@vicuna

This comment has been minimized.

Copy link
Author

commented Apr 8, 2012

Comment author: @xavierleroy

Fixed as suggested in 4.00 release branch (commit 12324) and in trunk (commit 12325)

@vicuna vicuna closed this Aug 31, 2013

@vicuna vicuna added the bug label Mar 20, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.