Summary: | Dragon Player (dragon), signal: Segmentation fault [@ Phonon::Gstreamer::MediaObject::getSubtitleInf] | ||
---|---|---|---|
Product: | [Unmaintained] phonon-backend-gstreamer | Reporter: | Brenton Frahn <brenton.frahn> |
Component: | general | Assignee: | Harald Sitter <sitter> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | aermler, blackmetalowiec, Ekkehard.Blanz, grosser.meister.morti, madmikehooper, martin.sandsmark, misterdeanmorgan, mlbol, myriam, romain.perier, sitter, tdfischer, xavier.ribes, zilla |
Priority: | NOR | ||
Version: | 4.5.90 (4.6rc1) | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.6.1 | |
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi |
Description
Brenton Frahn
2011-12-06 02:14:27 UTC
The problem is with the Phonon-backend-gstreamer, reassigning. *** Bug 294824 has been marked as a duplicate of this bug. *** Confirmed by duplicate. Can somebody please also confirm this with the 4.6 final version? *** Bug 295658 has been marked as a duplicate of this bug. *** Git commit d5023e1da8ffae1a8e8a6bdf7fd54004c5ab0b7f by Harald Sitter. Committed on 28/03/2012 at 04:21. Pushed by sitter into branch 'master'. Fix QString crash from using null char* A tag can *always* be empty, that applies to subtitles too. Now if a subtitle language tag were empty it would crash QString. Instead we check if it is null and if so simply say it is "Unknown". Not the best of things, but if gstreamer fails to provide the language code I do not see how we could possibly get a sensible name here. I'd encourage checking back with the reporter of the bug this fixes on whether other players (most notably VLC) display something specific for the subtitles (I can totally imagine them having arbitrary names, for which there surely is a way to access via GST). Please verify this fixes the issue, as I fail to reproduce it. Also... DO NOT EVER USE UNTRANSLATED STRINGS IN POSSIBLY USER VISIBLE STUFF! Incidentally enough we no more compose "Subtitle n - [lang]" as name but simply use the ISO lang code from GST for reasons of simplicity and actually that is the expected value of the name as number etc. are forced upon the world by the model we use for the public API. CCMAIL: romain.perier@gmail.com FIXED-IN: 4.6.1 M +14 -11 gstreamer/mediaobject.cpp http://commits.kde.org/phonon-gstreamer/d5023e1da8ffae1a8e8a6bdf7fd54004c5ab0b7f Git commit bcbae48807480c99b16d4a55382343a1cb7a88c1 by Harald Sitter. Committed on 28/03/2012 at 04:21. Pushed by sitter into branch '4.6'. Fix QString crash from using null char* A tag can *always* be empty, that applies to subtitles too. Now if a subtitle language tag were empty it would crash QString. Instead we check if it is null and if so simply say it is "Unknown". Not the best of things, but if gstreamer fails to provide the language code I do not see how we could possibly get a sensible name here. I'd encourage checking back with the reporter of the bug this fixes on whether other players (most notably VLC) display something specific for the subtitles (I can totally imagine them having arbitrary names, for which there surely is a way to access via GST). Please verify this fixes the issue, as I fail to reproduce it. Also... DO NOT EVER USE UNTRANSLATED STRINGS IN POSSIBLY USER VISIBLE STUFF! Incidentally enough we no more compose "Subtitle n - [lang]" as name but simply use the ISO lang code from GST for reasons of simplicity and actually that is the expected value of the name as number etc. are forced upon the world by the model we use for the public API. CCMAIL: romain.perier@gmail.com FIXED-IN: 4.6.1 M +14 -11 gstreamer/mediaobject.cpp http://commits.kde.org/phonon-gstreamer/bcbae48807480c99b16d4a55382343a1cb7a88c1 *** Bug 298563 has been marked as a duplicate of this bug. *** *** Bug 298930 has been marked as a duplicate of this bug. *** *** Bug 299947 has been marked as a duplicate of this bug. *** *** Bug 301321 has been marked as a duplicate of this bug. *** *** Bug 301545 has been marked as a duplicate of this bug. *** Created attachment 72069 [details]
New crash information added by DrKonqi
amarok (2.5-GIT) on KDE Platform 4.8.3 (4.8.3) using Qt 4.8.2
- What I was doing when the application crashed:
I listened to a song and decided to skip to the next, so I pressed my global hotkey for that and then Amarok crashed.
I've compiled Amarok from GIT (37016b122ea715f7e132240a966419a4f3dd5772) on Fedora 16 x86_64 KDE 4.8.3.
-- Backtrace (Reduced):
#6 0x0000003ebd6c7a00 in QString::fromAscii_helper(char const*, int) () from /usr/lib64/libQtCore.so.4
#7 0x00007faf955dac59 in QString (ch=<optimized out>, this=0x7fff08614ba0) at /usr/include/QtCore/qstring.h:419
#8 Phonon::Gstreamer::MediaObject::getSubtitleInfo (this=0x15288f0, stream=<optimized out>) at /usr/src/debug/phonon-backend-gstreamer-4.6.0/gstreamer/mediaobject.cpp:403
#9 0x00007faf955daf14 in qt_static_metacall (_a=0x7faef400c660, _id=22, _o=0x15288f0, _c=<optimized out>) at /usr/src/debug/phonon-backend-gstreamer-4.6.0/x86_64-redhat-linux-gnu/gstreamer/moc_mediaobject.cpp:135
#10 Phonon::Gstreamer::MediaObject::qt_static_metacall (_o=0x15288f0, _c=<optimized out>, _id=22, _a=0x7faef400c660) at /usr/src/debug/phonon-backend-gstreamer-4.6.0/x86_64-redhat-linux-gnu/gstreamer/moc_mediaobject.cpp:107
Created attachment 72070 [details]
New crash information added by DrKonqi
amarok (2.5-GIT) on KDE Platform 4.8.3 (4.8.3) using Qt 4.8.2
- What I was doing when the application crashed:
I listened to a song and decided to skip to the next, so I pressed my global hotkey for that and then Amarok crashed.
I've compiled Amarok from GIT (37016b122ea715f7e132240a966419a4f3dd5772) on Fedora 16 x86_64 KDE 4.8.3.
-- Backtrace (Reduced):
#6 0x0000003ebd6c7a00 in QString::fromAscii_helper(char const*, int) () from /usr/lib64/libQtCore.so.4
#7 0x00007faf955dac59 in QString (ch=<optimized out>, this=0x7fff08614ba0) at /usr/include/QtCore/qstring.h:419
#8 Phonon::Gstreamer::MediaObject::getSubtitleInfo (this=0x15288f0, stream=<optimized out>) at /usr/src/debug/phonon-backend-gstreamer-4.6.0/gstreamer/mediaobject.cpp:403
#9 0x00007faf955daf14 in qt_static_metacall (_a=0x7faef400c660, _id=22, _o=0x15288f0, _c=<optimized out>) at /usr/src/debug/phonon-backend-gstreamer-4.6.0/x86_64-redhat-linux-gnu/gstreamer/moc_mediaobject.cpp:135
#10 Phonon::Gstreamer::MediaObject::qt_static_metacall (_o=0x15288f0, _c=<optimized out>, _id=22, _a=0x7faef400c660) at /usr/src/debug/phonon-backend-gstreamer-4.6.0/x86_64-redhat-linux-gnu/gstreamer/moc_mediaobject.cpp:107
Created attachment 72071 [details]
New crash information added by DrKonqi
amarok (2.5-GIT) on KDE Platform 4.8.3 (4.8.3) using Qt 4.8.2
- What I was doing when the application crashed:
I listened to a song and decided to skip to the next, so I pressed my global hotkey for that and then Amarok crashed.
I've compiled Amarok from GIT (37016b122ea715f7e132240a966419a4f3dd5772) on Fedora 16 x86_64 KDE 4.8.3.
-- Backtrace (Reduced):
#6 0x0000003ebd6c7a00 in QString::fromAscii_helper(char const*, int) () from /usr/lib64/libQtCore.so.4
#7 0x00007faf955dac59 in QString (ch=<optimized out>, this=0x7fff08614ba0) at /usr/include/QtCore/qstring.h:419
#8 Phonon::Gstreamer::MediaObject::getSubtitleInfo (this=0x15288f0, stream=<optimized out>) at /usr/src/debug/phonon-backend-gstreamer-4.6.0/gstreamer/mediaobject.cpp:403
#9 0x00007faf955daf14 in qt_static_metacall (_a=0x7faef400c660, _id=22, _o=0x15288f0, _c=<optimized out>) at /usr/src/debug/phonon-backend-gstreamer-4.6.0/x86_64-redhat-linux-gnu/gstreamer/moc_mediaobject.cpp:135
#10 Phonon::Gstreamer::MediaObject::qt_static_metacall (_o=0x15288f0, _c=<optimized out>, _id=22, _a=0x7faef400c660) at /usr/src/debug/phonon-backend-gstreamer-4.6.0/x86_64-redhat-linux-gnu/gstreamer/moc_mediaobject.cpp:107
Hm, KDE's bugreporting tool seems to be buggy. First it had problems posting my bug report, not it is here 3 times. Created attachment 72072 [details] New crash information added by DrKonqi amarok (2.5-GIT) on KDE Platform 4.8.3 (4.8.3) using Qt 4.8.2 - What I was doing when the application crashed: Ok, this crash is happening reproducible for that one file every time I try to play it. It's a m4a file: http://meta.metaebene.me/media/raumzeit/rz040-goce.m4a http://raumzeit-podcast.de/2012/06/22/rz040-goce/ -- Backtrace (Reduced): #6 0x0000003ebd6c7a00 in QString::fromAscii_helper(char const*, int) () from /usr/lib64/libQtCore.so.4 #7 0x00007fc23e32ec59 in QString (ch=<optimized out>, this=0x7fffb42c34a0) at /usr/include/QtCore/qstring.h:419 #8 Phonon::Gstreamer::MediaObject::getSubtitleInfo (this=0x19bdae0, stream=<optimized out>) at /usr/src/debug/phonon-backend-gstreamer-4.6.0/gstreamer/mediaobject.cpp:403 #9 0x00007fc23e32ef14 in qt_static_metacall (_a=0x7fc1b4011b10, _id=22, _o=0x19bdae0, _c=<optimized out>) at /usr/src/debug/phonon-backend-gstreamer-4.6.0/x86_64-redhat-linux-gnu/gstreamer/moc_mediaobject.cpp:135 #10 Phonon::Gstreamer::MediaObject::qt_static_metacall (_o=0x19bdae0, _c=<optimized out>, _id=22, _a=0x7fc1b4011b10) at /usr/src/debug/phonon-backend-gstreamer-4.6.0/x86_64-redhat-linux-gnu/gstreamer/moc_mediaobject.cpp:107 Created attachment 72073 [details] New crash information added by DrKonqi amarok (2.5-GIT) on KDE Platform 4.8.3 (4.8.3) using Qt 4.8.2 - What I was doing when the application crashed: Ok, this crash is happening reproducible for that one file every time I try to play it. It's a m4a file: http://meta.metaebene.me/media/raumzeit/rz040-goce.m4a http://raumzeit-podcast.de/2012/06/22/rz040-goce/ -- Backtrace (Reduced): #6 0x0000003ebd6c7a00 in QString::fromAscii_helper(char const*, int) () from /usr/lib64/libQtCore.so.4 #7 0x00007fc23e32ec59 in QString (ch=<optimized out>, this=0x7fffb42c34a0) at /usr/include/QtCore/qstring.h:419 #8 Phonon::Gstreamer::MediaObject::getSubtitleInfo (this=0x19bdae0, stream=<optimized out>) at /usr/src/debug/phonon-backend-gstreamer-4.6.0/gstreamer/mediaobject.cpp:403 #9 0x00007fc23e32ef14 in qt_static_metacall (_a=0x7fc1b4011b10, _id=22, _o=0x19bdae0, _c=<optimized out>) at /usr/src/debug/phonon-backend-gstreamer-4.6.0/x86_64-redhat-linux-gnu/gstreamer/moc_mediaobject.cpp:135 #10 Phonon::Gstreamer::MediaObject::qt_static_metacall (_o=0x19bdae0, _c=<optimized out>, _id=22, _a=0x7fc1b4011b10) at /usr/src/debug/phonon-backend-gstreamer-4.6.0/x86_64-redhat-linux-gnu/gstreamer/moc_mediaobject.cpp:107 Created attachment 72074 [details] New crash information added by DrKonqi amarok (2.5-GIT) on KDE Platform 4.8.3 (4.8.3) using Qt 4.8.2 - What I was doing when the application crashed: Ok, this crash is happening reproducible for that one file every time I try to play it. It's a m4a file: http://meta.metaebene.me/media/raumzeit/rz040-goce.m4a http://raumzeit-podcast.de/2012/06/22/rz040-goce/ -- Backtrace (Reduced): #6 0x0000003ebd6c7a00 in QString::fromAscii_helper(char const*, int) () from /usr/lib64/libQtCore.so.4 #7 0x00007fc23e32ec59 in QString (ch=<optimized out>, this=0x7fffb42c34a0) at /usr/include/QtCore/qstring.h:419 #8 Phonon::Gstreamer::MediaObject::getSubtitleInfo (this=0x19bdae0, stream=<optimized out>) at /usr/src/debug/phonon-backend-gstreamer-4.6.0/gstreamer/mediaobject.cpp:403 #9 0x00007fc23e32ef14 in qt_static_metacall (_a=0x7fc1b4011b10, _id=22, _o=0x19bdae0, _c=<optimized out>) at /usr/src/debug/phonon-backend-gstreamer-4.6.0/x86_64-redhat-linux-gnu/gstreamer/moc_mediaobject.cpp:135 #10 Phonon::Gstreamer::MediaObject::qt_static_metacall (_o=0x19bdae0, _c=<optimized out>, _id=22, _a=0x7fc1b4011b10) at /usr/src/debug/phonon-backend-gstreamer-4.6.0/x86_64-redhat-linux-gnu/gstreamer/moc_mediaobject.cpp:107 Created attachment 72136 [details]
New crash information added by DrKonqi
dragon (2.0) on KDE Platform 4.8.3 (4.8.3) using Qt 4.8.1
- What I was doing when the application crashed:
Trying to watch a DVD Video. Crush after clicking "Start movie"
-- Backtrace (Reduced):
#7 QString::fromLatin1_helper (str=0x3b000002 <Address 0x3b000002 out of bounds>, size=-1) at tools/qstring.cpp:3821
#8 0x01b14c6c in QString::fromAscii_helper (str=0x3b000002 <Address 0x3b000002 out of bounds>, size=-1) at tools/qstring.cpp:3887
#9 0x06454406 in QString (ch=<optimized out>, this=0xbfef67a4) at /usr/include/qt4/QtCore/qstring.h:419
#10 Phonon::Gstreamer::MediaObject::getSubtitleInfo (this=0xa0ec0a8, stream=0) at ../../gstreamer/mediaobject.cpp:403
#11 0x06454706 in qt_static_metacall (_a=0xaf730668, _id=22, _o=0xa0ec0a8, _c=<optimized out>) at ./moc_mediaobject.cpp:135
Created attachment 72435 [details]
New crash information added by DrKonqi
amarok (2.5-GIT) on KDE Platform 4.8.4 (4.8.4) using Qt 4.8.2
- What I was doing when the application crashed:
I started Amarok and hit play on a previously downloaded podcast (big mp3 file) that was already in the playlist.
-- Backtrace (Reduced):
#6 0x0000003ebd6c7a00 in QString::fromAscii_helper(char const*, int) () from /usr/lib64/libQtCore.so.4
#7 0x00007f91487d8c59 in QString (ch=<optimized out>, this=0x7fffa801d340) at /usr/include/QtCore/qstring.h:419
#8 Phonon::Gstreamer::MediaObject::getSubtitleInfo (this=0x20ecfc0, stream=<optimized out>) at /usr/src/debug/phonon-backend-gstreamer-4.6.0/gstreamer/mediaobject.cpp:403
#9 0x00007f91487d8f14 in qt_static_metacall (_a=0x7f90c0010d30, _id=22, _o=0x20ecfc0, _c=<optimized out>) at /usr/src/debug/phonon-backend-gstreamer-4.6.0/x86_64-redhat-linux-gnu/gstreamer/moc_mediaobject.cpp:135
#10 Phonon::Gstreamer::MediaObject::qt_static_metacall (_o=0x20ecfc0, _c=<optimized out>, _id=22, _a=0x7f90c0010d30) at /usr/src/debug/phonon-backend-gstreamer-4.6.0/x86_64-redhat-linux-gnu/gstreamer/moc_mediaobject.cpp:107
*** Bug 304071 has been marked as a duplicate of this bug. *** Created attachment 74221 [details]
New crash information added by DrKonqi
dragon (2.0) on KDE Platform 4.8.5 (4.8.5) using Qt 4.8.1
- What I was doing when the application crashed: Watching a Movie DVD. HBO *61 - released version. Approximately 2 minuites into movie, Dragon Player crashes / exits.
-- Backtrace (Reduced):
#7 QString::fromLatin1_helper (str=0x4 <Address 0x4 out of bounds>, size=-1) at tools/qstring.cpp:3821
#8 0x014eac6c in QString::fromAscii_helper (str=0x4 <Address 0x4 out of bounds>, size=-1) at tools/qstring.cpp:3887
[...]
#12 0x015c7c7b in QObject::event (this=0x81c44e8, e=0xb010e938) at kernel/qobject.cpp:1195
#13 0x07617ed4 in notify_helper (e=0xb010e938, receiver=0x81c44e8, this=0x8149440) at kernel/qapplication.cpp:4559
#14 QApplicationPrivate::notify_helper (this=0x8149440, receiver=0x81c44e8, e=0xb010e938) at kernel/qapplication.cpp:4531
|