| Anonymous | Login | Signup for a new account | 2013-05-23 07:44 CEST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||
| 0003966 | OCaml | OCaml general | public | 2006-01-28 15:20 | 2012-09-25 20:10 | |||
| Reporter | anonymous | |||||||
| Assigned To | frisch | |||||||
| Priority | normal | Severity | minor | Reproducibility | always | |||
| Status | closed | Resolution | unable to reproduce | |||||
| Platform | OS | OS Version | ||||||
| Product Version | 3.08.3 | |||||||
| Target Version | Fixed in Version | |||||||
| Summary | 0003966: Crash will varying placement of Callback.register | |||||||
| Description | Hullo. I call caml_main immediately followed by callback from a program written in C++. It works if the callback is registered prior to the last function evaluated in initialisation: let register = Callback.register "Get canvas" canvas let _ = (* rest of program initialisation *) But if the Callback.register is in the final let _ ... let _ = Callback.register "Get canvas" canvas ... it crashes with SIGILL. I can't see anything in the documentation warning about this placement of Callback.register. I'm compiling on PowerPC. Cheers, John Whitington jgw25@cam.ac.uk | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Notes |
|
|
(0007829) frisch (developer) 2012-07-29 17:56 |
Maybe the "rest of program initialisation" calls into C++, which assumes "Get canvas" is already registered? This is a very old ticket, with no reproduction case. I'm marking it as "resolved / unable to reproduce". |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2006-01-28 15:20 | anonymous | New Issue | |
| 2006-03-29 16:29 | doligez | Status | new => acknowledged |
| 2012-07-11 16:45 | doligez | Target Version | => 4.01.0+dev |
| 2012-07-29 17:56 | frisch | Note Added: 0007829 | |
| 2012-07-29 17:56 | frisch | Status | acknowledged => resolved |
| 2012-07-29 17:56 | frisch | Resolution | open => unable to reproduce |
| 2012-07-29 17:56 | frisch | Assigned To | => frisch |
| 2012-07-29 17:56 | frisch | Target Version | 4.01.0+dev => |
| 2012-09-25 20:10 | xleroy | Status | resolved => closed |
| Copyright © 2000 - 2011 MantisBT Group |