Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 735784 - app-admin/keepass crashes in glibc: free(): double free detected in tcache 2
Summary: app-admin/keepass crashes in glibc: free(): double free detected in tcache 2
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alessandro Di Federico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-03 15:35 UTC by Joseph
Modified: 2020-08-11 14:11 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
output from the crash (crashtrace.txt.xz,2.81 KB, application/x-xz)
2020-08-03 15:36 UTC, Joseph
Details
mono_crash.*.json files (mono_crash.tar.xz,14.82 KB, application/x-xz)
2020-08-03 15:38 UTC, Joseph
Details
emerge --info dev-lang/mono (mono-info.txt.xz,3.37 KB, application/x-xz)
2020-08-03 22:54 UTC, Joseph
Details
emerge --info keepass (keeypass-info.txt.xz,3.35 KB, application/x-xz)
2020-08-03 22:54 UTC, Joseph
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph 2020-08-03 15:35:58 UTC
When starting keepass, it shows a black window then displays the following crash report attached.


You may need to try to open a file first. It was initially crashing on opening the password file, but then I moved the file away and it put up a dialog with a can't-find-file error, and then a file chooser. I chose the file, then it locked up and crashed again. Ever since then, it's crashed again. It's still looking for the original file, though, since moving the file back brought back the right window shape for entering in the password.

It crashed before I upgraded to the latest mono version this morning (I run ~amd64) and also after. I _believe_ i upgraded libc this weekend, so I suspect it's either a latent bug or a bug in the double-free checker.


Reproducible: Always

Steps to Reproduce:
1.run keepass in a terminal
2.dialog appears. don't need to do anything
3.observe crash
Actual Results:  
crash

Expected Results:  
not crash
Comment 1 Joseph 2020-08-03 15:36:49 UTC
Created attachment 652734 [details]
output from the crash
Comment 2 Joseph 2020-08-03 15:38:24 UTC
Created attachment 652736 [details]
mono_crash.*.json files

A set of mono_crash.*.json files (tar xz)
Comment 3 Joseph 2020-08-03 15:47:03 UTC
There are a few occasions where it doesn't crash. It crashes pretty reliably for me, though (> 9/10 times)
Comment 4 Jonas Stein gentoo-dev 2020-08-03 19:37:05 UTC
Does it crash with 2.45 and 2.44?

We need to have all information at hand before ticket assignment. That is why I ask you to 
* attach the logs and 
* paste the emerge info 
as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
Please reopen this ticket (Status:UNCONFIRMED) afterwards.
Comment 5 Joseph 2020-08-03 22:54:29 UTC
Created attachment 652818 [details]
emerge --info dev-lang/mono
Comment 6 Joseph 2020-08-03 22:54:50 UTC
Created attachment 652820 [details]
emerge --info keepass
Comment 7 Joseph 2020-08-03 22:56:16 UTC
Logs were already attached. I had emerge --info in, but not attached. Maybe I accidentally removed it (I had to try several times due to character count limitations)

I've attached emerge --info for mono and for keepass.
Comment 8 Joseph 2020-08-03 22:57:52 UTC
Re: versions. I really don't think keepass itself is the issue, since this is an issue in glibc.
Comment 9 Joseph 2020-08-03 22:59:12 UTC
From the looks of things, I haven't updated glibc since July, and mono only this morning (crashed before and after the update). Keepass hasn't been updated for quite some time, and today was the first time it's crashed on me.
Comment 10 Joseph 2020-08-04 13:37:54 UTC
Once I can get into keepass, it works fine.
Comment 11 Jeroen Roovers (RETIRED) gentoo-dev 2020-08-06 06:54:16 UTC
(In reply to Jonas Stein from comment #4)
> We need to have all information at hand before ticket assignment.

No, we don't.

> Please reopen this ticket (Status:UNCONFIRMED) afterwards.

Please stop doing that.
Comment 12 Joseph 2020-08-11 14:11:19 UTC
Some update this weekend seems to have fixed it. I've not had a crash since at least Monday. Since it's now working, I'll close this.