Bug#449555: update-mime-database Segmentation fault

Antono Vasiljev mi at antono.info
Tue Nov 6 16:30:33 UTC 2007


Package: shared-mime-info
Version: 0.22-2
Severity: normal

--- Please enter the report below this line. ---

libero:~# update-mime-database /usr/share/mime
Segmentation fault

Tis is tail of my strace:

libero:~# strace update-mime-database /usr/share/mime
....
munmap(0xb7f5d000, 4096)                = 0
rename("/usr/share/mime/application/x-font-otf.xml.new", "/usr/share/mime/application/x-font-otf.xml") = 0
mkdir("/usr/share/mime/application", 0755) = -1 EEXIST (File exists)
open("/usr/share/mime/application/x-gtar.xml.new", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f5d000
write(3, "<?xml version=\"1.0\" encoding=\"ut"..., 1895) = 1895
close(3)                                = 0
munmap(0xb7f5d000, 4096)                = 0
rename("/usr/share/mime/application/x-gtar.xml.new", "/usr/share/mime/application/x-gtar.xml") = 0
mkdir("/usr/share/mime/image", 0755)    = -1 EEXIST (File exists)
open("/usr/share/mime/image/x-niff.xml.new", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f5d000
write(3, "<?xml version=\"1.0\" encoding=\"ut"..., 215) = 215
close(3)                                = 0
munmap(0xb7f5d000, 4096)                = 0
rename("/usr/share/mime/image/x-niff.xml.new", "/usr/share/mime/image/x-niff.xml") = 0
mkdir("/usr/share/mime/audio", 0755)    = -1 EEXIST (File exists)
open("/usr/share/mime/audio/x-mp3-playlist.xml.new", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f5d000
write(3, "<?xml version=\"1.0\" encoding=\"ut"..., 2108) = 2108
close(3)                                = 0
munmap(0xb7f5d000, 4096)                = 0
rename("/usr/share/mime/audio/x-mp3-playlist.xml.new", "/usr/share/mime/audio/x-mp3-playlist.xml") = 0
mkdir("/usr/share/mime/image", 0755)    = -1 EEXIST (File exists)
open("/usr/share/mime/image/x-wmf.xml.new", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f5d000
write(3, "<?xml version=\"1.0\" encoding=\"ut"..., 372) = 372
close(3)                                = 0
munmap(0xb7f5d000, 4096)                = 0
rename("/usr/share/mime/image/x-wmf.xml.new", "/usr/share/mime/image/x-wmf.xml") = 0
mkdir("/usr/share/mime/text", 0755)     = -1 EEXIST (File exists)
open("/usr/share/mime/text/x-readme.xml.new", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f5d000
write(3, "<?xml version=\"1.0\" encoding=\"ut"..., 2042) = 2042
close(3)                                = 0
munmap(0xb7f5d000, 4096)                = 0
rename("/usr/share/mime/text/x-readme.xml.new", "/usr/share/mime/text/x-readme.xml") = 0
open("/usr/share/mime/globs.new", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f5d000
write(3, "# This file was automatically ge"..., 4096) = 4096
write(3, "/x-psf:*.psf\napplication/x-font-"..., 4096) = 4096
write(3, "e/x-sigma-x3f:*.x3f\naudio/x-stm:"..., 4096) = 4096
write(3, "lication/vnd.sun.xml.draw:*.sxd\n"..., 4096) = 4096
write(3, ".gvp\nimage/x-msod:*.msod\napplica"..., 1257) = 1257
close(3)                                = 0
munmap(0xb7f5d000, 4096)                = 0
rename("/usr/share/mime/globs.new", "/usr/share/mime/globs") = 0
open("/usr/share/mime/magic.new", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f5d000
open("/proc/meminfo", O_RDONLY)         = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f5c000
read(4, "MemTotal:      2045204 kB\nMemFre"..., 1024) = 728
close(4)                                = 0
munmap(0xb7f5c000, 4096)                = 0
write(3, "MIME-Magic\0\n[90:application/docb"..., 4096) = 4096
write(3, "is.opendocument.text-master]\n>0="..., 4096) = 4096
write(3, "sgf]\n>0=\0\7(;FF[3]\n>0=\0\7(;FF[4]\n["..., 4096) = 4096
write(3, "\4\7\0\0\0\n1>12=\0\4\27\0\0\0\n[50:audio/x-ai"..., 4096) = 4096
write(3, "2=\0\4mdat\n>4=\0\4mdat\n>4=\0\4moov\n>4="..., 760) = 760
close(3)                                = 0
munmap(0xb7f5d000, 4096)                = 0
rename("/usr/share/mime/magic.new", "/usr/share/mime/magic") = 0
open("/usr/share/mime/XMLnamespaces.new", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f5d000
write(3, "http://www.mozilla.org/keymaster"..., 221) = 221
close(3)                                = 0
munmap(0xb7f5d000, 4096)                = 0
rename("/usr/share/mime/XMLnamespaces.new", "/usr/share/mime/XMLnamespaces") = 0
open("/usr/share/mime/subclasses.new", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f5d000
write(3, "application/x-cue text/plain\ntex"..., 4096) = 4096
write(3, "cation/vnd.sun.xml.calc.template"..., 3788) = 3788
close(3)                                = 0
munmap(0xb7f5d000, 4096)                = 0
rename("/usr/share/mime/subclasses.new", "/usr/share/mime/subclasses") = 0
open("/usr/share/mime/aliases.new", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f5d000
write(3, "application/cdr application/vnd."..., 3726) = 3726
close(3)                                = 0
munmap(0xb7f5d000, 4096)                = 0
rename("/usr/share/mime/aliases.new", "/usr/share/mime/aliases") = 0
open("/usr/share/mime/mime.cache.new", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f5d000
write(3, "\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 4096
write(3, "/x-emacs-lisp\0\0\0application/x-ar"..., 4096) = 4096
write(3, "ion/x-awk\0\0\0application/x-mswrit"..., 4096) = 4096
write(3, "e/x-fpx\0application/x-quattropro"..., 4096) = 4096
write(3, "\0\0\30|\0\0\0\1\0\0\30|\0\0\0\1\0\0\22H\0\0\0\1\0\0\30"..., 4096) = 4096
write(3, "\0\0\fp\0\0\0\1\0\0c\314\0\0\0n\0\0\0\0\0\0\0\1\0\0c\334"..., 4096) = 4096
write(3, "\0\0001\330\0\0\0\1\0\0z\314\0\0\0s\0\0\0\0\0\0\0\2\0\0"..., 4096) = 4096
write(3, "\0\0001\204\0\0\0\0\0\0\177\354\0\0\0a\0\0\t\364\0\0\0"..., 4096) = 4096
write(3, "\0\0\5(\0\0\0\0\0\0\205\f\0\0\0g\0\0,D\0\0\0\0\0\0\205"..., 4096) = 4096
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 5993 detached



--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.22-2-686

Debian Release: lenny/sid
  500 unstable        ftp.pl.debian.org 
  500 unstable        download.tuxfamily.org 
  500 unstable        debian.o-hand.com 

--- Package information. ---
Depends            (Version) | Installed
============================-+-============
libc6             (>= 2.6-1) | 2.6.1-5
libglib2.0-0     (>= 2.12.9) | 2.14.2-1
libxml2          (>= 2.6.29) | 2.6.30.dfsg-2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20071106/83179dcd/attachment.pgp 


More information about the pkg-gnome-maintainers mailing list