Bug 67959 - noatun may crash with SIGSEGV when play is clicked
Summary: noatun may crash with SIGSEGV when play is clicked
Status: RESOLVED FIXED
Alias: None
Product: noatun
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Multimedia Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-12 04:04 UTC by Jeffrey McGee
Modified: 2003-11-16 16:21 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 Jeffrey McGee 2003-11-12 04:04:32 UTC
Version:           2.3.3 (using KDE 3.1.93 (CVS >= 20031111), Gentoo)
Compiler:          gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r2, propolice)
OS:          Linux (i686) release 2.6.0-test9

When using the split playlist on noatun 2.3.3(built from CVS on 11/10/03), noatun crashes when you:
1. Clear the playlist.
2. Add one or more files to the playlist
3. Click the play button, the back button, or the forward button in noatun
4. The KDE Crash Handler reports SIGSEGV 

I also found that it crashes when you click play, back or forward with an empty playlist.  When the playlist is empty, these buttons should really be disabled.

Here's a backtrace:

[New Thread 16384 (LWP 23188)]
0x41338f67 in waitpid () from /lib/libpthread.so.0
#0  0x41338f67 in waitpid () from /lib/libpthread.so.0
#1  0x4079eb50 in KCrash::defaultCrashHandler(int) (sig=11)
    at /home/jeff/docs/make/kde/cvs/kdelibs/kdecore/kcrash.cpp:246
#2  0x41337e1a in __pthread_sighandler () from /lib/libpthread.so.0
#3  <signal handler called>
#4  0x40cf5252 in QListViewItem::isOpen() const (this=0x0) at qlistview.h:124
#5  0x40ce7326 in QListViewItem::itemBelow() (this=0x0)
    at widgets/qlistview.cpp:3889
#6  0x4262d13e in SplitPlaylist::next(bool) (this=0x819dab0, play=true)
    at playlist.h:218
#7  0x4262d0b1 in SplitPlaylist::next() (this=0xfffffe00)
    at /home/jeff/docs/make/kde/cvs/kdemultimedia/noatun/modules/splitplaylist/playlist.cpp:45
#8  0x416f115b in Player::forward(bool) (this=0x8152250, allowLoop=false)
    at kapplication.h:191
#9  0x416f0fff in Player::play() (this=0xbfffe5d0)
    at /home/jeff/docs/make/kde/cvs/kdemultimedia/noatun/library/player.cpp:114
#10 0x416f10e0 in Player::playpause() (this=0x8152250)
    at /home/jeff/docs/make/kde/cvs/kdemultimedia/noatun/library/player.cpp:141
#11 0x416f2542 in Player::qt_invoke(int, QUObject*) (this=0x8152250,
    _id=135602768, _o=0xbfffe710) at player.moc:267
#12 0x40bfa8a9 in QObject::activate_signal(QConnectionList*, QUObject*) (
    this=0x81e1e60, clist=0x81e2138, o=0xbfffe710) at kernel/qobject.cpp:2333
#13 0x40bfa749 in QObject::activate_signal(int) (this=0x81e1e60, signal=2)
    at kernel/qobject.cpp:2302
#14 0x404b19cb in KAction::activated() (this=0xfffffe00) at qmetaobject.h:261
#15 0x404b0f9f in KAction::slotActivated() (this=0xfffffe00)
    at /home/jeff/docs/make/kde/cvs/kdelibs/kdeui/kaction.cpp:1054
#16 0x404b1bd1 in KAction::qt_invoke(int, QUObject*) (this=0x81e1e60,
    _id=135602768, _o=0xbfffe710) at kaction.moc:181
#17 0x4171dd1e in NoatunStdAction::StereoButtonAction::qt_invoke(int, QUObject*) (this=0x8152250, _id=-1073748208, _o=0xfffffe00) at stereobuttonaction.moc:90
#18 0x40bfa9e3 in QObject::activate_signal(QConnectionList*, QUObject*) (
    this=0x81fbea8, clist=0x82028d8, o=0xbfffe830) at kernel/qobject.cpp:2357
#19 0x40bfa749 in QObject::activate_signal(int) (this=0x81fbea8, signal=4)
    at kernel/qobject.cpp:2302
#20 0x40f4f079 in QButton::clicked() (this=0x81fbea8)
    at .moc/debug-shared-mt/moc_qbutton.cpp:152
#21 0x40c8db8f in QButton::mouseReleaseEvent(QMouseEvent*) (this=0x81fbea8,
    e=0xbfffec20) at widgets/qbutton.cpp:820
#22 0x40c322c7 in QWidget::event(QEvent*) (this=0x81fbea8, e=0xbfffec20)
    at kernel/qwidget.cpp:4426
#23 0x40b97afb in QApplication::internalNotify(QObject*, QEvent*) (
    this=0xbffff060, receiver=0x81fbea8, e=0xbfffec20)
    at kernel/qapplication.cpp:2582
#24 0x40b97323 in QApplication::notify(QObject*, QEvent*) (this=0xbffff060,
    receiver=0x81fbea8, e=0xbfffec20) at kernel/qapplication.cpp:2368
#25 0x406f7bce in KApplication::notify(QObject*, QEvent*) (this=0xbffff060,
    receiver=0x81fbea8, event=0xbfffec20)
    at /home/jeff/docs/make/kde/cvs/kdelibs/kdecore/kapplication.cpp:509
#26 0x40b2e17c in QApplication::sendSpontaneousEvent(QObject*, QEvent*) (
    receiver=0x81fbea8, event=0xbfffec20) at qapplication.h:493
#27 0x40b278d3 in QETWidget::translateMouseEvent(_XEvent const*) (
    this=0x81fbea8, event=0xbfffef60) at kernel/qapplication_x11.cpp:4347
#28 0x40b255b4 in QApplication::x11ProcessEvent(_XEvent*) (this=0xbffff060,
    event=0xbfffef60) at kernel/qapplication_x11.cpp:3525
#29 0x40b3f299 in QEventLoop::processEvents(unsigned) (this=0x80e8c28, flags=4)
    at kernel/qeventloop_x11.cpp:192
#30 0x40bad789 in QEventLoop::enterLoop() (this=0x80e8c28)
    at kernel/qeventloop.cpp:198
#31 0x40bad6a2 in QEventLoop::exec() (this=0x80e8c28)
    at kernel/qeventloop.cpp:145
#32 0x40b97c6b in QApplication::exec() (this=0xbffff060)
    at kernel/qapplication.cpp:2705
#33 0x416a0131 in kdemain (argc=-512, argv=0xfffffe00)
    at /home/jeff/docs/make/kde/cvs/kdemultimedia/noatun/app/main.cpp:46
#34 0x4169dba6 in kdeinitmain (argc=-512, argv=0xfffffe00)
    at noatun_dummy.cpp:2
#35 0x0804d0b2 in launch (argc=7, _name=0x8060f6c "noatun",
    args=0x8060fa1 "\001", cwd=0x0, envc=1, envs=0xbffff240 "x\r\006\b\001",
    reset_env=false, tty=0x0, avoid_loops=false,
    startup_id_str=0xfffffe00 <Address 0xfffffe00 out of bounds>)
    at /home/jeff/docs/make/kde/cvs/kdelibs/kinit/kinit.cpp:597
#36 0x0804e013 in handle_launcher_request (sock=7)
    at /home/jeff/docs/make/kde/cvs/kdelibs/kinit/kinit.cpp:1094
#37 0x0804e55c in handle_requests (waitForPid=0)
    at /home/jeff/docs/make/kde/cvs/kdelibs/kinit/kinit.cpp:1265
#38 0x0804f3b5 in main (argc=3, argv=0xbffff6f4, envp=0xfffffe00)
    at /home/jeff/docs/make/kde/cvs/kdelibs/kinit/kinit.cpp:1686
#39 0x414ac7a7 in __libc_start_main () from /lib/libc.so.6
Comment 1 Stefan Gehn 2003-11-13 22:43:19 UTC
I can reproduce this here. Will have a look at it very soon.
Comment 2 Stefan Gehn 2003-11-16 16:21:40 UTC
Fixed in CVS, Fix will appear in KDE 3.2.
Thanks for spotting this one.