Bug#664967: mediatomb: segfaults while scanning the collection

Patrick H�cker pat_h at web.de
Wed Mar 21 22:20:56 UTC 2012


Package: mediatomb
Version: 0.12.1-3
Severity: important

Dear Maintainer,

scanning the collection segfaults mediatomb with the following syslog entry:
mediatomb[7691]: segfault at 34 ip 00000000004a61a2 sp 00007fc9c14d86a0 error 4 in mediatomb[400000+1ce000]

Running mediatomb in the debug mode with "mediatomb --config /etc/mediatomb/config.xml --debug" results in the following debug output (showing only the last lines):
2012-03-21 23:10:27   DEBUG: [../src/content_manager.cc:747] _rescanDirectory(): start
2012-03-21 23:10:27   DEBUG: [../src/content_manager.cc:821] _rescanDirectory(): Rescanning location: /srv/nfs/media/Audio/Alben MP3/Ludwig van Beethoven
2012-03-21 23:10:27   DEBUG: [../src/content_manager.cc:747] _rescanDirectory(): start
2012-03-21 23:10:27   DEBUG: [../src/content_manager.cc:821] _rescanDirectory(): Rescanning location: /srv/nfs/media/Audio/Alben MP3/Gloria et Magnificat
2012-03-21 23:10:27   DEBUG: [../src/storage/sql_storage.cc:1522] _recursiveRemove(): start
2012-03-21 23:10:27   DEBUG: [../src/storage/sql_storage.cc:1429] _removeObjects(): SELECT "a"."id","a"."persistent","o"."location" FROM "mt_autoscan" a JOIN "mt_cds_object" o ON "o"."id"="a"."obj_id" WHERE "o"."id" IN (231784)
2012-03-21 23:10:27   DEBUG: [../src/storage/sql_storage.cc:1434] _removeObjects(): relevant autoscans!
2012-03-21 23:10:27   DEBUG: [../src/storage/sql_storage.cc:1666] _recursiveRemove(): end
2012-03-21 23:10:27   DEBUG: [../src/storage/sql_storage.cc:1672] _purgeEmptyContainers(): start upnp: ,215147; ui: 
2012-03-21 23:10:27   DEBUG: [../src/storage/sql_storage.cc:1710] _purgeEmptyContainers(): upnp-sql: SELECT "a"."id", COUNT("b"."parent_id"),"a"."parent_id","a"."flags" FROM "mt_cds_object" "a" LEFT JOIN "mt_cds_object" "b" ON "a"."id"="b"."parent_id" WHERE "a"."object_type"=1 AND "a"."id" IN ( 215147) GROUP BY a.id
2012-03-21 23:10:27   DEBUG: [../src/storage/sql_storage.cc:1783] _purgeEmptyContainers(): end; changedContainers (upnp): 215147
2012-03-21 23:10:27   DEBUG: [../src/storage/sql_storage.cc:1784] _purgeEmptyContainers(): end; changedContainers (ui): 
2012-03-21 23:10:27   DEBUG: [../src/autoscan_inotify.cc:227] threadProc(): inotify event: 35 8 18: Johann Sebastian Bach - Magnificat in D major, BWV 243: VII. Fecit potentiam.mp3
2012-03-21 23:10:27   DEBUG: [../src/content_manager.cc:1258] addObject(): Adding: parent ID is -333
2012-03-21 23:10:27   DEBUG: [../src/autoscan_inotify.cc:294] threadProc(): deleting /srv/nfs/media/Audio/Alben MP3/Gloria et Magnificat/18: Johann Sebastian Bach - Magnificat in D major, BWV 243: VII. Fecit potentiam.mp3
2012-03-21 23:10:27   DEBUG: [../src/autoscan_inotify.cc:317] threadProc(): adding /srv/nfs/media/Audio/Alben MP3/Gloria et Magnificat/18: Johann Sebastian Bach - Magnificat in D major, BWV 243: VII. Fecit potentiam.mp3
2012-03-21 23:10:27   DEBUG: [../src/storage/sql_storage.cc:494] addObject(): insert_query: INSERT INTO "mt_cds_object" ("object_type","upnp_class","dc_title","metadata","resources","flags","location","location_hash","track_number","mime_type","parent_id","id") VALUES (2,'object.item.audioItem.musicTrack','18: Johann Sebastian Bach - Magnificat in D major, BWV 243: VII. Fecit potentiam.mp3','dc%3Atitle=Magnificat%20in%20D%20major%2C%20BWV%20243%3A%20VII%2E%20Fecit%20potentiam&upnp%3Aartist=Johann%20Sebastian%20Bach&upnp%3Aalbum=Johann%20Sebastian%20Bach%20%2F%20Vivaldi%3A%20Gloria%20%2F%20J%2ES%2E%20Bach%3A%20Magnificat&upnp%3AoriginalTrackNumber=18','0~protocolInfo=http-get%3A%2A%3Aaudio%2Fmpeg%3A%2A&size=2892800&bitrate=24704&duration=00%3A01%3A59&sampleFrequency=44100&nrAudioChannels=2~~',1,'F/srv/nfs/media/Audio/Alben MP3/Gloria et Magnificat/18: Johann Sebastian Bach - Magnificat in D major, BWV 243: VII. Fecit potentiam.mp3',92804853,18,'audio/mpeg',215147,231825)
2012-03-21 23:10:27   DEBUG: [../src/content_manager.cc:1264] addObject(): After adding: parent ID is 215147
2012-03-21 23:10:27   DEBUG: [../src/storage/sql_storage.cc:2370] flushInsertBuffer(): flushing insert buffer (1 statements)
2012-03-21 23:10:27   DEBUG: [../src/update_manager.cc:155] containerChanged(): containerChanged. id: 215147, signal: 0
2012-03-21 23:10:27   ERROR: missing objectType property
fish: Job 1, 'mediatomb --config /etc/mediatomb/config.xml --debug' durch Signal SIGSEGV (Adressbereichsfehler) beendet

Deleting the database does not help.

Is there anything I can do to hunt that bug down?

Cheers
Patrick

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'testing-proposed-updates'), (500, 'stable-updates'), (400, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/6 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mediatomb depends on:
ii  iceweasel [www-browser]  10.0.2-1
ii  konqueror [www-browser]  4:4.7.4-2
ii  mediatomb-daemon         0.12.1-3
ii  rekonq [www-browser]     0.7.0-1
ii  w3m [www-browser]        0.5.3-5

mediatomb recommends no packages.

mediatomb suggests no packages.

-- no debconf information





More information about the pkg-multimedia-maintainers mailing list