netbook-launcher crashed with SIGSEGV in clutter_actor_get_preferred_width()

Bug #421375 reported by Matthew Lancey
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
CluTK
In Progress
Critical
Jason Smith
Ubuntu Netbook Remix Launcher
Opinion
High
Jason Smith
netbook-launcher (Ubuntu)
Won't Fix
High
Unassigned
Nominated for Karmic by Paul Larson

Bug Description

Binary package hint: netbook-launcher

Crash occurred just after switching from netbook interface to normal ubuntu desktop layout

ProblemType: Crash
Architecture: i386
CrashCounter: 1
Date: Sun Aug 30 18:20:29 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/netbook-launcher
Package: netbook-launcher 2.1.5-0ubuntu2
ProcCmdline: netbook-launcher
ProcEnviron:
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-8.28-generic
SegvAnalysis:
 Segfault happened at: 0x2de208: testb $0x8,0x35(%ecx)
 PC (0x002de208) ok
 source "$0x8" ok
 destination "0x35(%ecx)" (0xaaaaaadf) not located in a known VMA region (needed writable region)!
SegvReason: writing unknown VMA
Signal: 11
SourcePackage: netbook-launcher
StacktraceTop:
 ?? () from /usr/lib/libpango-1.0.so.0
 ?? () from /usr/lib/libclutter-glx-1.0.so.0
 clutter_actor_get_preferred_width ()
 clutter_actor_get_width ()
 clutter_actor_get_size ()
Tags: ubuntu-unr
Title: netbook-launcher crashed with SIGSEGV in clutter_actor_get_preferred_width()
Uname: Linux 2.6.31-8-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Matthew Lancey (infinitejones) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt (retraced)

StacktraceTop:pango_layout_get_extents_internal (layout=0xaaaaaaaa,
?? () from /usr/lib/libclutter-glx-1.0.so.0
clutter_actor_get_preferred_width ()
clutter_actor_get_width ()
clutter_actor_get_size ()

Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt (retraced)
Changed in netbook-launcher (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
Revision history for this message
Neil J. Patel (njpatel) wrote :

Looks like CtkButton needs to be a bit weary about sending -1 as the for_width variable to CtkText (and in turn, ClutterText). Worth investigating to see if we can avoid this, or finding out why Pango has an issue in that function.

Changed in clutk:
assignee: nobody → Jason Smith (jassmith)
importance: Undecided → Critical
Paul Larson (pwlars)
Changed in netbook-launcher (Ubuntu):
importance: Medium → High
status: New → Triaged
visibility: private → public
Neil J. Patel (njpatel)
Changed in clutk:
status: New → In Progress
Revision history for this message
Jason Smith (jassmith) wrote :

This bug is a result of a bug in pango. I have only managed to reproduce the bug once and have had a heck of a time tracking it down from there. To reproduce it, run unr in a virtual machine and keep resizing the VM's screen for 20 or 30 minutes. Eventually it will die, hopefully with this.

The issue is in pango-layout.c in the pango source dir. There are two distinct blocks of code that act on width == -1. The first one recursively calls the extents call again, we dont see this in the trace however so likely this is not the issue. The second block is bigger and does a max on some structures, one of them is a pointer to a place on the heap. I believe this structure is somehow ending up as garbage, but looking at the code I do not see how.

To look at where I *think* the problem is, pango-layout.c:2538

David Barth (dbarth)
Changed in netbook-remix-launcher:
assignee: nobody → Jason Smith (jassmith)
importance: Undecided → High
status: New → Triaged
Revision history for this message
Rolf Leggewie (r0lf) wrote :

netbook-launcher is part of lucid Desktop and no longer supported

Changed in netbook-remix-launcher:
status: Triaged → Opinion
Changed in netbook-launcher (Ubuntu):
status: Triaged → Won't Fix
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.