Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005687OCamlOCaml generalpublic2012-07-16 12:212012-07-16 13:09
Reporterfrisch 
Assigned Tofrisch 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Version4.00.0+devFixed in Version 
Summary0005687: dynlink broken when used from "output-obj" main program (bytecode)
Descriptioncaml_code_fragments is initialized in fix_code.c, function caml_load_code. This is not called when the program is initialized through caml_startup_code. The call to caml_ext_table_add in caml_register_code_fragment (meta.c) thus fails.
TagsNo tags attached.
Attached Files

- Relationships
related to 0005215resolved Serialization of dynlinked closure 

-  Notes
(0007756)
frisch (developer)
2012-07-16 12:38

Fixed (commits 12714 on trunk; 12715 on 4.00).

There is a lot of code duplication between the two ways to load code in bytecode. We should consider factorizing common logic to avoid such bugs.
(0007757)
frisch (developer)
2012-07-16 13:09

(For the records, this is related to 0005215.)

- Issue History
Date Modified Username Field Change
2012-07-16 12:21 frisch New Issue
2012-07-16 12:24 frisch Assigned To => frisch
2012-07-16 12:24 frisch Status new => assigned
2012-07-16 12:38 frisch Note Added: 0007756
2012-07-16 12:38 frisch Status assigned => resolved
2012-07-16 12:38 frisch Resolution open => fixed
2012-07-16 13:09 frisch Note Added: 0007757
2012-07-16 13:09 frisch Relationship added related to 0005215


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker