<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>189127</bug_id>
          
          <creation_ts>2009-04-08 16:11:24 +0000</creation_ts>
          <short_desc>Kate crashes immediately via File-&gt;Quit</short_desc>
          <delta_ts>2009-06-08 11:22:15 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kate</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>185708</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vadym Krevs">vkrevs</reporter>
          <assigned_to name="KWrite Developers">kwrite-bugs-null</assigned_to>
          <cc>andreaswuest</cc>
    
    <cc>apatrza1</cc>
    
    <cc>msnkipa</cc>
    
    <cc>niko.sams</cc>
    
    <cc>stavares</cc>
    
    <cc>vtomasr5</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>740621</commentid>
    <comment_count>0</comment_count>
    <who name="Vadym Krevs">vkrevs</who>
    <bug_when>2009-04-08 16:11:24 +0000</bug_when>
    <thetext>Version:           3.2.2 (using 4.2.2 (KDE 4.2.2) &quot;release 111&quot;, KDE:KDE4:Factory:Desktop / openSUSE_11.1)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.27.21-0.1-default

Start kate, open new session, and select File-&gt;Quit. Kate crashes with a useless backtrace.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>740642</commentid>
    <comment_count>1</comment_count>
    <who name="Andreas Pakulat">apaku</who>
    <bug_when>2009-04-08 16:46:04 +0000</bug_when>
    <thetext>Then try other debugging tools (valgrind, kdebug output) or find someone that can reproduce this and doesn&apos;t have a broken backtrace. Without more information this bugreprort is completely useless.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>740915</commentid>
    <comment_count>2</comment_count>
    <who name="Vadym Krevs">vkrevs</who>
    <bug_when>2009-04-09 10:22:28 +0000</bug_when>
    <thetext>Or a developer like your self could run kate and select File-&gt;Quit instead of posting rude comments.

==4220== Invalid read of size 8                                                                                                                                                                                
==4220==    at 0x6EE0E62: (within /usr/lib64/libQtGui.so.4.5.0)                                                                                                                                                
==4220==    by 0x6EE6FED: (within /usr/lib64/libQtGui.so.4.5.0)                                                                                                                                                
==4220==    by 0x5E5FBE0: KMenu::mouseReleaseEvent(QMouseEvent*) (in /usr/lib64/libkdeui.so.5.2.0)                                                                                                             
==4220==    by 0x6B23DEC: QWidget::event(QEvent*) (in /usr/lib64/libQtGui.so.4.5.0)                                                                                                                            
==4220==    by 0x6EE97AA: QMenu::event(QEvent*) (in /usr/lib64/libQtGui.so.4.5.0)                                                                                                                              
==4220==    by 0x6AD2E8C: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib64/libQtGui.so.4.5.0)                                                                                              
==4220==    by 0x6ADB7F9: QApplication::notify(QObject*, QEvent*) (in /usr/lib64/libQtGui.so.4.5.0)                                                                                                            
==4220==    by 0x5D94F8A: KApplication::notify(QObject*, QEvent*) (in /usr/lib64/libkdeui.so.5.2.0)                                                                                                            
==4220==    by 0x7D1EF3B: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib64/libQtCore.so.4.5.0)                                                                                               
==4220==    by 0x6ADAA47: QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer&lt;QWidget&gt;&amp;) (in /usr/lib64/libQtGui.so.4.5.0)                                     
==4220==    by 0x6B444C3: (within /usr/lib64/libQtGui.so.4.5.0)                                                                                                                                                
==4220==    by 0x6B42F77: QApplication::x11ProcessEvent(_XEvent*) (in /usr/lib64/libQtGui.so.4.5.0)                                                                                                            
==4220==  Address 0x10549578 is 8 bytes inside a block of size 704 free&apos;d                                                                                                                                      
==4220==    at 0x4C241AD: operator delete(void*) (vg_replace_malloc.c:342)                                                                                                                                     
==4220==    by 0x7D360AA: QObject::~QObject() (in /usr/lib64/libQtCore.so.4.5.0)                                                                                                                               
==4220==    by 0x6B1F29E: QWidget::~QWidget() (in /usr/lib64/libQtGui.so.4.5.0)                                                                                                                                
==4220==    by 0x6EE2548: QMenu::~QMenu() (in /usr/lib64/libQtGui.so.4.5.0)                                                                                                                                    
==4220==    by 0x5E6018A: KMenu::~KMenu() (in /usr/lib64/libkdeui.so.5.2.0)                                                                                                                                    
==4220==    by 0x7D2D990: QObjectPrivate::deleteChildren() (in /usr/lib64/libQtCore.so.4.5.0)                                                                                                                  
==4220==    by 0x6B1F0F1: QWidget::~QWidget() (in /usr/lib64/libQtGui.so.4.5.0)                                                                                                                                
==4220==    by 0x5E5DAEC: KMainWindow::~KMainWindow() (in /usr/lib64/libkdeui.so.5.2.0)                                                                                                                        
==4220==    by 0x527A678: (within /usr/lib64/libkateinterfaces.so.4.2.0)                                                                                                                                       
==4220==    by 0x526561F: KateApp::shutdownKate(KateMainWindow*) (in /usr/lib64/libkateinterfaces.so.4.2.0)                                                                                                    
==4220==    by 0x527FC34: (within /usr/lib64/libkateinterfaces.so.4.2.0)                                                                                                                                       
==4220==    by 0x7D349C1: QMetaObject::activate(QObject*, int, int, void**) (in /usr/lib64/libQtCore.so.4.5.0)      

==4220==                                                                                                                                                                                                       
==4220== Invalid read of size 8                                                                                                                                                                                
==4220==    at 0x6EDF95A: QMenu::findIdForAction(QAction*) const (in /usr/lib64/libQtGui.so.4.5.0)                                                                                                             
==4220==    by 0x6EE0E6A: (within /usr/lib64/libQtGui.so.4.5.0)                                                                                                                                                
==4220==    by 0x6EE6FED: (within /usr/lib64/libQtGui.so.4.5.0)                                                                                                                                                
==4220==    by 0x5E5FBE0: KMenu::mouseReleaseEvent(QMouseEvent*) (in /usr/lib64/libkdeui.so.5.2.0)                                                                                                             
==4220==    by 0x6B23DEC: QWidget::event(QEvent*) (in /usr/lib64/libQtGui.so.4.5.0)                                                                                                                            
==4220==    by 0x6EE97AA: QMenu::event(QEvent*) (in /usr/lib64/libQtGui.so.4.5.0)                                                                                                                              
==4220==    by 0x6AD2E8C: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib64/libQtGui.so.4.5.0)                                                                                              
==4220==    by 0x6ADB7F9: QApplication::notify(QObject*, QEvent*) (in /usr/lib64/libQtGui.so.4.5.0)                                                                                                            
==4220==    by 0x5D94F8A: KApplication::notify(QObject*, QEvent*) (in /usr/lib64/libkdeui.so.5.2.0)                                                                                                            
==4220==    by 0x7D1EF3B: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib64/libQtCore.so.4.5.0)                                                                                               
==4220==    by 0x6ADAA47: QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer&lt;QWidget&gt;&amp;) (in /usr/lib64/libQtGui.so.4.5.0)                                     
==4220==    by 0x6B444C3: (within /usr/lib64/libQtGui.so.4.5.0)                                                                                                                                                
==4220==  Address 0xfd57fe8 is 8 bytes inside a block of size 24 free&apos;d                                                                                                                                        
==4220==    at 0x4C241AD: operator delete(void*) (vg_replace_malloc.c:342)                                                                                                                                     
==4220==    by 0x7D2D990: QObjectPrivate::deleteChildren() (in /usr/lib64/libQtCore.so.4.5.0)                                                                                                                  
==4220==    by 0x7D36006: QObject::~QObject() (in /usr/lib64/libQtCore.so.4.5.0)                                                                                                                               
==4220==    by 0x5CC6AA5: KActionCollection::~KActionCollection() (in /usr/lib64/libkdeui.so.5.2.0)
==4220==    by 0x5E9F7DB: KXMLGUIClient::~KXMLGUIClient() (in /usr/lib64/libkdeui.so.5.2.0)
==4220==    by 0x527A697: (within /usr/lib64/libkateinterfaces.so.4.2.0)
==4220==    by 0x526561F: KateApp::shutdownKate(KateMainWindow*) (in /usr/lib64/libkateinterfaces.so.4.2.0)
==4220==    by 0x527FC34: (within /usr/lib64/libkateinterfaces.so.4.2.0)
==4220==    by 0x7D349C1: QMetaObject::activate(QObject*, int, int, void**) (in /usr/lib64/libQtCore.so.4.5.0)
==4220==    by 0x6ACCEF6: QAction::triggered(bool) (in /usr/lib64/libQtGui.so.4.5.0)
==4220==    by 0x6ACE36F: QAction::activate(QAction::ActionEvent) (in /usr/lib64/libQtGui.so.4.5.0)
==4220==    by 0x6EE0FCB: (within /usr/lib64/libQtGui.so.4.5.0)
==4220==
==4220== Invalid read of size 4
==4220==    at 0x6EDF95E: QMenu::findIdForAction(QAction*) const (in /usr/lib64/libQtGui.so.4.5.0)
==4220==    by 0x6EE0E6A: (within /usr/lib64/libQtGui.so.4.5.0)
==4220==    by 0x6EE6FED: (within /usr/lib64/libQtGui.so.4.5.0)
==4220==    by 0x5E5FBE0: KMenu::mouseReleaseEvent(QMouseEvent*) (in /usr/lib64/libkdeui.so.5.2.0)
==4220==    by 0x6B23DEC: QWidget::event(QEvent*) (in /usr/lib64/libQtGui.so.4.5.0)
==4220==    by 0x6EE97AA: QMenu::event(QEvent*) (in /usr/lib64/libQtGui.so.4.5.0)
==4220==    by 0x6AD2E8C: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib64/libQtGui.so.4.5.0)
==4220==    by 0x6ADB7F9: QApplication::notify(QObject*, QEvent*) (in /usr/lib64/libQtGui.so.4.5.0)
==4220==    by 0x5D94F8A: KApplication::notify(QObject*, QEvent*) (in /usr/lib64/libkdeui.so.5.2.0)
==4220==    by 0x7D1EF3B: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib64/libQtCore.so.4.5.0)
==4220==    by 0x6ADAA47: QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer&lt;QWidget&gt;&amp;) (in /usr/lib64/libQtGui.so.4.5.0)
==4220==    by 0x6B444C3: (within /usr/lib64/libQtGui.so.4.5.0)
==4220==  Address 0x130 is not stack&apos;d, malloc&apos;d or (recently) free&apos;d
KCrash: Application &apos;kate&apos; crashing...
sock_file=/home/vadymk/.kde4/socket-stal-dev-lx1/kdeinit4__0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>740917</commentid>
    <comment_count>3</comment_count>
    <who name="Vadym Krevs">vkrevs</who>
    <bug_when>2009-04-09 10:23:21 +0000</bug_when>
    <thetext>valgrind trace provided</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>740925</commentid>
    <comment_count>4</comment_count>
    <who name="Andreas Pakulat">apaku</who>
    <bug_when>2009-04-09 10:52:19 +0000</bug_when>
    <thetext>How should I produce a backtrace or valgrind log if I can&apos;t reproduce the problem?

And looking at the backtrace and the comment about gdb producing garbage backtrace this seems to be simply a broken Qt installation. There&apos;s most probably some kind of binary incompatibility. Is this a package, if so I suggest to complain to the package developers. If you&apos;ve built yourself then remove the installed files, remove your builddirectories and start a new build from scratch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>741135</commentid>
    <comment_count>5</comment_count>
    <who name="Andreas Pakulat">apaku</who>
    <bug_when>2009-04-09 20:38:02 +0000</bug_when>
    <thetext>*** Bug 189237 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>741137</commentid>
    <comment_count>6</comment_count>
    <who name="Andreas Pakulat">apaku</who>
    <bug_when>2009-04-09 20:41:14 +0000</bug_when>
    <thetext>Hmm, this seems to happen only with trunk, not with my 4.2 (checkout is pre 4.2.2 iirc)/Qt4.4. Vadym are you running KDE 4.2.2 on Qt4.5?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>741140</commentid>
    <comment_count>7</comment_count>
    <who name="Niko Sams">niko.sams</who>
    <bug_when>2009-04-09 20:50:26 +0000</bug_when>
    <thetext>I can reproduce this with KDE trunk (same backtrace)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>741887</commentid>
    <comment_count>8</comment_count>
    <who name="Vicenç Juan Tomas Monserrat">vtomasr5</who>
    <bug_when>2009-04-11 20:42:03 +0000</bug_when>
    <thetext>I can reproduce this bug on KDE 4.2.2 qith Qt 4.5.0-2 of Debian testing/unstable.

I&apos;ve installed kdebase-runtime-dbg package.

Aplicación: Kate (kate), señal SIGSEGV
0x00007f21cadbc8a0 in __nanosleep_nocancel () from /lib/libc.so.6
Current language:  auto; currently c

Thread 1 (Thread 0x7f21cb357750 (LWP 6294)):
[KCrash Handler]
#5  0x00007f21ca6df00e in QMenu::findIdForAction (this=0x2810600, act=0x26d9ac0) at widgets/qmenu.cpp:3157
#6  0x00007f21ca6e051b in QMenuPrivate::activateCausedStack (this=0x272f1c0, causedStack=@0x7fffd34922e0, action=0x26d9ac0, action_e=QAction::Trigger, self=224) at widgets/qmenu.cpp:965
#7  0x00007f21ca6e664e in QMenuPrivate::activateAction (this=0x272f1c0, action=0x26d9ac0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1058
#8  0x00007f21c54c3431 in KMenu::mouseReleaseEvent (this=0x2817ea0, e=0x7fffd3492e00) at ../../kdeui/widgets/kmenu.cpp:454
#9  0x00007f21ca3097cf in QWidget::event (this=0x2817ea0, event=0x7fffd3492e00) at kernel/qwidget.cpp:7516
#10 0x00007f21ca6e8e0b in QMenu::event (this=0x2817ea0, e=0x7fffd3492e00) at widgets/qmenu.cpp:2351
#11 0x00007f21ca2b867d in QApplicationPrivate::notify_helper (this=0x243cab0, receiver=0x2817ea0, e=0x7fffd3492e00) at kernel/qapplication.cpp:4084
#12 0x00007f21ca2c0fca in QApplication::notify (this=&lt;value optimized out&gt;, receiver=0x2817ea0, e=0x7fffd3492e00) at kernel/qapplication.cpp:3786
#13 0x00007f21c53f311b in KApplication::notify (this=0x7fffd3493be0, receiver=0x2817ea0, event=0x7fffd3492e00) at ../../kdeui/kernel/kapplication.cpp:307
#14 0x00007f21c9473c4c in QCoreApplication::notifyInternal (this=0x7fffd3493be0, receiver=0x2817ea0, event=0x7fffd3492e00) at kernel/qcoreapplication.cpp:602
#15 0x00007f21ca2c0218 in QApplicationPrivate::sendMouseEvent (receiver=0x2817ea0, event=0x7fffd3492e00, alienWidget=0x0, nativeWidget=0x2817ea0, buttonDown=&lt;value optimized out&gt;, 
    lastMouseReceiver=@0x7f21cad1aeb0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#16 0x00007f21ca329e64 in QETWidget::translateMouseEvent (this=0x2817ea0, event=&lt;value optimized out&gt;) at kernel/qapplication_x11.cpp:4359
#17 0x00007f21ca328de8 in QApplication::x11ProcessEvent (this=0x7fffd3493be0, event=0x7fffd3493790) at kernel/qapplication_x11.cpp:3543
#18 0x00007f21ca350fa4 in x11EventSourceDispatch (s=0x2440250, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#19 0x00007f21c7e47afb in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#20 0x00007f21c7e4b2bd in ?? () from /usr/lib/libglib-2.0.so.0
#21 0x00007f21c7e4b47b in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#22 0x00007f21c949d29f in QEventDispatcherGlib::processEvents (this=0x24383d0, flags=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:323
#23 0x00007f21ca35074f in QGuiEventDispatcherGlib::processEvents (this=0x2810600, flags=&lt;value optimized out&gt;) at kernel/qguieventdispatcher_glib.cpp:202
#24 0x00007f21c94724f2 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, flags={i = -750175616}) at kernel/qeventloop.cpp:149
#25 0x00007f21c94728bd in QEventLoop::exec (this=0x7fffd3493ac0, flags={i = -750175536}) at kernel/qeventloop.cpp:200
#26 0x00007f21c9474b84 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#27 0x00007f21cb075b85 in kdemain (argc=1, argv=0x7fffd3494dc8) at ../../../kate/app/katemain.cpp:250
#28 0x00007f21cad3c5a6 in __libc_start_main (main=0x4006f0 &lt;main&gt;, argc=1, ubp_av=0x7fffd3494dc8, init=0x400720 &lt;__libc_csu_init&gt;, fini=&lt;value optimized out&gt;, rtld_fini=&lt;value optimized out&gt;, 
    stack_end=0x7fffd3494db8) at libc-start.c:222
#29 0x0000000000400629 in _start () at ../sysdeps/x86_64/elf/start.S:113</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>742040</commentid>
    <comment_count>9</comment_count>
    <who name="Andreas Pakulat">apaku</who>
    <bug_when>2009-04-12 08:57:30 +0000</bug_when>
    <thetext>*** Bug 189423 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>746424</commentid>
    <comment_count>10</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2009-04-24 00:50:00 +0000</bug_when>
    <thetext>*** Bug 190465 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>746425</commentid>
    <comment_count>11</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2009-04-24 00:52:29 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 185708 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>771862</commentid>
    <comment_count>12</comment_count>
    <who name="Andreas Pakulat">apaku</who>
    <bug_when>2009-06-08 11:22:15 +0000</bug_when>
    <thetext>*** Bug 195636 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>