Bug 148224 - crash in save session (on the exit question)
Summary: crash in save session (on the exit question)
Status: RESOLVED DUPLICATE of bug 147195
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-26 13:40 UTC by Thomas Creutz
Modified: 2007-07-30 23:31 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 Thomas Creutz 2007-07-26 13:40:28 UTC
Version:            (using KDE KDE 3.5.7)
Installed from:    Debian testing/unstable Packages
Compiler:          gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)  
OS:                Linux

After select "yes" on the Exit dialog for the Question "Save session" I become a crash.

This is the crash dump:

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1232144160 (LWP 12844)]
[KCrash handler]
#6  0xffffe410 in __kernel_vsyscall ()
#7  0xb7d1e811 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb7d1ffb9 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb7d53d3a in __fsetlocking () from /lib/tls/i686/cmov/libc.so.6
#10 0xb7d5b5cf in mallopt () from /lib/tls/i686/cmov/libc.so.6
#11 0xb7d5b672 in free () from /lib/tls/i686/cmov/libc.so.6
#12 0xb7f073b1 in operator delete () from /usr/lib/libstdc++.so.6
#13 0xb6d89cd9 in ~KDialogBase (this=0xbff8346c)
    at /usr/src/kde/kdelibs-3.5.7.dfsg.1/./kdeui/kdialogbase.cpp:214
#14 0xb6ddd476 in KMessageBox::createKMessageBox (dialog=0xbff8346c, 
    icon=@0xbff833e0, text=@0xbff83544, strlist=@0xbff83540, ask=@0xbff8353c, 
    checkboxReturn=0xbff8355b, options=<value optimized out>, 
    details=@0xb777d968, notifyType=QMessageBox::Question)
    at /usr/src/kde/kdelibs-3.5.7.dfsg.1/./kdeui/kmessagebox.cpp:312
#15 0xb6dddb8e in KMessageBox::createKMessageBox (dialog=0xbff8346c, 
    icon=QMessageBox::Question, text=@0xbff83544, strlist=@0xbff83540, 
    ask=@0xbff8353c, checkboxReturn=0xbff8355b, options=1, 
    details=@0xb777d968)
    at /usr/src/kde/kdelibs-3.5.7.dfsg.1/./kdeui/kmessagebox.cpp:146
#16 0xb66dd215 in KateSessionManager::saveActiveSession (this=0x81a7b10, 
    tryAsk=true, rememberAsLast=true)
    at /usr/src/kde/kdebase-3.5.7/./kate/app/katesession.cpp:392
#17 0xb66f5dae in KateMainWindow::queryClose (this=0x8227be8)
    at /usr/src/kde/kdebase-3.5.7/./kate/app/katemainwindow.cpp:369
#18 0xb6dbd9f3 in KMainWindow::closeEvent (this=0x8227be8, e=0xbff839a8)
    at /usr/src/kde/kdelibs-3.5.7.dfsg.1/./kdeui/kmainwindow.cpp:640
#19 0xb72ddb64 in QWidget::event (this=0x8227be8, e=0xbff839a8)
    at kernel/qwidget.cpp:4818
#20 0xb73b28bc in QMainWindow::event (this=0x8227be8, e=0xbff839a8)
    at widgets/qmainwindow.cpp:1687
#21 0xb66d3692 in KateMainWindow::event (this=0x8227be8, e=0xbff839a8)
    at /usr/src/kde/kdebase-3.5.7/./kate/app/katemainwindow.cpp:756
#22 0xb723ec26 in QApplication::internalNotify (this=0xbff83fe4, 
    receiver=0x8227be8, e=0xbff839a8) at kernel/qapplication.cpp:2635
#23 0xb72415d6 in QApplication::notify (this=0xbff83fe4, receiver=0x8227be8, 
    e=0xbff839a8) at kernel/qapplication.cpp:2523
#24 0xb7915e6e in KApplication::notify (this=0xbff83fe4, receiver=0x8227be8, 
    event=0xbff839a8)
    at /usr/src/kde/kdelibs-3.5.7.dfsg.1/./kdecore/kapplication.cpp:550
#25 0xb71d2421 in QApplication::sendEvent (receiver=0x8227be8, 
    event=0xbff839a8) at ../include/qapplication.h:520
#26 0xb72e05b2 in QWidget::close (this=0x8227be8, alsoDelete=false)
    at kernel/qwidget.cpp:4288
#27 0xb71bf862 in QETWidget::translateCloseEvent (this=0x8227be8)
    at kernel/qapplication_x11.cpp:5923
#28 0xb71c4c79 in QApplication::x11ClientMessage (this=0xbff83fe4, 
    w=0x8227be8, event=0xbff83cd8, passive_only=false)
    at kernel/qapplication_x11.cpp:3150
#29 0xb71cfed2 in QApplication::x11ProcessEvent (this=0xbff83fe4, 
    event=0xbff83cd8) at kernel/qapplication_x11.cpp:3641
#30 0xb71e5d02 in QEventLoop::processEvents (this=0x80c5960, flags=4)
    at kernel/qeventloop_x11.cpp:192
#31 0xb7259179 in QEventLoop::enterLoop (this=0x80c5960)
    at kernel/qeventloop.cpp:198
#32 0xb7258f9a in QEventLoop::exec (this=0x80c5960)
    at kernel/qeventloop.cpp:145
#33 0xb72407bf in QApplication::exec (this=0xbff83fe4)
    at kernel/qapplication.cpp:2758
#34 0xb67aac96 in kdemain (argc=1, argv=0x805b580)
    at /usr/src/kde/kdebase-3.5.7/./kate/app/katemain.cpp:253
#35 0xb7f99524 in kdeinitmain (argc=1, argv=0x805b580) at kate_dummy.cpp:3
#36 0x0804e457 in launch (argc=1, _name=0x807fc1c "kate", 
    args=0x807fc21 "\001", cwd=0x0, envc=1, envs=0x807fc31 "", 
    reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x807fc36 "alienpc;1185449602;48806;4883_TIME38628250")
    at /usr/src/kde/kdelibs-3.5.7.dfsg.1/./kinit/kinit.cpp:673
#37 0x0804ecf9 in handle_launcher_request (sock=9)
    at /usr/src/kde/kdelibs-3.5.7.dfsg.1/./kinit/kinit.cpp:1240
#38 0x0804f092 in handle_requests (waitForPid=0)
    at /usr/src/kde/kdelibs-3.5.7.dfsg.1/./kinit/kinit.cpp:1443
#39 0x080502b1 in main (argc=5, argv=0xbff84af4, envp=0xbff84b0c)
    at /usr/src/kde/kdelibs-3.5.7.dfsg.1/./kinit/kinit.cpp:1909
#40 0xb7d0aea8 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#41 0x0804b911 in _start () at ../sysdeps/i386/elf/start.S:119
Comment 1 Dominik Haumann 2007-07-30 23:31:06 UTC
duplicate of bug #147195, it was fixed by the following commit (try distribution online updates or KDE 3.5.8 once it is released):

 --- branches/KDE/3.5/kdebase/kate/app/katesession.cpp #676114:676115 
  @@ -381,13 +381,13 @@ 
     
       if (sesExit == "ask") 
       { 
  -      KDialogBase dlg( i18n ("Save Session?") 
  +      KDialogBase* dlg = new KDialogBase(i18n ("Save Session?") 
                        , KDialogBase::Yes | KDialogBase::No 
                        , KDialogBase::Yes, KDialogBase::No 
                        ); 
     
         bool dontAgain = false; 
  -      int res = KMessageBox::createKMessageBox(&dlg, QMessageBox::Question, 
  +      int res = KMessageBox::createKMessageBox(dlg, QMessageBox::Question, 
                                 i18n("Save current session?"), QStringList(), 
                                 i18n("Do not ask again"), &dontAgain, KMessageBox::Notify); 

*** This bug has been marked as a duplicate of 147195 ***