Bug 184223 - pressing ESC to exit the editor closes the krusader (probably crash)
Summary: pressing ESC to exit the editor closes the krusader (probably crash)
Status: RESOLVED FIXED
Alias: None
Product: krusader
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Shie Erlich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-13 14:33 UTC by Nadav Kavalerchik
Modified: 2009-03-10 20:01 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nadav Kavalerchik 2009-02-13 14:33:47 UTC
Version:           2.0.0-beta2 "Space Odyssey" (using 4.2.00 (KDE 4.2.0), Debian packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.26-1-amd64

50% ~ of the times i press the ESC key to exit the internal editor (root mode) i exit the editor + krusader crash (with no crash dialog) 

similar to : http://bugs.kde.org/show_bug.cgi?id=96395
Comment 1 Dario Andres 2009-02-15 23:45:51 UTC
As you can reproduce the crash at will, may you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace here? Thanks :)
Comment 2 Nadav Kavalerchik 2009-02-26 18:44:19 UTC
i keep forgetting to launch krusader from konsole. until today...

laptop:~# krusader
krusader(8845) UserAction::UserAction: Initialisising useractions...
krusader(8845) UserAction::UserAction: 14  useractions read.
krusader(8845) KSharedUiServerProxy::KSharedUiServerProxy: kuiserver registered
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
KCrash: Application 'krusader' crashing...
Alarm clock

no crash report it just disapears (closes) with no error or any other indication
as if i was pressing F10

only happens in F4 edit mode.
Comment 4 Nadav Kavalerchik 2009-02-26 21:41:51 UTC
here we go...

laptop:~# gdb krusader
GNU gdb (GDB) 6.8.50.20090106-cvs-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.           
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"   
and "show warranty" for details.                                             
This GDB was configured as "x86_64-linux-gnu".                               
For bug reporting instructions, please see:                                  
<http://www.gnu.org/software/gdb/bugs/>...                                   
(gdb) run                                                                    
Starting program: /usr/bin/krusader                                          
[Thread debugging using libthread_db enabled]                                
krusader(14961) UserAction::UserAction: Initialisising useractions...        
krusader(14961) UserAction::UserAction: 14  useractions read.                
krusader(14961) KSharedUiServerProxy::KSharedUiServerProxy: kuiserver registered
Calling appendChild() on a null node does nothing.                              
Calling appendChild() on a null node does nothing.                              
Calling appendChild() on a null node does nothing.                              
Calling appendChild() on a null node does nothing.                              
Calling appendChild() on a null node does nothing.                              
Calling appendChild() on a null node does nothing.                              
Calling appendChild() on a null node does nothing.                              
Calling appendChild() on a null node does nothing.                              
Calling appendChild() on a null node does nothing.                              
Calling appendChild() on a null node does nothing.                              
Calling appendChild() on a null node does nothing.                              
Calling appendChild() on a null node does nothing.                              

Program received signal SIGABRT, Aborted.
0x00007ffff4107105 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64      ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.                                
        in ../nptl/sysdeps/unix/sysv/linux/raise.c                                                         
Current language:  auto; currently c                                                                       
(gdb) thread apply all backtrace                                                                           

Thread 1 (Thread 0x7ffff7ec2700 (LWP 14961)):
#0  0x00007ffff4107105 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007ffff4108623 in *__GI_abort () at abort.c:88                                                         
#2  0x00007ffff41471e0 in malloc_printerr (action=2, str=0x7ffff41ef500 "corrupted double-linked list", ptr=0x3a71) at malloc.c:5999
#3  0x00007ffff4147480 in malloc_consolidate (av=0x7ffff4423a00) at malloc.c:4905                                                   
#4  0x00007ffff4149c0e in _int_malloc (av=0x7ffff4423a00, bytes=1025) at malloc.c:4229                                              
#5  0x00007ffff414aef4 in _int_realloc (av=<value optimized out>, oldmem=0x1499070, bytes=<value optimized out>) at malloc.c:5035   
#6  0x00007ffff414b371 in realloc_check (oldmem=0x1499070, bytes=1024, caller=<value optimized out>) at hooks.c:359                 
#7  0x00007ffff5ec2e29 in QVector<QWidget*>::realloc (this=0xa57f50, asize=62, aalloc=6) at ../../include/QtCore/../../src/corelib/tools/qvector.h:461
#8  0x00007ffff5ec2e86 in QVector<QWidget*>::append (this=0xa57f50, t=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qvector.h:518
#9  0x00007ffff5ec2f15 in QWidgetBackingStore::addDirtyWidget (this=0xa57f30, widget=0xe1dd60, rgn=<value optimized out>) at painting/qbackingstore_p.h:143
#10 0x00007ffff5ec0ed8 in QWidgetBackingStore::markDirty (this=0xa57f30, rect=@0x7fffffffaa80, widget=0xe1dd60, updateImmediately=false,                   
    invalidateBuffer=<value optimized out>) at painting/qbackingstore.cpp:641                                                                              
#11 0x00007ffff5d10d12 in QWidget::update (this=0xe1dd60, rect=@0x7fffffffaa80) at kernel/qwidget.cpp:9490                                                 
#12 0x00007ffff5d10db3 in QWidget::update (this=0x3a71) at kernel/qwidget.cpp:9462                                                                         
#13 0x00007ffff5d17bb4 in QWidget::event (this=0xe1dd60, event=0x7fffffffc320) at kernel/qwidget.cpp:7754                                                  
#14 0x00007ffff5cc666d in QApplicationPrivate::notify_helper (this=0x8ce8b0, receiver=0xe1dd60, e=0x7fffffffc320) at kernel/qapplication.cpp:4051          
#15 0x00007ffff5cce85a in QApplication::notify (this=0x7fffffffd230, receiver=0xe1dd60, e=0x7fffffffc320) at kernel/qapplication.cpp:4016                  
#16 0x00007ffff77aafab in KApplication::notify (this=0x7fffffffd230, receiver=0xe1dd60, event=0x7fffffffc320) at ../../kdeui/kernel/kapplication.cpp:307   
#17 0x00007ffff52fabbc in QCoreApplication::notifyInternal (this=0x7fffffffd230, receiver=0xe1dd60, event=0x7fffffffc320) at kernel/qcoreapplication.cpp:597
#18 0x00007ffff5d178ea in QWidget::event (this=0xe27d60, event=0x7fffffffc320) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:208      
#19 0x00007ffff5cc666d in QApplicationPrivate::notify_helper (this=0x8ce8b0, receiver=0xe27d60, e=0x7fffffffc320) at kernel/qapplication.cpp:4051
#20 0x00007ffff5cce85a in QApplication::notify (this=0x7fffffffd230, receiver=0xe27d60, e=0x7fffffffc320) at kernel/qapplication.cpp:4016
#21 0x00007ffff77aafab in KApplication::notify (this=0x7fffffffd230, receiver=0xe27d60, event=0x7fffffffc320) at ../../kdeui/kernel/kapplication.cpp:307
#22 0x00007ffff52fabbc in QCoreApplication::notifyInternal (this=0x7fffffffd230, receiver=0xe27d60, event=0x7fffffffc320) at kernel/qcoreapplication.cpp:597
#23 0x00007ffff5d178ea in QWidget::event (this=0xbc18d0, event=0x7fffffffc320) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:208
#24 0x00007ffff5cc666d in QApplicationPrivate::notify_helper (this=0x8ce8b0, receiver=0xbc18d0, e=0x7fffffffc320) at kernel/qapplication.cpp:4051
#25 0x00007ffff5cce85a in QApplication::notify (this=0x7fffffffd230, receiver=0xbc18d0, e=0x7fffffffc320) at kernel/qapplication.cpp:4016
#26 0x00007ffff77aafab in KApplication::notify (this=0x7fffffffd230, receiver=0xbc18d0, event=0x7fffffffc320) at ../../kdeui/kernel/kapplication.cpp:307
---Type <return> to continue, or q <return> to quit---
#27 0x00007ffff52fabbc in QCoreApplication::notifyInternal (this=0x7fffffffd230, receiver=0xbc18d0, event=0x7fffffffc320) at kernel/qcoreapplication.cpp:597
#28 0x00007ffff5d178ea in QWidget::event (this=0x7fffffffd020, event=0x7fffffffc320) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:208
#29 0x00007ffff60c9a9b in QMainWindow::event (this=0x7fffffffd020, event=0x7fffffffc320) at widgets/qmainwindow.cpp:1391
#30 0x00007ffff78b49d8 in KXmlGuiWindow::event (this=0x3a71, ev=0x3a71) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131
#31 0x00007ffff5cc666d in QApplicationPrivate::notify_helper (this=0x8ce8b0, receiver=0x7fffffffd020, e=0x7fffffffc320) at kernel/qapplication.cpp:4051
#32 0x00007ffff5cce85a in QApplication::notify (this=0x7fffffffd230, receiver=0x7fffffffd020, e=0x7fffffffc320) at kernel/qapplication.cpp:4016
#33 0x00007ffff77aafab in KApplication::notify (this=0x7fffffffd230, receiver=0x7fffffffd020, event=0x7fffffffc320) at ../../kdeui/kernel/kapplication.cpp:307
#34 0x00007ffff52fabbc in QCoreApplication::notifyInternal (this=0x7fffffffd230, receiver=0x7fffffffd020, event=0x7fffffffc320)
    at kernel/qcoreapplication.cpp:597
#35 0x00007ffff5ccd375 in QApplication::setActiveWindow (act=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:211
#36 0x00007ffff5d36b05 in QApplication::x11ProcessEvent (this=0x7fffffffd230, event=0x7fffffffcbf0) at kernel/qapplication_x11.cpp:3451
#37 0x00007ffff5d5ef24 in x11EventSourceDispatch (s=0x8d1d80, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:141
#38 0x00007ffff0f64aab in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#39 0x00007ffff0f6826d in ?? () from /usr/lib/libglib-2.0.so.0
#40 0x00007ffff0f6842b in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#41 0x00007ffff53241ff in QEventDispatcherGlib::processEvents (this=0x8caa30, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:318
#42 0x00007ffff5d5e6cf in QGuiEventDispatcherGlib::processEvents (this=0x3a71, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:197
#43 0x00007ffff52f9462 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -12576}) at kernel/qeventloop.cpp:144
#44 0x00007ffff52f982d in QEventLoop::exec (this=0x7fffffffcf20, flags={i = -12496}) at kernel/qeventloop.cpp:195
#45 0x00007ffff52fbaf4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:875
#46 0x000000000045a539 in main (argc=3, argv=0x7fffffffcfd0) at /tmp/buildd/krusader-2.0.0beta2/krusader/main.cpp:266
(gdb)
Comment 5 Nadav Kavalerchik 2009-02-26 21:44:18 UTC
actually, i think i was just moving from tab to tab in the editor when this (last gdb dump) was happening
Comment 6 Nadav Kavalerchik 2009-03-01 12:03:38 UTC
here is an example of me viewing a 1.6k php text file (F3)
it crashes each time i exit the file

laptop:~# krusader 
krusader(5271) UserAction::UserAction: Initialisising useractions...
krusader(5271) UserAction::UserAction: 14  useractions read.        
Calling appendChild() on a null node does nothing.                  
KCrash: Application 'krusader' crashing...                          
Alarm clock                                                         
laptop:~# dgb krusader                                              
bash: dgb: command not found                                        
laptop:~# gdb krusader                                              
GNU gdb (GDB) 6.8.50.20090106-cvs-debian                            
Copyright (C) 2009 Free Software Foundation, Inc.                   
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.           
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"   
and "show warranty" for details.                                             
This GDB was configured as "x86_64-linux-gnu".                               
For bug reporting instructions, please see:                                  
<http://www.gnu.org/software/gdb/bugs/>...                                   
(gdb) run                                                                    
Starting program: /usr/bin/krusader                                          
[Thread debugging using libthread_db enabled]                                
krusader(5274) UserAction::UserAction: Initialisising useractions...         
krusader(5274) UserAction::UserAction: 14  useractions read.                 
Calling appendChild() on a null node does nothing.                           
Calling appendChild() on a null node does nothing.                           
Calling appendChild() on a null node does nothing.                           
Calling appendChild() on a null node does nothing.                           

Program received signal SIGABRT, Aborted.
0x00007ffff4107105 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64      ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.                                
        in ../nptl/sysdeps/unix/sysv/linux/raise.c                                                         
Current language:  auto; currently c                                                                       
(gdb) thread apply all backtrace                                                                           

Thread 1 (Thread 0x7ffff7ec1700 (LWP 5274)):
#0  0x00007ffff4107105 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007ffff4108623 in *__GI_abort () at abort.c:88                                                         
#2  0x00007ffff41471e0 in malloc_printerr (action=2, str=0x7ffff41ef500 "corrupted double-linked list", ptr=0x149a) at malloc.c:5999
#3  0x00007ffff4147480 in malloc_consolidate (av=0x7ffff4423a00) at malloc.c:4905                                                   
#4  0x00007ffff4149c0e in _int_malloc (av=0x7ffff4423a00, bytes=1025) at malloc.c:4229                                              
#5  0x00007ffff414aef4 in _int_realloc (av=<value optimized out>, oldmem=0x1357610, bytes=<value optimized out>) at malloc.c:5035   
#6  0x00007ffff414b371 in realloc_check (oldmem=0x1357610, bytes=1024, caller=<value optimized out>) at hooks.c:359                 
#7  0x00007ffff5ec2e29 in QVector<QWidget*>::realloc (this=0x9f2c10, asize=62, aalloc=6) at ../../include/QtCore/../../src/corelib/tools/qvector.h:461
#8  0x00007ffff5ec2e86 in QVector<QWidget*>::append (this=0x9f2c10, t=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qvector.h:518
#9  0x00007ffff5ec2f15 in QWidgetBackingStore::addDirtyWidget (this=0x9f2bf0, widget=0xd860b0, rgn=<value optimized out>) at painting/qbackingstore_p.h:143
#10 0x00007ffff5ec0ed8 in QWidgetBackingStore::markDirty (this=0x9f2bf0, rect=@0x7fffffffaa80, widget=0xd860b0, updateImmediately=false,                   
    invalidateBuffer=<value optimized out>) at painting/qbackingstore.cpp:641                                                                              
#11 0x00007ffff5d10d12 in QWidget::update (this=0xd860b0, rect=@0x7fffffffaa80) at kernel/qwidget.cpp:9490                                                 
#12 0x00007ffff5d10db3 in QWidget::update (this=0x149a) at kernel/qwidget.cpp:9462                                                                         
#13 0x00007ffff5d17bb4 in QWidget::event (this=0xd860b0, event=0x7fffffffc320) at kernel/qwidget.cpp:7754                                                  
#14 0x00007ffff5cc666d in QApplicationPrivate::notify_helper (this=0x8ce8b0, receiver=0xd860b0, e=0x7fffffffc320) at kernel/qapplication.cpp:4051          
#15 0x00007ffff5cce85a in QApplication::notify (this=0x7fffffffd230, receiver=0xd860b0, e=0x7fffffffc320) at kernel/qapplication.cpp:4016                  
#16 0x00007ffff77aafab in KApplication::notify (this=0x7fffffffd230, receiver=0xd860b0, event=0x7fffffffc320) at ../../kdeui/kernel/kapplication.cpp:307   
#17 0x00007ffff52fabbc in QCoreApplication::notifyInternal (this=0x7fffffffd230, receiver=0xd860b0, event=0x7fffffffc320) at kernel/qcoreapplication.cpp:597
#18 0x00007ffff5d178ea in QWidget::event (this=0xd843e0, event=0x7fffffffc320) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:208      
#19 0x00007ffff5cc666d in QApplicationPrivate::notify_helper (this=0x8ce8b0, receiver=0xd843e0, e=0x7fffffffc320) at kernel/qapplication.cpp:4051           
#20 0x00007ffff5cce85a in QApplication::notify (this=0x7fffffffd230, receiver=0xd843e0, e=0x7fffffffc320) at kernel/qapplication.cpp:4016                   
#21 0x00007ffff77aafab in KApplication::notify (this=0x7fffffffd230, receiver=0xd843e0, event=0x7fffffffc320) at ../../kdeui/kernel/kapplication.cpp:307    
#22 0x00007ffff52fabbc in QCoreApplication::notifyInternal (this=0x7fffffffd230, receiver=0xd843e0, event=0x7fffffffc320) at kernel/qcoreapplication.cpp:597
#23 0x00007ffff5d178ea in QWidget::event (this=0xb618c0, event=0x7fffffffc320) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:208
#24 0x00007ffff5cc666d in QApplicationPrivate::notify_helper (this=0x8ce8b0, receiver=0xb618c0, e=0x7fffffffc320) at kernel/qapplication.cpp:4051
#25 0x00007ffff5cce85a in QApplication::notify (this=0x7fffffffd230, receiver=0xb618c0, e=0x7fffffffc320) at kernel/qapplication.cpp:4016
#26 0x00007ffff77aafab in KApplication::notify (this=0x7fffffffd230, receiver=0xb618c0, event=0x7fffffffc320) at ../../kdeui/kernel/kapplication.cpp:307
---Type <return> to continue, or q <return> to quit---
#27 0x00007ffff52fabbc in QCoreApplication::notifyInternal (this=0x7fffffffd230, receiver=0xb618c0, event=0x7fffffffc320) at kernel/qcoreapplication.cpp:597
#28 0x00007ffff5d178ea in QWidget::event (this=0x7fffffffd020, event=0x7fffffffc320) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:208
#29 0x00007ffff60c9a9b in QMainWindow::event (this=0x7fffffffd020, event=0x7fffffffc320) at widgets/qmainwindow.cpp:1391
#30 0x00007ffff78b49d8 in KXmlGuiWindow::event (this=0x149a, ev=0x149a) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131
#31 0x00007ffff5cc666d in QApplicationPrivate::notify_helper (this=0x8ce8b0, receiver=0x7fffffffd020, e=0x7fffffffc320) at kernel/qapplication.cpp:4051
#32 0x00007ffff5cce85a in QApplication::notify (this=0x7fffffffd230, receiver=0x7fffffffd020, e=0x7fffffffc320) at kernel/qapplication.cpp:4016
#33 0x00007ffff77aafab in KApplication::notify (this=0x7fffffffd230, receiver=0x7fffffffd020, event=0x7fffffffc320) at ../../kdeui/kernel/kapplication.cpp:307
#34 0x00007ffff52fabbc in QCoreApplication::notifyInternal (this=0x7fffffffd230, receiver=0x7fffffffd020, event=0x7fffffffc320)
    at kernel/qcoreapplication.cpp:597
#35 0x00007ffff5ccd375 in QApplication::setActiveWindow (act=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:211
#36 0x00007ffff5d36b05 in QApplication::x11ProcessEvent (this=0x7fffffffd230, event=0x7fffffffcbf0) at kernel/qapplication_x11.cpp:3451
#37 0x00007ffff5d5ef24 in x11EventSourceDispatch (s=0x8d1d80, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:141
#38 0x00007ffff0f64aab in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#39 0x00007ffff0f6826d in ?? () from /usr/lib/libglib-2.0.so.0
#40 0x00007ffff0f6842b in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#41 0x00007ffff53241ff in QEventDispatcherGlib::processEvents (this=0x8caa30, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:318
#42 0x00007ffff5d5e6cf in QGuiEventDispatcherGlib::processEvents (this=0x149a, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:197
#43 0x00007ffff52f9462 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -12576}) at kernel/qeventloop.cpp:144
#44 0x00007ffff52f982d in QEventLoop::exec (this=0x7fffffffcf20, flags={i = -12496}) at kernel/qeventloop.cpp:195
#45 0x00007ffff52fbaf4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:875
#46 0x000000000045a539 in main (argc=3, argv=0x7fffffffcfd0) at /tmp/buildd/krusader-2.0.0beta2/krusader/main.cpp:266
(gdb)
Comment 7 Dario Andres 2009-03-06 14:16:35 UTC
What Qt version are you using ?
Comment 8 Nadav Kavalerchik 2009-03-06 18:26:21 UTC
qt 4.5~rc1-2 (debian experimental)
(it seems i am having a few trubles since i upgraded from qt 4.4.3-2 (debian unstable)
Comment 9 Nadav Kavalerchik 2009-03-10 20:01:50 UTC
fixed with kde 4.2.1 and qt 4.5 (debian experimental)