Bug 66329 - Crash on exit when project file is read-only
Summary: Crash on exit when project file is read-only
Status: RESOLVED WORKSFORME
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-21 11:34 UTC by Viktor S. Grishchenko
Modified: 2003-11-01 20:41 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 Viktor S. Grishchenko 2003-10-21 11:34:58 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:          Linux

When project file (something.kdevelop) is read-only, KDevelop crashes on exit.

[New Thread 1024 (LWP 2604)]
[New Thread 2049 (LWP 2616)]
0x41a5afe9 in wait4 () from /lib/libc.so.6
#0  0x41a5afe9 in wait4 () from /lib/libc.so.6
#1  0x41ad4c4c in sys_sigabbrev () from /lib/libc.so.6
#2  0x418b8a43 in waitpid () from /lib/libpthread.so.0
#3  0x40d88587 in KCrash::defaultCrashHandler(int) (sig=11)
    at /home/kde-home/kde-src/kdelibs/kdecore/kcrash.cpp:242
#4  0x418b610b in pthread_sighandler () from /lib/libpthread.so.0
#5  0x419e8108 in sigaction () from /lib/libc.so.6
#6  0x426b18a1 in FileCreatePart::qt_invoke(int, QUObject*) (this=0x81f7d00, 
    _id=4, _o=0xbffff000) at filecreate_part.moc:110
#7  0x411c0e3f in QObject::activate_signal(QConnectionList*, QUObject*) (
    this=0x8c09488, clist=0x8326d08, o=0xbffff000) at kernel/qobject.cpp:2333
#8  0x4150305a in QSignal::signal(QVariant const&) (this=0x8c09488, 
    t0=@0x8c094b0) at .moc/debug-shared-mt/moc_qsignal.cpp:100
#9  0x411ddfdd in QSignal::activate() (this=0x8c09488)
    at kernel/qsignal.cpp:204
#10 0x411e52f3 in QSingleShotTimer::event(QEvent*) (this=0x8c09460)
    at kernel/qtimer.cpp:277
#11 0x4115e6c1 in QApplication::internalNotify(QObject*, QEvent*) (
    this=0xbffff540, receiver=0x8c09460, e=0xbffff270)
    at kernel/qapplication.cpp:2582
#12 0x4115db7e in QApplication::notify(QObject*, QEvent*) (this=0xbffff540, 
    receiver=0x8c09460, e=0xbffff270) at kernel/qapplication.cpp:2305
#13 0x40ceb3f3 in KApplication::notify(QObject*, QEvent*) (this=0xbffff540, 
    receiver=0x8c09460, event=0xbffff270)
    at /home/kde-home/kde-src/kdelibs/kdecore/kapplication.cpp:509
#14 0x410f4883 in QApplication::sendEvent(QObject*, QEvent*) (
    receiver=0x8c09460, event=0xbffff270) at kernel/qapplication.h:490
#15 0x4114c63e in QEventLoop::activateTimers() (this=0x80e50c8)
    at kernel/qeventloop_unix.cpp:557
#16 0x4110643f in QEventLoop::processEvents(unsigned) (this=0x80e50c8, flags=0)
    at kernel/qeventloop_x11.cpp:346
#17 0x41174118 in QEventLoop::processEvents(unsigned, int) (this=0x80e50c8, 
    flags=0, maxTime=3000) at kernel/qeventloop.cpp:258
#18 0x4115e77e in QApplication::processEvents(int) (this=0xbffff540, 
    maxtime=3000) at kernel/qapplication.cpp:2640
#19 0x4115e749 in QApplication::processEvents() (this=0xbffff540)
    at kernel/qapplication.cpp:2624
#20 0x080766ce in ProjectManager::loadDefaultProject() (this=0x815d0f0)
    at /home/kde-home/include/kapplication.h:191
#21 0x08067b35 in main (argc=1, argv=0xbffff6b4)
    at /home/kde-home/kde-src/kdevelop/src/main.cpp:108
#22 0x419d7652 in __libc_start_main () from /lib/libc.so.6
Comment 1 Daniel Engelschalt 2003-11-01 20:41:58 UTC
mmh, works for me with current cvs and a c++-project - i get a "can not write project file" message box.
btw: please specify the exact version next time. thanks.