[Bug 59240] update-mime-info segfaults
Daniel Milstein
djmilstein at gmail.com
Wed Sep 6 19:47:31 UTC 2006
Public bug reported:
Binary package hint: shared-mime-info
When I try and install shared-mime-info in apt-get, I get a segfault
with the following error message:
Setting up shared-mime-info (0.17-0ubuntu11) ...
***
* Updating MIME database in /usr/share/mime...
Wrote 503 strings at 20 - 29c8
Wrote aliases at 29c8 - 2bbc
Wrote parents at 2bbc - 35b8
Wrote literal globs at 35b8 - 3614
Wrote suffix globs at 3614 - 6b4c
Wrote full globs at 6b4c - 6b70
/var/lib/dpkg/info/shared-mime-info.postinst: line 9: 15628 Segmentation fault /usr/bin/update-mime-database /usr/share/mime
dpkg: error processing shared-mime-info (--configure):
subprocess post-installation script returned error exit status 139
Errors were encountered while processing:
shared-mime-info
E: Sub-process /usr/bin/dpkg returned an error code (1)
The gdb backtrace is as follows:
Program received signal SIGSEGV, Segmentation fault.
0x0804ad92 in write_match (key=0x8075d68,
data=0xbfd220f4) at update-mime-database.c:2194
2194 offset = mdata->offset + 32 * g_list_index (mdata->matches, magic->matches->data);
(gdb) bt
#0 0x0804ad92 in write_match (key=0x8075d68,
data=0xbfd220f4) at update-mime-database.c:2194
#1 0xb7d354ba in g_ptr_array_foreach ()
from /usr/lib/libglib-2.0.so.0
#2 0x0804b6e7 in write_cache (cache=0x8070890)
at update-mime-database.c:2332
#3 0x0804dee8 in main (argc=2, argv=0xbfd22314)
at update-mime-database.c:2833
(gdb)
Is there anything that I can do to fix this?
Many thanks.
** Affects: shared-mime-info (Ubuntu)
Importance: Untriaged
Status: Unconfirmed
--
update-mime-info segfaults
https://launchpad.net/bugs/59240
More information about the desktop-bugs
mailing list