Bug 72912 - project upload crashes quanta+
Summary: project upload crashes quanta+
Status: RESOLVED FIXED
Alias: None
Product: quanta
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: András Manţia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-18 22:33 UTC by Kevin
Modified: 2004-01-29 20:38 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 Kevin 2004-01-18 22:33:11 UTC
Version:           3.2-Beta2 (using KDE 3.1.94 (3.2 Beta 2), SuSE)
Compiler:          gcc version 3.3.1 (SuSE Linux)
OS:          Linux (i686) release 2.4.21-144-default

Uploading a project causes quanta to crash in flames.  BT follows:

[New Thread 16384 (LWP 20332)]
0x41b6da86 in waitpid () from /lib/i686/libpthread.so.0
#0  0x41b6da86 in waitpid () from /lib/i686/libpthread.so.0
#1  0x40ff8ba2 in KCrash::defaultCrashHandler(int) (sig=11) at kcrash.cpp:246
#2  0x41b6c96c in __pthread_sighandler () from /lib/i686/libpthread.so.0
#3  <signal handler called>
#4  Document::isUntitled() (this=0x0) at document.cpp:154
#5  0x080b495d in Document::url() (this=0x0) at document.cpp:159
#6  0x080bdaca in Document::removeBackup(KConfig*) (this=0x0, config=0x8384620)
    at document.cpp:2138
#7  0x080c65be in QuantaApp::slotFileSaveAll() (this=0x83bfbd0)
    at quanta.cpp:445
#8  0x080dbad2 in QuantaApp::qt_invoke(int, QUObject*) (this=0x83bfbd0, 
    _id=81, _o=0xbfffe5a0) at quanta.moc:487
#9  0x41438eab in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#10 0x41438c74 in QObject::activate_signal(int) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#11 0x08116031 in Project::saveAllFiles() (this=0x0) at project.moc:333
#12 0x08113878 in Project::slotUpload() (this=0x8a7a518) at project.cpp:1574
#13 0x081165ba in Project::qt_invoke(int, QUObject*) (this=0x8a7a518, _id=52, 
    _o=0xbfffe720) at project.moc:389
#14 0x41438eab in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#15 0x41438c74 in QObject::activate_signal(int) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#16 0x40d0413e in KAction::activated() (this=0x8aa52b8) at kaction.moc:157
#17 0x40d03ad9 in KAction::slotActivated() (this=0x8aa52b8) at kaction.cpp:1054
#18 0x40d0443f in KAction::qt_invoke(int, QUObject*) (this=0x8aa52b8, _id=14, 
    _o=0xbfffe820) at kaction.moc:181
#19 0x41438eab in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#20 0x417681ca in QSignal::signal(QVariant const&) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#21 0x41453a28 in QSignal::activate() () from /usr/lib/qt3/lib/libqt-mt.so.3
#22 0x4153e79e in QPopupMenu::mouseReleaseEvent(QMouseEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#23 0x4146fc51 in QWidget::event(QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#24 0x413d7906 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#25 0x413d7468 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#26 0x40f8a503 in KApplication::notify(QObject*, QEvent*) (this=0x829bdb0, 
    receiver=0x8b28268, event=0xbfffed90) at kapplication.cpp:511
#27 0x4136a276 in QETWidget::translateMouseEvent(_XEvent const*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#28 0x41367e3c in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#29 0x4137e08d in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#30 0x413ebc50 in QEventLoop::enterLoop() ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#31 0x413ebb46 in QEventLoop::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#32 0x413d7b9f in QApplication::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#33 0x080b3ac3 in main (argc=1, argv=0xbffff304) at main.cpp:169
Comment 1 Kevin 2004-01-18 22:34:31 UTC
Version info.

Qt: 3.2.3
KDE: 3.1.94 (3.2 Beta 2)
Quanta: 3.2-Beta2
Comment 2 András Manţia 2004-01-18 22:44:54 UTC
Subject: Re:  project upload crashes quanta+

Any detailed info? Was a plugin or document visible/in focus when you started 
the upload?

Andras

Comment 3 Kevin 2004-01-18 23:24:47 UTC
Subject: Re:  project upload crashes quanta+

On Sunday 18 January 2004 16:44, Mantia Andras wrote:
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>
> http://bugs.kde.org/show_bug.cgi?id=72912
>
>
>
>
> ------- Additional Comments From amantia@freemail.hu  2004-01-18 22:44
> ------- Subject: Re:  project upload crashes quanta+
>
> Any detailed info? Was a plugin or document visible/in focus when you
> started the upload?

Here are the steps I did as I recall them:

1) start quanta
2) open the project
3) open the project options dialog
4) fill in normal values for host, username, password, check the keep password 
on disc box, and path (kept the default "ftp" option for protocol, left the 
port field blank
5) clicked ok to save the values and close the dialog
6) using the Project menu, selected Upload (not the hot key)
7) crash and BT

I don't use any plugins other than what is set up by default...  or is 
cervisia a plugin?  I do use that.

I did those steps in about 5 minutes...

Come to think of it, there might have been some others:

2a) open a sandbox from a well-used cvs archive
2b) edit and save some of the files in the project
2c) commit the changes to the cvs archive

I was unable to reproduce it the next time I tried it, but it might be 
noteworthy that none of the values I filled in to the project options dialog 
was remembered when I restarted (except password---where is that stored, 
BTW?)

When I restarted, I did do something slightly different though:

1) same as above
2) same (but without 2a,b,c)
3) same as above
4) same
5) same
6) quit quanta (wanted to make sure those values were saved)
7) restart quanta
8) upload using the menu (worked this time)


Comment 4 Kevin 2004-01-18 23:41:17 UTC
Subject: Re:  project upload crashes quanta+

On Sunday 18 January 2004 16:44, Mantia Andras wrote:
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>
> http://bugs.kde.org/show_bug.cgi?id=72912
>
>
>
>
> ------- Additional Comments From amantia@freemail.hu  2004-01-18 22:44
> ------- Subject: Re:  project upload crashes quanta+
>
> Any detailed info? Was a plugin or document visible/in focus when you
> started the upload?
>
> Andras

I just reproduced it.

Pretty similar set of actions to what I did last time.  I uploaded after 
editing some files (before committing the changes to CVS).

BT follows:

[New Thread 16384 (LWP 21253)]
0x41b6da86 in waitpid () from /lib/i686/libpthread.so.0
#0  0x41b6da86 in waitpid () from /lib/i686/libpthread.so.0
#1  0x40ff8ba2 in KCrash::defaultCrashHandler(int) (sig=11) at kcrash.cpp:246
#2  0x41b6c96c in __pthread_sighandler () from /lib/i686/libpthread.so.0
#3  <signal handler called>
#4  Document::isUntitled() (this=0x0) at document.cpp:154
#5  0x080b495d in Document::url() (this=0x0) at document.cpp:159
#6  0x080bdaca in Document::removeBackup(KConfig*) (this=0x0, 
config=0x8384620)
    at document.cpp:2138
#7  0x080c65be in QuantaApp::slotFileSaveAll() (this=0x83bfd70)
    at quanta.cpp:445
#8  0x080dbad2 in QuantaApp::qt_invoke(int, QUObject*) (this=0x83bfd70, 
    _id=81, _o=0xbfffe5a0) at quanta.moc:487
#9  0x41438eab in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#10 0x41438c74 in QObject::activate_signal(int) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#11 0x08116031 in Project::saveAllFiles() (this=0x0) at project.moc:333
#12 0x08113878 in Project::slotUpload() (this=0x8a7b738) at project.cpp:1574
#13 0x081165ba in Project::qt_invoke(int, QUObject*) (this=0x8a7b738, _id=52, 
    _o=0xbfffe720) at project.moc:389
#14 0x41438eab in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#15 0x41438c74 in QObject::activate_signal(int) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#16 0x40d0413e in KAction::activated() (this=0x8aa5430) at kaction.moc:157
#17 0x40d03ad9 in KAction::slotActivated() (this=0x8aa5430) at 
kaction.cpp:1054
#18 0x40d0443f in KAction::qt_invoke(int, QUObject*) (this=0x8aa5430, _id=14, 
    _o=0xbfffe820) at kaction.moc:181
#19 0x41438eab in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#20 0x417681ca in QSignal::signal(QVariant const&) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#21 0x41453a28 in QSignal::activate() () from /usr/lib/qt3/lib/libqt-mt.so.3
#22 0x4153e79e in QPopupMenu::mouseReleaseEvent(QMouseEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#23 0x4146fc51 in QWidget::event(QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#24 0x413d7906 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#25 0x413d7468 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#26 0x40f8a503 in KApplication::notify(QObject*, QEvent*) (this=0x829bdb0, 
    receiver=0x8b294e0, event=0xbfffed90) at kapplication.cpp:511
#27 0x4136a276 in QETWidget::translateMouseEvent(_XEvent const*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#28 0x41367e3c in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#29 0x4137e08d in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#30 0x413ebc50 in QEventLoop::enterLoop() ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#31 0x413ebb46 in QEventLoop::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#32 0x413d7b9f in QApplication::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#33 0x080b3ac3 in main (argc=1, argv=0xbffff304) at main.cpp:169

Comment 5 Kevin 2004-01-18 23:49:15 UTC
Subject: Re:  project upload crashes quanta+

On Sunday 18 January 2004 16:44, Mantia Andras wrote:
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>
> http://bugs.kde.org/show_bug.cgi?id=72912
>
>
>
>
> ------- Additional Comments From amantia@freemail.hu  2004-01-18 22:44
> ------- Subject: Re:  project upload crashes quanta+
>
> Any detailed info? Was a plugin or document visible/in focus when you
> started the upload?
>
> Andras

Just reproduced it again.  This time I did commit the changes in the edited 
files to the CVS archive before attempting to upload.  The only time I can 
upload without crashing (it seems) is immediately after restarting quanta.

-Kevin

BT:
[New Thread 16384 (LWP 21423)]
0x41b6da86 in waitpid () from /lib/i686/libpthread.so.0
#0  0x41b6da86 in waitpid () from /lib/i686/libpthread.so.0
#1  0x40ff8ba2 in KCrash::defaultCrashHandler(int) (sig=11) at kcrash.cpp:246
#2  0x41b6c96c in __pthread_sighandler () from /lib/i686/libpthread.so.0
#3  <signal handler called>
#4  Document::isUntitled() (this=0x0) at document.cpp:154
#5  0x080b495d in Document::url() (this=0x0) at document.cpp:159
#6  0x080bdaca in Document::removeBackup(KConfig*) (this=0x0, 
config=0x8384620)
    at document.cpp:2138
#7  0x080c65be in QuantaApp::slotFileSaveAll() (this=0x83bfd70)
    at quanta.cpp:445
#8  0x080dbad2 in QuantaApp::qt_invoke(int, QUObject*) (this=0x83bfd70, 
    _id=81, _o=0xbfffe3b0) at quanta.moc:487
#9  0x41438eab in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#10 0x41438c74 in QObject::activate_signal(int) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#11 0x08116031 in Project::saveAllFiles() (this=0x0) at project.moc:333
#12 0x08113878 in Project::slotUpload() (this=0x8a7a420) at project.cpp:1574
#13 0x081165ba in Project::qt_invoke(int, QUObject*) (this=0x8a7a420, _id=52, 
    _o=0xbfffe530) at project.moc:389
#14 0x41438eab in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#15 0x41438c74 in QObject::activate_signal(int) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#16 0x40d0413e in KAction::activated() (this=0x8aa4150) at kaction.moc:157
#17 0x40d03ad9 in KAction::slotActivated() (this=0x8aa4150) at 
kaction.cpp:1054
#18 0x40d0443f in KAction::qt_invoke(int, QUObject*) (this=0x8aa4150, _id=14, 
    _o=0xbfffe630) at kaction.moc:181
#19 0x41438eab in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#20 0x417681ca in QSignal::signal(QVariant const&) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#21 0x41453a28 in QSignal::activate() () from /usr/lib/qt3/lib/libqt-mt.so.3
#22 0x415400c0 in QPopupMenu::keyPressEvent(QKeyEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#23 0x40cf36f8 in KPopupMenu::keyPressEvent(QKeyEvent*) (this=0x8b28118, 
    e=0xbfffeeb0) at kpopupmenu.cpp:278
#24 0x4146fc1a in QWidget::event(QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#25 0x413d7906 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#26 0x413d7167 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#27 0x40f8a503 in KApplication::notify(QObject*, QEvent*) (this=0x829bdb0, 
    receiver=0x8b28118, event=0xbfffeeb0) at kapplication.cpp:511
#28 0x4136c02d in QETWidget::translateKeyEvent(_XEvent const*, bool) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#29 0x41367bb1 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#30 0x4137e08d in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#31 0x413ebc50 in QEventLoop::enterLoop() ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#32 0x413ebb46 in QEventLoop::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#33 0x413d7b9f in QApplication::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#34 0x080b3ac3 in main (argc=1, argv=0xbffff304) at main.cpp:169

Comment 6 András Manţia 2004-01-18 23:53:05 UTC
Subject: Re:  project upload crashes quanta+

On Monday 19 January 2004 00:49, Kevin wrote:
> Just reproduced it again. 
Comment 7 András Manţia 2004-01-29 20:38:58 UTC
Fixed today in both branches.