-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rar2fs coredump - Signal 6 (ABRT) #160
Comments
Does not really look good, does it? |
Good news is that is seems to be isolated to the When you try to reproduce. can you please run rar2fs in the foreground using the |
Or even better, run it through |
Yeah it showed up from nowhere and happens quite regularly. So while I don't have instructions on how to reproduce, its hows up after a few hours or days (can happen multiple times a day, or work for a few days). I will let you know as soon as I have something from gdb. When it stops, do you want just a Notes to self (and possibly others in the future):
|
A stack trace and possibly a dump of some of the symbols/variables in the context of the crash would be enough for now. The value of the pointer being freed would be good. I suspect it to be a rogue pointer not initialized properly. Otherwise I would have expected some double free or corruption error. Calling free() with NULL is always ok. |
In case you can reproduce, also try this attached patch on top of master/HEAD. I have my suspicions that patch might solve this issue. |
So far it has been running smooth, but I suspect not for much longer. It's always like this when you want it to happen it doesn't. |
No news here? Still no crash to work with? |
Annoying as it is it's suddenly working as expected, no crashes so far since I started it. It's just annoying it can't be reproduced from having issues multiple times a day/week -> creates issue -> can't reproduce 😞 |
Let's just keep it open then. When I studied the actual crash signature there are not many places it would blow up like this. I think the patch provided would cover that. It would be a rather rare situation for this to happen so you must have been very unlucky or lucky to spot it. Never the less, the problem is/was there. Just need to wait for it. |
Still working perfectly fine curiously enough. I will get back when/if something bad happens, you may close the issue in the meanwhile if you want. |
Reset pointer after free to avoid a potential double-free error. Even though it has not yet been confirmed this might be the reason behind issue #160. Signed-off-by: Hans Beckerus <hans.beckerus at gmail.com>
Despite the fact you have not been able to reproduce the issue I have chosen to merge the patch since it does no harm really. |
Issue
rar2fs is randomly stopped, I've managed to get the core dump of one of these failures.
rar2fs has been working fine for the last 12+months before this issue started happening unrelated to any updates as far as I could tell.
Does the core dump tell you anything interesting? Memory at the time was as follows:
Since I'm seeing
malloc
in the core dump I started to suspect it's memory related but there is plenty of cache to take from.I'm kind of stuck so any ideas are welcome 😃
Thank you for your work on rar2fs!
Versions
ldd
Logs
dmesg
journal
coredump
The text was updated successfully, but these errors were encountered: