Unity panel crashes when switching tabs in Kile

Bug #1213829 reported by Floris Van den Abeele
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Unity
Won't Fix
Medium
Unassigned
unity (Ubuntu)
Won't Fix
Medium
Unassigned

Bug Description

When editing multiple documents in Kile, switching tabs inside Kile by left clicking on the tab makes the panel disappear and then reappear (this takes 1 second or so). This is also accompanied by a CPU load spike (whether due to the crash or the restarting of the panel service I cannot say).

Some additional information about the ubuntu/unity/kile I'm running:
lsb_release -rd
Description: Ubuntu 12.04.2 LTS
Release: 12.04

apt-cache policy unity
unity:
  Installed: 5.20.0-0ubuntu2
  Candidate: 5.20.0-0ubuntu2
  Version table:
 *** 5.20.0-0ubuntu2 0
        500 http://be.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     5.10.0-0ubuntu6 0
        500 http://be.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages

apt-cache policy kile
kile:
  Installed: 1:2.1.0-1ubuntu2.1
  Candidate: 1:2.1.0-1ubuntu2.1
  Version table:
 *** 1:2.1.0-1ubuntu2.1 0
        500 http://be.archive.ubuntu.com/ubuntu/ precise-updates/universe amd64 Packages
        100 /var/lib/dpkg/status
     1:2.1.0-1ubuntu2 0
        500 http://be.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: unity-services 5.20.0-0ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-51.77-generic 3.2.48
Uname: Linux 3.2.0-51-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.4
Architecture: amd64
CompizPlugins: [core,composite,opengl,decor,compiztoolbox,move,resize,place,vpswitch,session,snap,imgpng,mousepoll,grid,gnomecompat,wall,regex,put,unitymtgrabhandles,animation,workarounds,fade,expo,scale,ezoom,unityshell]
CrashCounter: 1
Date: Wed Aug 14 11:23:27 2013
ExecutablePath: /usr/lib/unity/unity-panel-service
ExecutableTimestamp: 1373299899
MarkForUpload: True
ProcCmdline: /usr/lib/unity/unity-panel-service
ProcCwd: /
SegvAnalysis:
 Segfault happened at: 0x4063c5: cmp %rax,(%rdx)
 PC (0x004063c5) ok
 source "%rax" ok
 destination "(%rdx)" (0xffffffffffffffff) not located in a known VMA region (needed writable region)!
SegvReason: writing unknown VMA
Signal: 11
SourcePackage: unity
StacktraceTop:
 ?? ()
 ?? () from /usr/lib/x86_64-linux-gnu/gtk-3.0/modules/libatk-bridge.so
 g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
 ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
 g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
Title: unity-panel-service crashed with SIGSEGV in g_main_context_dispatch()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Revision history for this message
Floris Van den Abeele (florisvda) wrote :
information type: Private → Public
description: updated
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 panel_indicator_entry_accessible_get_n_children (accessible=<optimized out>) at /build/buildd/unity-5.20.0/services/panel-indicator-entry-accessible.c:256
 append_children (traversal=0x1a35e40, accessible=0x3624dc0) at ../../atk-adaptor/accessible-cache.c:235
 add_pending_items (data=<optimized out>) at ../../atk-adaptor/accessible-cache.c:291
 ?? ()
 ?? ()

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in unity (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity (Ubuntu):
status: New → Confirmed
Revision history for this message
Svenn-Arne Dragly (dragly) wrote :

A workaround that disables the global menubar and enables the menu bar in Kile is to do as follows:

Open ~/.kde/share/config/kilerc and change the following line:

    MenuBar=Disabled

to

    MenuBar=Enabled

After this, launch Kile from Terminal by typing

    QT_X11_NO_NATIVE_MENUBAR=1 kile

This should keep the unity-panel-service from crashing and restarting.

Revision history for this message
Floris Van den Abeele (florisvda) wrote :

I can confirm that the workaround from post #7 works (at least for my system). Thanks Svenn!

Revision history for this message
Paolo Penna (paolo-penna) wrote :

Unfortunately a side-effect of workaround from post #7 is that the menubar desappears (at least in my case - Ubuntu 12.04). Thanks to Svenn anyway.

Revision history for this message
sam (samer-mirror) wrote :

The workaround of #7 works, and in my case the menubar does not disappear as #9 says (Ubuntu 12.04, Kile 2.1.0, KDE 4.8.5).

Revision history for this message
sam (samer-mirror) wrote :

Ops, after further testing, the issue of #9 does happen in my system also. It was not happening yesterday though. My apologies.
(Ubuntu 12.04, Kile 2.1.0, KDE 4.8.5).

Changed in unity:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Will Cooke (willcooke) wrote :

As part of the big bug clear up for 16.04 LTS I am marking this bug as Wont Fix.
These types of crasher are better handled by errors.ubutnu.com which can collate similar crash reports to help us identify persitent bugs rather than one-off crashes.
Sorry we are not able to help with this specific issue. If you are still experiencing this crash, please re-open the bug and add the tag "desktop-bugscrub-reopened". See https://wiki.ubuntu.com/BigDesktopBugScrub for more information.

Changed in unity:
status: Confirmed → Won't Fix
Changed in unity (Ubuntu):
status: Confirmed → Won't Fix
tags: added: desktop-bugscrub-autoclosed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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