kile crashed with SIGSEGV in QWidgetPrivate::deleteExtra()

Bug #357016 reported by Patrick Dempster
32
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kile (Ubuntu)
Fix Released
Medium
Andreas Wenning

Bug Description

Binary package hint: kile

$ lsb_release -rd
Description: Ubuntu jaunty (development branch)
Release: 9.04

$ apt-cache policy kile
kile:
  Installed: 1:2.1.0~svn942443-0ubuntu3
  Candidate: 1:2.1.0~svn942443-0ubuntu3
  Version table:
 *** 1:2.1.0~svn942443-0ubuntu3 0
        500 http://gb.archive.ubuntu.com jaunty/universe Packages
        100 /var/lib/dpkg/status

ProblemType: Crash
Architecture: i386
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/bin/kile
Package: kile 1:2.1.0~svn942443-0ubuntu3
ProcCmdline: /usr/bin/kile
ProcEnviron:
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
Signal: 11
SourcePackage: kile
StacktraceTop:
 ?? () from /usr/lib/libQtGui.so.4
 ?? () from /usr/lib/libQtGui.so.4
 QWidgetPrivate::deleteExtra () from /usr/lib/libQtGui.so.4
 QWidgetPrivate::~QWidgetPrivate ()
 ?? () from /usr/lib/libQtGui.so.4
Title: kile crashed with SIGSEGV in QWidgetPrivate::deleteExtra()
Uname: Linux 2.6.28-11-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Related branches

Revision history for this message
Patrick Dempster (paddydempster-deactivatedaccount) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt (retraced)

StacktraceTop:~QX11WindowSurface (this=0x8ccc9a8)
~QWidgetBackingStore (this=0x8d3ed28)
QWidgetPrivate::deleteExtra (this=0x8f4f078)
~QWidgetPrivate (this=0x8f4f078) at kernel/qwidget.cpp:224
~QMenuPrivate (this=0x8f4f078) at widgets/qmenu_p.h:151

Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt (retraced)
Changed in kile (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
Revision history for this message
Andreas Wenning (andreas-wenning) wrote :

Can you describe what you did in kile when this crash occured?

Changed in kile (Ubuntu):
assignee: nobody → andreas-wenning
status: New → Incomplete
visibility: private → public
Revision history for this message
Matti Laakso (matti-laakso) wrote :

Same error here. Occurs once I exit Kile if I have used PDFLaTeX (at least).

Revision history for this message
Thomas Braun (tbraun1234) wrote :

>Same error here. Occurs once I exit Kile if I have used PDFLaTeX (at least).

If the error is so easy to reproduce it is not in kile trunk, as I can not reproduce it here.

Revision history for this message
Andreas Wenning (andreas-wenning) wrote :

I have updated my svn snapshot of kile in my PPA:
https://launchpad.net/~andreas-wenning/+archive/experimental

Can anyone try to test it and see if the crash is fixed there?

Changed in kile (Ubuntu):
assignee: andreas-wenning → nobody
status: Incomplete → Confirmed
Revision history for this message
Marius (felijohn) wrote : Re: [Bug 357016] Re: kile crashed with SIGSEGV in QWidgetPrivate::deleteExtra()

It seems that it is fixed for me.

Marius

On Tue, Apr 21, 2009 at 8:42 AM, Andreas Wenning <email address hidden> wrote:
> I have updated my svn snapshot of kile in my PPA:
> https://launchpad.net/~andreas-wenning/+archive/experimental
>
> Can anyone try to test it and see if the crash is fixed there?
>
> ** Changed in: kile (Ubuntu)
>       Status: Incomplete => Confirmed
>
> ** Changed in: kile (Ubuntu)
>     Assignee: Andreas Wenning (andreas-wenning) => (unassigned)
>
> --
> kile crashed with SIGSEGV in QWidgetPrivate::deleteExtra()
> https://bugs.launchpad.net/bugs/357016
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>

Revision history for this message
Andreas Wenning (andreas-wenning) wrote :

Thanks for confirming Marius.

Changed in kile (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Matti Laakso (matti-laakso) wrote :

I did some further testing. Kile crashes on exit only if I press any of the small "down" arrows in the toolbar, for example next to "QuickBuild". The behaviour is the same with both versions.

Revision history for this message
Marius (felijohn) wrote :

I can confirm that I also get the crash on exit if I press the "down"
arrows in the toolbar with the new version.

On Wed, Apr 22, 2009 at 10:15 AM, Matti Laakso <email address hidden> wrote:
> I did some further testing. Kile crashes on exit only if I press any of
> the small "down" arrows in the toolbar, for example next to
> "QuickBuild". The behaviour is the same with both versions.
>
> --
> kile crashed with SIGSEGV in QWidgetPrivate::deleteExtra()
> https://bugs.launchpad.net/bugs/357016
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>

Revision history for this message
Gergely Csépány (cheoppy) wrote :

Same here, Kile crashes on exit if I press any of the 'down' arrows on the toolbar.

Revision history for this message
Andreas Wenning (andreas-wenning) wrote :

@tbraun
I just reproduced it on a fresh trunk export; so it seems to be lurking around somewhere. svn rev. 958896 to be precise.

Are you testing with qt4.5 or qt4.4.x? Could originate from a qt difference in that case.

Changed in kile (Ubuntu):
status: Triaged → Confirmed
Revision history for this message
thecalbear@gmail.com (lethalfang) wrote :

I was experiencing the Signal 11 crash from the default Kile in Jaunty as well, and I downloaded the experimental Kile provided by Andreas Wenning here. It seemed to have improved on the frequency of crash: now it crashes *only after* I quit Kile. I've used it for a while now, and I haven't experienced crashes when I'm working on Kile, so that's a great thing. Now the crash is only a "nuisance."

But here is an interesting thing:
After I quit Kile, "pgrep kile" still yields a Process ID, until the Signal 11 crash message appears.
If I re-open Kile before the Signal 11 message appears, the Signal 11 message will appear and Kile will fail to open this one time. Then, "pgrep kile" will yield nothing, and opening Kile again will be fine.
If I do not try to re-open Kile after quitting Kile (but apparently not completely since pgrep kile still yields the same Process ID), the Signal 11 message will appear at a random time later.

Revision history for this message
Andreas Wenning (andreas-wenning) wrote :

I have the same experience. The crash-on-exit seems to be delayed some times. In half the cases it crashes right after i exit kile; and in the other half it crashes later (the kile process is still running in the background).

Revision history for this message
Thomas Braun (tbraun1234) wrote : extragear/office/kile/src

SVN commit 962946 by tbraun:

Don't use this as parent as it crashes then on ubuntu jaunty.
I verified this on kubuntu using QT 4.5.
With debian lenny and qt 4.4.3 it does not crash.

Any explanations why this fix works are very appreciated ;)

BUG: 190326
CCBUG: 190483
CCMAIL: <email address hidden>

 M +4 -4 kile.cpp

--- trunk/extragear/office/kile/src/kile.cpp #962945:962946
@@ -1031,10 +1031,10 @@

 void Kile::initSelectActions(){

- m_compilerActions = new ToolbarSelectAction(i18n("Compile"), this);
- m_viewActions = new ToolbarSelectAction(i18n("View"), this);
- m_convertActions = new ToolbarSelectAction(i18n("Convert"), this);
- m_quickActions = new ToolbarSelectAction(i18n("Quick"), this);
+ m_compilerActions = new ToolbarSelectAction(i18n("Compile"), m_mainWindow);
+ m_viewActions = new ToolbarSelectAction(i18n("View"), m_mainWindow);
+ m_convertActions = new ToolbarSelectAction(i18n("Convert"), m_mainWindow);
+ m_quickActions = new ToolbarSelectAction(i18n("Quick"), m_mainWindow);

  actionCollection()->addAction("list_compiler_select", m_compilerActions);
  actionCollection()->addAction("list_convert_select", m_convertActions);

Changed in kile (Ubuntu):
assignee: nobody → Andreas Wenning (andreas-wenning)
status: Confirmed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kile - 1:2.1.0~svn963524-1ubuntu1

---------------
kile (1:2.1.0~svn963524-1ubuntu1) karmic; urgency=low

  * Merge from debian unstable, remaining changes:
    - debain/control: Don't suggest kile-i18n
    - debian/kile-doc.install: Install to /usr/share/doc/kde/HTML
  * Includes updated svn snapshot:
    - Fixes crash on exit. (LP: #357016)
    - Fixes for quick-build actions. (LP: #956878)
  * debian/control: Make kile suggest a spell-check dictionary
    (aspell | ispell | hspell). (LP: #369871)

kile (1:2.1.0~svn963524-1) unstable; urgency=low

  * New svn snapshot from svn revision 963524:
    - Fix opening configure shortcuts window pins CPU at 100% (Closes: #519746)
    - Fix inverse dvi search causes status bar corruption (Closes: #522599)
    - Fix provides an empty path when executing external programs
      (Closes: #526582)
  * Update debian/kile.docs: remove Building-with-cmake.txt file

 -- Andreas Wenning <email address hidden> Fri, 08 May 2009 01:25:17 +0200

Changed in kile (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Yuriy Kozlov (yuriy-kozlov) wrote :

This might have something to do with bug 403361. Have you figured out what the actual problem is and why the fix works?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.