libapt-pkg-libc6.9-6.so.4.7.0 segfaults in pkgCache::FindPkg ()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Bug Description
I just went through this very painful situation, after which my dmesg look like this:
[ 7074.740126] apt-check[10413]: segfault at 7f1b9408fd75 ip 00007f1b5d698066 sp 00007fff66b93820 error 4 in libapt-
[ 7085.117862] apt-check[10506]: segfault at 7f863158ed75 ip 00007f85fab97066 sp 00007fff04091d20 error 4 in libapt-
[ 7092.590232] apt-check[10993]: segfault at 7fe51c7f9d75 ip 00007fe4e5e02066 sp 00007fffef2ff380 error 4 in libapt-
[ 7112.957720] apport-gtk[11129]: segfault at 7f679c8b9d75 ip 00007f676a3f9066 sp 00007f6766160820 error 4 in libapt-
[ 7150.135892] apt-check[11386]: segfault at 7fbc75cd2d75 ip 00007fbc3f2db066 sp 00007fff487d6460 error 4 in libapt-
[ 7208.025538] apport-gtk[11401]: segfault at 7f331aeccd75 ip 00007f32e9794066 sp 00007f32e4773820 error 4 in libapt-
[ 7233.203051] apport-gtk[11495]: segfault at 3c4871e5 ip 00007f6b75570066 sp 00007f6b6fa5d820 error 4 in libapt-
[ 7337.790197] apport-gtk[11499]: segfault at 7fcd6d222d65 ip 00007fcd3b1bd066 sp 00007fcd36ac8820 error 4 in libapt-
[ 7357.158640] apport-gtk[11588]: segfault at 7f55058f4d65 ip 00007f54d3ef9066 sp 00007f54cf19a820 error 4 in libapt-
What happened was that apport failed to report a bug in apt, and then apport itself crashed during this process and I get this dialog saying "Do you want to report a bug in " (empty string instead of filename). And then apport crashed again with some other bug (see different EIP above).
Based on this, I think some basic testing would be useful for apport-gtk... like for example, what happens if you do " kill -s SIGSEGV `pidof apport-gtk`" or something equivalent?
Is there a plan in place to handle bugs in apport? Bugs in apport can potentially be very nasty because they could hide other super common bugs that are not being reported correctly (like my apt bug clearly wasnt).
Maybe this has something to do with the fact that apport-gtk sometimes runs with sudo and sometimes not?
Anyway, I also found I had two unsubmitted apport-gtk crashes in /var/crashes folder after this: temp.minimum. se/apport- gtk-crashes/
http://