diff options
author | Christopher Baines <mail@cbaines.net> | 2023-08-20 13:41:22 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2023-08-20 13:41:22 +0100 |
commit | 06be815b0c65e0b99a0b98ba4c2fa3909d7ecc80 (patch) | |
tree | 17d6102cad91a86b045338bead9680b0be0a9336 | |
parent | c4008265d4f19adad8827f454556ab0e66075e7d (diff) | |
download | build-coordinator-06be815b0c65e0b99a0b98ba4c2fa3909d7ecc80.tar build-coordinator-06be815b0c65e0b99a0b98ba4c2fa3909d7ecc80.tar.gz |
Try and enable core dumps
-rw-r--r-- | guix-build-coordinator/coordinator.scm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/guix-build-coordinator/coordinator.scm b/guix-build-coordinator/coordinator.scm index e8fd4f2..3c96d5b 100644 --- a/guix-build-coordinator/coordinator.scm +++ b/guix-build-coordinator/coordinator.scm @@ -397,6 +397,13 @@ (pid-file #f) (trigger-build-allocation? #t) (parallel-hooks '())) + (with-exception-handler + (lambda (exn) + (simple-format #t "failed enabling core dumps: ~A\n" exn)) + (lambda () + (setrlimit 'core #f #f)) + #:unwind? #t) + ;; TODO Work around this causing problems with backtraces ;; https://github.com/wingo/fibers/issues/76 (set-record-type-printer! |