Bug 168203 - crashes when downloading manually added podcast
Summary: crashes when downloading manually added podcast
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: Podcast (show other bugs)
Version: 2.0-SVN
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-03 13:31 UTC by Tom Fernandes
Modified: 2009-12-09 11:28 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
backtrace (1.51 KB, text/plain)
2008-08-03 13:36 UTC, Tom Fernandes
Details
console-output (1.41 KB, text/plain)
2008-08-03 13:37 UTC, Tom Fernandes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Fernandes 2008-08-03 13:31:46 UTC
Version:           20080802+svn841099-0neon1 (using KDE 3.5.9)
Installed from:    Debian testing/unstable Packages
OS:                Linux

Hi,
I'm using the nightly debian package build from http://ppa.launchpad.net .

Steps to reproduce
1) click Playlists -> Podcast -> Add Podcast
2) insert new podcast (checkee witch http://rss.cnn.com/services/podcasting/newscast/rss.xml and http://www.tagesschau.de/export/podcast/tagesschau)
3) right click on the last episode -> Download

When download is finished amarok crashes. Backtrace and and console output attached
Comment 1 Tom Fernandes 2008-08-03 13:36:21 UTC
Created attachment 26594 [details]
backtrace

backtrace added
Comment 2 Tom Fernandes 2008-08-03 13:37:53 UTC
Created attachment 26595 [details]
console-output
Comment 3 Edward Hades 2008-08-03 13:39:21 UTC
I confirm this for revision 841272.
Comment 4 Dominik Tritscher 2008-08-04 16:32:45 UTC
Pasting backtrace from comment #1, this makes searching for similar traces easier.

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb4af0940 (LWP 7119)]
0xb7f84424 in __kernel_vsyscall ()
(gdb) thread apply all bt

Thread 8 (Thread 0xb2897b90 (LWP 7120)):
#0  0xb7f84424 in __kernel_vsyscall ()
#1  0xb6b72dd2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb6d61c54 in pthread_cond_timedwait () from /lib/i686/cmov/libc.so.6
#3  0xb30a73df in ?? () from /usr/lib/libxine.so.1

Thread 7 (Thread 0xb2024b90 (LWP 7123)):
#0  0xb7f84424 in __kernel_vsyscall ()
#1  0xb6d4aae7 in poll () from /lib/i686/cmov/libc.so.6    
#2  0xb2091ed3 in ?? () from /usr/lib/xine/plugins/1.23/xineplug_ao_out_alsa.so
#3  0xb2024298 in ?? ()
#4  0x00000001 in ?? ()
#5  0x0000014d in ?? ()
#6  0x00000000 in ?? ()

Thread 6 (Thread 0xb17e1b90 (LWP 7124)):
#0  0xb7f84424 in __kernel_vsyscall ()
#1  0xb6b72aa5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb6d61bfd in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb30b91b3 in ?? () from /usr/lib/libxine.so.1
#4  0x0a0365d0 in ?? ()
#5  0x0a0365b8 in ?? ()
#6  0x00000000 in ?? ()

Thread 5 (Thread 0xb0fe0b90 (LWP 7125)):
#0  0xb7f84424 in __kernel_vsyscall ()
#1  0xb6d4aae7 in poll () from /lib/i686/cmov/libc.so.6
#2  0xb6bbbbef in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x0a19a1c8 in ?? ()
#4  0x00000001 in ?? ()
#5  0xffffffff in ?? ()
#6  0x0a19a1c8 in ?? ()
#7  0x00000001 in ?? ()
#8  0xb6c305f8 in ?? () from /usr/lib/libglib-2.0.so.0
#9  0xb6c30620 in ?? () from /usr/lib/libglib-2.0.so.0
Comment 5 Tom Fernandes 2008-08-17 10:31:36 UTC
Adding a better backtrace and console output again as the first one was made from amarok-nightly packages without debugging symbols:

Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb4e41720 (LWP 30780)]
[New Thread 0xb0ae0b90 (LWP 30790)]
[New Thread 0xb02dfb90 (LWP 30789)]
[New Thread 0xb133fb90 (LWP 30786)]
[New Thread 0xb1b82b90 (LWP 30785)]
[New Thread 0xb2383b90 (LWP 30782)]
[New Thread 0xb2bf6b90 (LWP 30781)]
[KCrash handler]
#5  0xb7f87424 in __kernel_vsyscall ()
#6  0xb540fef5 in raise () from /lib/i686/cmov/libc.so.6
#7  0xb5411871 in abort () from /lib/i686/cmov/libc.so.6
#8  0xb6459bc5 in qt_message_output ()
   from /opt/project-neon/lib/libQtCore.so.4
#9  0xb6459c88 in qFatal () from /opt/project-neon/lib/libQtCore.so.4
#10 0xb6459f35 in qt_assert () from /opt/project-neon/lib/libQtCore.so.4
#11 0xb7d81df0 in KSharedPtr<Meta::PodcastChannel>::operator-> (this=0x804d910)
    at /opt/amarok-nightly/include/ksharedptr.h:116
#12 0xb7d89a40 in SqlPodcastProvider::downloadResult (this=0x971b4e0, 
    job=0x9870c38)
    at /build/buildd/amarok-nightly-20080816+svn848022/src/podcasts/sql/SqlPodcastProvider.cpp:276
#13 0xb7d8a0b0 in SqlPodcastProvider::qt_metacall (this=0x971b4e0, 
    _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfb9fc1c)
    at /build/buildd/amarok-nightly-20080816+svn848022/obj-i486-linux-gnu/src/SqlPodcastProvider.moc:92
#14 0xb655be28 in QMetaObject::activate ()
   from /opt/project-neon/lib/libQtCore.so.4
#15 0xb655c472 in QMetaObject::activate ()
   from /opt/project-neon/lib/libQtCore.so.4
#16 0xb6782f03 in KJob::finished (this=0x9870c38, _t1=0x9870c38)
    at /build/buildd/amarok-nightly-kdelibs-20080812+svn845668/obj-i486-linux-gnu/kdecore/kjob.moc:165
#17 0xb6783246 in KJob::emitResult (this=0x9870c38)
    at /build/buildd/amarok-nightly-kdelibs-20080812+svn845668/kdecore/jobs/kjob.cpp:288
#18 0xb713f9ff in KIO::SimpleJob::slotFinished (this=0x9870c38)
    at /build/buildd/amarok-nightly-kdelibs-20080812+svn845668/kio/kio/job.cpp:498
#19 0xb7140040 in KIO::TransferJob::slotFinished (this=0x9870c38)
    at /build/buildd/amarok-nightly-kdelibs-20080812+svn845668/kio/kio/job.cpp:967
#20 0xb7146838 in KIO::TransferJob::qt_metacall (this=0x9870c38, 
    _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbfb9fea8)
    at /build/buildd/amarok-nightly-kdelibs-20080812+svn845668/obj-i486-linux-gnu/kio/jobclasses.moc:336
#21 0xb7146b0a in KIO::StoredTransferJob::qt_metacall (this=0x9870c38, 
    _c=QMetaObject::InvokeMetaMethod, _id=47, _a=0xbfb9fea8)
    at /build/buildd/amarok-nightly-kdelibs-20080812+svn845668/obj-i486-linux-gnu/kio/jobclasses.moc:438
#22 0xb655be28 in QMetaObject::activate ()
   from /opt/project-neon/lib/libQtCore.so.4
#23 0xb655c472 in QMetaObject::activate ()
   from /opt/project-neon/lib/libQtCore.so.4
#24 0xb71e1a37 in KIO::SlaveInterface::finished (this=0x98c8258)
    at /build/buildd/amarok-nightly-kdelibs-20080812+svn845668/obj-i486-linux-gnu/kio/slaveinterface.moc:163
#25 0xb71e3c88 in KIO::SlaveInterface::dispatch (this=0x98c8258, _cmd=104, 
    rawdata=@0x98c8258)
    at /build/buildd/amarok-nightly-kdelibs-20080812+svn845668/kio/kio/slaveinterface.cpp:176
#26 0xb71e40cd in KIO::SlaveInterface::dispatch (this=0x98c8258)
    at /build/buildd/amarok-nightly-kdelibs-20080812+svn845668/kio/kio/slaveinterface.cpp:91
#27 0xb71d6597 in KIO::Slave::gotInput (this=0x98c8258)
    at /build/buildd/amarok-nightly-kdelibs-20080812+svn845668/kio/kio/slave.cpp:319
#28 0xb71d796d in KIO::Slave::qt_metacall (this=0x98c8258, 
    _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfba0158)
    at /build/buildd/amarok-nightly-kdelibs-20080812+svn845668/obj-i486-linux-gnu/kio/slave.moc:75
#29 0xb655be28 in QMetaObject::activate ()
   from /opt/project-neon/lib/libQtCore.so.4
#30 0xb655c472 in QMetaObject::activate ()
   from /opt/project-neon/lib/libQtCore.so.4
#31 0xb7112cc7 in KIO::Connection::readyRead (this=0x9691f48)
    at /build/buildd/amarok-nightly-kdelibs-20080812+svn845668/obj-i486-linux-gnu/kio/connection.moc:84
#32 0xb7113b38 in KIO::ConnectionPrivate::dequeue (this=0x9691f48)
    at /build/buildd/amarok-nightly-kdelibs-20080812+svn845668/kio/kio/connection.cpp:82
#33 0xb711497e in KIO::Connection::qt_metacall (this=0x9691f48, 
    _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x9843bd0)
    at /build/buildd/amarok-nightly-kdelibs-20080812+svn845668/obj-i486-linux-gnu/kio/connection.moc:72
#34 0xb65559db in QMetaCallEvent::placeMetaCall ()
   from /opt/project-neon/lib/libQtCore.so.4
#35 0xb65580d3 in QObject::event () from /opt/project-neon/lib/libQtCore.so.4
#36 0xb5a5bd0c in QApplicationPrivate::notify_helper ()
   from /opt/project-neon/lib/libQtGui.so.4
#37 0xb5a62d97 in QApplication::notify ()
   from /opt/project-neon/lib/libQtGui.so.4
#38 0xb7acc0f3 in KApplication::notify (this=0xbfba093c, receiver=0x9691f48, 
    event=0x95d1768)
    at /build/buildd/amarok-nightly-kdelibs-20080812+svn845668/kdeui/kernel/kapplication.cpp:311
#39 0xb6547919 in QCoreApplication::notifyInternal ()
   from /opt/project-neon/lib/libQtCore.so.4
#40 0xb6548cd4 in QCoreApplicationPrivate::sendPostedEvents ()
   from /opt/project-neon/lib/libQtCore.so.4
#41 0xb6548f1d in QCoreApplication::sendPostedEvents ()
   from /opt/project-neon/lib/libQtCore.so.4
#42 0xb6571bdf in ?? () from /opt/project-neon/lib/libQtCore.so.4
#43 0x00000000 in ?? ()


Console output:
tom@momo:~$ amarok(30780) CurrentTrack::paintInterface: "" Line:  367
amarok: BEGIN: virtual void PlaylistBrowserNS::PodcastView::contextMenuEvent(QContextMenuEvent*)
amarok:    download  1  items
amarok: BEGIN: void PlaylistBrowserNS::PodcastModel::downloadItems(QModelIndexList)
amarok:      number of items:  1
amarok: BEGIN: void PlaylistBrowserNS::PodcastModel::downloadEpisode(Meta::PodcastEpisodePtr)
amarok:        downloading  "tagesschau 20:00 Uhr, 16.08.2008"
amarok: BEGIN: void Meta::SqlPodcastEpisode::updateInDb()
amarok:          [ERROR!] sqlite_step error.

amarok:          [ERROR!] column url is not unique
amarok:          [ERROR!] on insert:  "INSERT INTO podcastepisodes(url,channel,localurl,guid,title,subtitle,sequencenumber,description,mimetype,pubdate,duration,filesize,isnew) VALUES ( 'http://213.200.64.229/tagesschau/mp3/podcast/TV-20080816-2030-2701.mp3','0','','TV-20080816-2030-2701-A','tagesschau 20:00 Uhr, 16.08.2008','',3276837,'','','',7602208,2097263,1 );"
amarok: END__: void Meta::SqlPodcastEpisode::updateInDb() - Took 0.0007s
amarok: BEGIN: virtual void SqlPodcastProvider::downloadEpisode(Meta::PodcastEpisodePtr)
amarok:          starting download for  "tagesschau 20:00 Uhr, 16.08.2008"  url:  "http://213.200.64.229/tagesschau/mp3/podcast/TV-20080816-2030-2701.mp3"
amarok(30780) KDE::ProgressBar::ProgressBar: "        "
amarok:          p before:  QPoint(0,-18)
amarok:          p after:  QPoint(4,1105)
amarok: BEGIN: KDE::ProgressBar& KDE::ProgressBar::setAbortSlot(QObject*, const char*)
Object::connect: No such slot SqlPodcastProvider::abortDownload()
amarok: END__: KDE::ProgressBar& KDE::ProgressBar::setAbortSlot(QObject*, const char*) - Took 0.00035s
amarok: END__: virtual void SqlPodcastProvider::downloadEpisode(Meta::PodcastEpisodePtr) - Took 0.064s
amarok: END__: void PlaylistBrowserNS::PodcastModel::downloadEpisode(Meta::PodcastEpisodePtr) - Took 0.065s
amarok: END__: void PlaylistBrowserNS::PodcastModel::downloadItems(QModelIndexList) - Took 0.065s
amarok: END__: virtual void PlaylistBrowserNS::PodcastView::contextMenuEvent(QContextMenuEvent*) - Took 3s
amarok(30780) CurrentTrack::paintInterface: "" Line:  367
amarok(30780) CurrentTrack::paintInterface: "" Line:  367
amarok: BEGIN: virtual void Context::ColumnContainment::mousePressEvent(QGraphicsSceneMouseEvent*)
amarok:    QPointF(217, 718)
amarok:    Focus requested by containment
amarok: BEGIN: void Context::ContextView::zoomIn(Plasma::Containment*)
amarok: END__: void Context::ContextView::zoomIn(Plasma::Containment*) - Took 0.00016s
amarok: END__: virtual void Context::ColumnContainment::mousePressEvent(QGraphicsSceneMouseEvent*) - Took 0.00097s
amarok: BEGIN: void SqlPodcastProvider::downloadResult(KJob*)
ASSERT: "d" in file /opt/amarok-nightly/include/ksharedptr.h, line 116
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = amarok path = <unknown> pid = 30780
sock_file=/home/tom/.amarok-nightly/socket-momo/kdeinit4__0
Warning: connect() failed: : No such file or directory
KCrash cannot reach kdeinit, launching directly.
Comment 6 Bart Cerneels 2008-08-24 10:46:54 UTC
Fixed in r850580