Skip to content

Commit 158b943

Browse files
authored
Merge pull request #322 from ocaml-multicore/categorise-bugs
Categorize issues
2 parents 871eeaf + 21346c6 commit 158b943

File tree

1 file changed

+34
-34
lines changed

1 file changed

+34
-34
lines changed

README.md

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -344,106 +344,106 @@ property can be done in two different ways:
344344
Issues
345345
======
346346

347-
`flexdll` contains a race condition in its handling of errors (new)
348-
-------------------------------------------------------------------
347+
`flexdll` contains a race condition in its handling of errors (new, flexdll)
348+
----------------------------------------------------------------------------
349349

350350
Parallel `Lin` tests of the `Dynlink` module found [a race
351351
condition](https://github.com/ocaml/flexdll/pull/112) in accesses to
352352
the global variables storing the last error.
353353

354354

355-
`Buffer.add_string` contained a race condition (new, fixed)
356-
-----------------------------------------------------------
355+
`Buffer.add_string` contained a race condition (new, fixed, stdlib)
356+
-------------------------------------------------------------------
357357

358358
Parallel `STM` tests of the `Buffer` module found a segfault, leading
359359
to the discovery of an [assertion failure](https://github.com/ocaml/ocaml/issues/12103)
360360
revealing a race condition in the `add_string` function
361361

362362

363-
Parallel `Weak` `Hashset` usage may crash the runtime (new)
364-
-----------------------------------------------------------
363+
Parallel `Weak` `Hashset` usage may crash the runtime (new, runtime)
364+
--------------------------------------------------------------------
365365

366366
Parallel `STM` tests found a combination of `Weak` `Hashset` functions
367367
that [may cause the run-time to `abort` or segfault](https://github.com/ocaml/ocaml/issues/11934)
368368

369369

370-
`Sys.readdir` on MingW disagrees with Linux behavior (new, fixed)
371-
-----------------------------------------------------------------
370+
`Sys.readdir` on MingW disagrees with Linux behavior (new, fixed, stdlib)
371+
-------------------------------------------------------------------------
372372

373373
Sequential `STM` tests of `Sys` showed how `Sys.readdir` of a
374374
non-existing directory on MingW Windows [returns an empty `array`, thus
375375
disagreeing with the Linux and macOS behavior](https://github.com/ocaml/ocaml/issues/11829)
376376

377377

378-
`seek` on a closed `in_channel` may read uninitialized memory (new)
379-
-------------------------------------------------------------------
378+
`seek` on a closed `in_channel` may read uninitialized memory (new, fixed, runtime)
379+
-----------------------------------------------------------------------------------
380380

381381
A failure of `Lin` `In_channel` tests revealed that `seek` on a closed
382382
`in_channel` [may read uninitialized memory](https://github.com/ocaml/ocaml/issues/11878)
383383

384384

385-
Parallel usage of `Weak` could produce weird values (new, fixed)
386-
----------------------------------------------------------------
385+
Parallel usage of `Weak` could produce weird values (new, fixed, runtime)
386+
-------------------------------------------------------------------------
387387

388388
Racing `Weak.set` and `Weak.get` [can in some cases produce strange values](https://github.com/ocaml/ocaml/pull/11749)
389389

390390

391-
Bytecode interpreter can segfault on unhandled `Effect` (new, fixed)
392-
--------------------------------------------------------------------
391+
Bytecode interpreter can segfault on unhandled `Effect` (new, fixed, runtime)
392+
-----------------------------------------------------------------------------
393393

394394
In seldom cases the tests would [trigger a segfault in the bytecode interpreter when treating an unhandled `Effect`](https://github.com/ocaml/ocaml/issues/11669)
395395

396396

397-
`Ephemeron` can fail assert and abort (new, fixed)
398-
-------------------------------------------------
397+
`Ephemeron` can fail assert and abort (new, fixed, runtime)
398+
-----------------------------------------------------------
399399

400400
In some cases (even sequential) [the `Ephemeron` tests can trigger an assertion failure and abort](https://github.com/ocaml/ocaml/issues/11503).
401401

402402

403-
Parallel usage of `Bytes.escaped` is unsafe (new, fixed)
404-
--------------------------------------------------------
403+
Parallel usage of `Bytes.escaped` is unsafe (new, fixed, stdlib)
404+
----------------------------------------------------------------
405405

406406
The `Bytes` tests triggered a segfault which turned out to be caused by [an unsafe `Bytes.escaped` definition](https://github.com/ocaml/ocaml/issues/11508).
407407

408408

409-
Infinite loop in `caml_scan_stack` on ARM64 (known, fixed)
410-
----------------------------------------------------------
409+
Infinite loop in `caml_scan_stack` on ARM64 (known, fixed, runtime)
410+
-------------------------------------------------------------------
411411

412412
The tests triggered [an apparent infinite loop on ARM64 while amd64 would complete the tests as expected](https://github.com/ocaml/ocaml/issues/11425).
413413

414414

415-
Unsafe `Buffer` module (new, fixed)
416-
-----------------------------------
415+
Unsafe `Buffer` module (new, fixed, stdlib)
416+
-------------------------------------------
417417

418418
The tests found that the `Buffer` module implementation is [unsafe under parallel usage](https://github.com/ocaml/ocaml/issues/11279) - initially described in [multicoretests#63](https://github.com/ocaml-multicore/multicoretests/pull/63).
419419

420420

421-
MacOS segfault (new, fixed)
422-
---------------------------
421+
MacOS segfault (new, fixed, runtime)
422+
------------------------------------
423423

424424
The tests found an issue causing [a segfault on MacOS](https://github.com/ocaml/ocaml/issues/11226).
425425

426426

427-
`In_channel` and `Out_channel` unsafety (new, status?)
428-
------------------------------------------------------
427+
`In_channel` and `Out_channel` unsafety (new, fixed, runtime)
428+
-------------------------------------------------------------
429429

430430
The tests found a problem with `In_channel` and `Out_channel` which
431431
could trigger segfaults under parallel usage. For details see
432432
[issue ocaml-multicore/multicoretests#13](https://github.com/ocaml-multicore/multicoretests/pull/13) and
433433
[this ocaml/ocaml#10960 comment](https://github.com/ocaml/ocaml/issues/10960#issuecomment-1087660763).
434434

435435

436-
Cornercase issue in `Domainslib` (new, fixed)
437-
---------------------------------------------
436+
Cornercase issue in `Domainslib` (new, fixed, domainslib)
437+
---------------------------------------------------------
438438

439439
The tests found an issue in `Domainslib.parallel_for_reduce` which
440440
[would yield the wrong result for empty arrays](https://github.com/ocaml-multicore/domainslib/pull/67).
441441
As of [domainslib#100](https://github.com/ocaml-multicore/domainslib/pull/100)
442442
the `Domainslib` tests have been moved to the `Domainslib` repo.
443443

444444

445-
Specification of `Lockfree.Ws_deque` (fixed)
446-
--------------------------------------------
445+
Specification of `Lockfree.Ws_deque` (new, fixed, lockfree)
446+
-----------------------------------------------------------
447447

448448
The initial tests of `ws_deque` just applied the parallelism property `agree_prop_par`.
449449
However that is not sufficient, as only the original domain (thread)
@@ -504,8 +504,8 @@ failure (1 tests failed, 0 tests errored, ran 1 tests)
504504
```
505505

506506

507-
Segfault in Domainslib (known, fixed)
508-
-------------------------------------
507+
Segfault in Domainslib (known, fixed, domainslib)
508+
-------------------------------------------------
509509

510510
Testing `Domainslib.Task`s with one dependency and with 2 work pools
511511
found a [segfault in domainslib](https://github.com/ocaml-multicore/domainslib/issues/58).
@@ -516,8 +516,8 @@ the `Domainslib` repo.
516516

517517

518518

519-
Dead-lock in Domainslib (known, fixed)
520-
--------------------------------------
519+
Dead-lock in Domainslib (known, fixed, domainslib)
520+
--------------------------------------------------
521521

522522
A reported deadlock in domainslib motivated the development of these tests:
523523
- https://github.com/ocaml-multicore/domainslib/issues/47

0 commit comments

Comments
 (0)