Bug 50015 - Viewing mp3 tags in the tag viewer crashes noatun
Summary: Viewing mp3 tags in the tag viewer crashes noatun
Status: RESOLVED FIXED
Alias: None
Product: noatun
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources FreeBSD
: NOR crash
Target Milestone: ---
Assignee: Multimedia Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-31 23:05 UTC by Lauri Watts
Modified: 2002-11-01 15:20 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lauri Watts 2002-10-31 23:05:35 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          2.95.4 
OS:          FreeBSD

Loaded the tag editor plugin,
choose any random mp3 file, and choose the View tag menu entry, instant crash.  tag viewer is working with ogg files ok.

BT: 
#0  KFileMetaInfo::preferredGroups (this=0xbfbfebc4) at kfilemetainfo.h:429
#1  0x28637058 in KFileMetaInfo::item (this=0xbfbfebc4, key=@0xbfbfebb8) at kfilemetainfo.cpp:547
#2  0x29e4f631 in Editor::createControl (this=0x8210400, meta_info=@0xbfbfebc4, label=@0xbfbfebbc, key=@0xbfbfebb8, default_type=String, optional=false,
    parent=0x8213000) at edit.cpp:159
#3  0x29e4de2b in Editor::open (this=0x8210400, file=@0xbfbfebfc) at edit.cpp:88
#4  0x29e4bf68 in MetaTagLoader::editTag (this=0x83ac200) at metatag.cpp:51
#5  0x29e4cb55 in MetaTagLoader::qt_invoke (this=0x83ac200, _id=3, _o=0xbfbfecec) at metatag.moc:92
#6  0x28dc881b in QObject::activate_signal (this=0x840a5c0, clist=0x8408f40, o=0xbfbfecec) at kernel/qobject.cpp:2214
#7  0x290f0140 in QSignal::signal (this=0x840a5c0, t0=@0x840a5e8) at .moc/debug-shared-mt/moc_qsignal.cpp:101
#8  0x28de44dc in QSignal::activate (this=0x840a5c0) at kernel/qsignal.cpp:204
#9  0x28ec9f18 in QPopupMenu::mouseReleaseEvent (this=0x83b2700, e=0xbfbff230) at widgets/qpopupmenu.cpp:1614
#10 0x28dfd997 in QWidget::event (this=0x83b2700, e=0xbfbff230) at kernel/qwidget.cpp:4318
#11 0x28d5d7d5 in QApplication::internalNotify (this=0xbfbff6a4, receiver=0x83b2700, e=0xbfbff230) at kernel/qapplication.cpp:2296
#12 0x28d5ce07 in QApplication::notify (this=0xbfbff6a4, receiver=0x83b2700, e=0xbfbff230) at kernel/qapplication.cpp:2104
#13 0x2898d9bb in KApplication::notify (this=0xbfbff6a4, receiver=0x83b2700, event=0xbfbff230) at kapplication.cpp:441
#14 0x290e6dcb in QApplication::sendSpontaneousEvent (receiver=0x83b2700, event=0xbfbff230) at .moc/debug-shared-mt/../../kernel/qapplication.h:480
#15 0x28cfa168 in QETWidget::translateMouseEvent (this=0x83b2700, event=0xbfbff568) at kernel/qapplication_x11.cpp:4172
#16 0x28cf7b70 in QApplication::x11ProcessEvent (this=0xbfbff6a4, event=0xbfbff568) at kernel/qapplication_x11.cpp:3383
#17 0x28d105f4 in QEventLoop::processEvents (this=0x80c6040, flags=4) at kernel/qeventloop_x11.cpp:167
#18 0x28d75184 in QEventLoop::enterLoop (this=0x80c6040) at kernel/qeventloop.cpp:188
#19 0x28d750c9 in QEventLoop::exec (this=0x80c6040) at kernel/qeventloop.cpp:138
#20 0x28d5d9b1 in QApplication::exec (this=0xbfbff6a4) at kernel/qapplication.cpp:2417
#21 0x28068077 in main (argc=1, argv=0xbfbff83c) at main.cpp:57
#22 0x08048715 in _start ()


Console debug output:
noatun: New song!
KFileMetaInfo: KFileMetaInfo( /net/music/Artists/Tomahawk/Tomahawk - Flashback.mp3, audio/x-mp3, what )
KFileMetaInfo: mimetype is audio/x-mp3
KFileMetaInfo: need to look for a plugin to load
kio (KTrader): KServiceTypeProfile::offers( audio/x-mp3,KFilePlugin )
kio (KTrader): Returning 0 offers
kio (KTrader): No offers, or none allowed as default
KFileMetaInfo: no valid service found
KFileMetaInfo: No mimetype info for audio/x-mp3
KFileMetaInfo: KFileMetaInfo( /net/music/Artists/Tomahawk/Tomahawk - Flashback.mp3, audio/x-mp3, what )
KFileMetaInfo: mimetype is audio/x-mp3
KFileMetaInfo: need to look for a plugin to load
kio (KTrader): KServiceTypeProfile::offers( audio/x-mp3,KFilePlugin )
kio (KTrader): Returning 0 offers
kio (KTrader): No offers, or none allowed as default
KFileMetaInfo: no valid service found
KFileMetaInfo: No mimetype info for audio/x-mp3

Similar output from konqueror, and the extra property sheet for mp3 files doesn't appear in the RMB -> property dialog.
Comment 1 Carsten Pfeiffer 2002-11-01 15:20:37 UTC
Subject: kdemultimedia/noatun/modules/metatag

CVS commit by pfeiffer: 

don't crash when metainfo is not available.
Don't understand yet, why there isn't.
CCMAIL: 50015-close@bugs.kde.org


  M +14 -3     edit.cpp   1.6