# \--bug-report=rr doesn't play nicely with hang & interrupt: how to create bug report?

**URL:** https://discourse.julialang.org/t/bug-report-rr-doesnt-play-nicely-with-hang-interrupt-how-to-create-bug-report/60718
**Category:** Tooling
**Tags:** debugging
**Created:** [May 7, 2021, 1:57pm UTC](https://discourse.julialang.org/t/bug-report-rr-doesnt-play-nicely-with-hang-interrupt-how-to-create-bug-report/60718 "2021-05-07T13:57:10Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![cdwhite](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cdwhite/32/21423_2.png) [@cdwhite](https://discourse.julialang.org/u/cdwhite)
#### Post date: [May 7, 2021, 1:57pm UTC](https://discourse.julialang.org/t/bug-report-rr-doesnt-play-nicely-with-hang-interrupt-how-to-create-bug-report/60718/1 "2021-05-07T13:57:10Z")

</div>

I’m trying to construct and submit an `rr` bug report for semi-heisenbug (possibly in Julia itself). When I run

```
julia my-script.jl

```

(julia 1.6.1), I get one of a variety of errors, e.g.

```
...
corrupted double-linked list

```

or

```
julia: malloc.c:3848: _int_malloc: Assertion `chunk_main_arena (fwd)' failed.

signal (6): Aborted

```

and the program hangs. (Via debugging I know that this error is occurring at a function call.) I then send an interrupt with Ctrl-c.

The problem is, this interrupt—which is necessary to get the program to end!—interrupts the creation of the `rr` recording, so I have nothing to send in!

This seems like the perfect case for `rr`: I some kind of memory weirdness at a function call boundary. How can I create the bug report?
