Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. IssueW47.2026 · 16–22 Novocaml/ocaml

    Finalise debug assertion fails under concurrent marking

    The debug assertion k == todo_count in generic_final_update fails when another domain marks values between the function's two passes.

    KC Sivaramakrishnan (@kayceesrk)
  2. IssueW47.2026 · 16–22 Novocaml/ocaml

    Finaliser called on a value that is still reachable

    A function registered with Gc.finalise can be called on a value that has been reachable ever since it was registered.

    KC Sivaramakrishnan (@kayceesrk)
  3. Pull requestW47.2026 · 16–22 Novocaml/ocaml

    Fix #14374: pattern matching is exhaustive in the case of gadt indexed by non-overlapping closed polymorphic variants

    gasche

    Alex1005a
  4. Pull requestW47.2026 · 16–22 Novocaml/ocaml

    Fix #15160, #15244, segfaults on array index in native code

    The test are generated with claude, the fix is generated by me.

    Stefan Muenzel (@smuenzel)
  5. Pull requestW47.2026 · 16–22 Novocaml/ocaml

    Fix Complex.pow for a zero base and a positive real exponent

    Squaring Complex.zero currently gives { re = nan; im = nan }. The logarithm of zero has real part minus infinity, so the complex multiplication in pow ends up multiplying zero by minus infinity.

    Sora Morimoto (@smorimoto)
  6. Pull requestW47.2026 · 16–22 Novocaml/ocaml

    Fix Dynarray.sort on floats (#15351)

    Fixes #15351 (cc @kayceesrk)

    Nicolás Ojeda Bär (@nojb)
  7. Pull requestW47.2026 · 16–22 Novocaml/ocaml

    Fix Gc.heap_words and Gc.top_heap_words: include pool_freelist

    Gc.heap_words and Gc.top_heap_words: include pool_freelist

    Török Edwin (@edwintorok)
  8. Pull requestW47.2026 · 16–22 Novocaml/ocaml

    Fix TSan shadow stack accounting for POWER

    This PR aims to fix of #14255 for POWER. So far, all the changes have been proposed by Miod.

    Olivier Nicole (@OlivierNicole)
  9. Pull requestW47.2026 · 16–22 Novocaml/ocaml

    Fix TSan support on POWER bonus two runtime bug fixes

    Fixes the exn_from_c_stack_args failure and the unw_step abort reported in #14605. Supersedes #14302, whose approach this replaces, though the diagnosis and the TSan bracketing of caml_c_call_stack_args both come from @miodvallat and @OlivierNicole's work there, thanks.

    Tim McGilchrist (@tmcgilchrist)
  10. Pull requestW47.2026 · 16–22 Novocaml/ocaml

    Fix formatting of Sys.int_size in int.mli

    The syntax

    jacekchrzaszcz
  11. Pull requestW47.2026 · 16–22 Novocaml/ocaml

    Fix integer narrowing in Unix, runtime events and bigarray

    This PR fixes integer narrowing in the Unix library and the runtime. It is best read commit by commit.

    KC Sivaramakrishnan (@kayceesrk)
  12. Pull requestW47.2026 · 16–22 Novocaml/ocaml

    Fix ldexp for exponents outside the range of a C int

    On 64-bit targets, Float.ldexp 1. max_int returns 0.5 because converting the exponent to a C int turns it into -1. The result should be infinity.

    Sora Morimoto (@smorimoto)
  13. Pull requestW47.2026 · 16–22 Novocaml/ocaml

    Fix make stall on macOS GNU Make 3.81

    Fix for macOS make stalling when running make -j. I frequently experience this issue developing on macOS, especially when running parallel re-builds.

    Tim McGilchrist (@tmcgilchrist)
  14. Pull requestW47.2026 · 16–22 Novocaml/ocaml

    Fix off-by-one out-of-bounds write registering custom runtime events

    Dear OCaml maintainers,

    Nathan Taylor (@dijkstracula)
  15. Pull requestW47.2026 · 16–22 Novocaml/ocaml

    Fix the backtrace of Stack_overflow raised by caml_call_realloc_stack

    On arm64, RISC-V, POWER and s390x, a Stack_overflow raised by caml_call_realloc_stack has an empty backtrace, as noted for arm64 in #12277.

    Tim McGilchrist (@tmcgilchrist)
  16. Pull requestW47.2026 · 16–22 Novocaml/ocaml

    Fix the pattern-matching bug, again

    This is a proposed alternative to @lthls' #15326, which reports a version of the infamous "pattern-matching bug" ( #7241 ) which is still present for code using precompile_or, the special path taken when compiling some or-patterns. The present PR proposes a more minimal fix (it is certainly shorter), which I believe is conceptually closer to the root cause o…

    Gabriel Scherer (@gasche)
  17. Pull requestW47.2026 · 16–22 Novocaml/ocaml

    Fix two minor memory leaks

    Two little memory leaks spotted by address sanitizer jobs in oxcaml/oxcaml#7791 and oxcaml/oxcaml#7792.

    David Allsopp (@dra27)
  18. Pull requestW47.2026 · 16–22 Novocaml/ocaml

    Fixed Hashtbl.filter_map_inplace leaving the table inconsistent on raise

    The current algorithm to map and then filter inplace calls a helper function which does this operation for each bucket of the Hashtable array, which is where the bug lies called filter_map_inplace_bucket.

    ButteryPaws
  19. IssueW47.2026 · 16–22 Novocaml/ocaml

    Float.ldexp truncates its exponent

    Float.ldexp 1.0 (1 lsl 32) returns 1. instead of infinity on 64-bit platforms. The unboxed stub casts the exponent to C int (floats.c:854-857), and the boxed one uses Int_val (floats.c:860-863). Hence on 64-bit an exponent outside the int range wraps before it reaches ldexp.

    KC Sivaramakrishnan (@kayceesrk)
  20. IssueW47.2026 · 16–22 Novocaml/ocaml

    Forced lazy value as an ephemeron key is dropped by minor GC

    An ephemeron key that is a forced lazy value still in the minor heap is cleared at the next minor collection, and the data released, although the program holds the value throughout.

    KC Sivaramakrishnan (@kayceesrk)