unity8 crashed with SIGSEGV in g_shell_quote()

Bug #1304315 reported by Alan Pope 🍺🐧🐱 🦄
28
This bug affects 3 people
Affects Status Importance Assigned to Milestone
unity-mir (Ubuntu)
Fix Released
Undecided
Ted Gould
unity8 (Ubuntu)
Invalid
Medium
Unassigned
upstart-app-launch (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Fresh wipe flash of #281 on mako
Added a U1 and 2xGoogle accounts in system settings
Installed a bunch of webapps (BBC news, sport and others)
Final one to install was G+, in app preview, clicked "open" after install and it blew up unity.

ProblemType: Crash
DistroRelease: Ubuntu 14.04
Package: unity8 7.85+14.04.20140404-0ubuntu1
Uname: Linux 3.4.0-5-mako armv7l
Architecture: armhf
CurrentDesktop: Unity
Date: Tue Apr 8 09:51:06 2014
ExecutablePath: /usr/bin/unity8
ExecutableTimestamp: 1396625563
ProcCmdline: unity8
ProcCwd: /home/phablet
Signal: 11
SourcePackage: unity8
Stacktrace:
 #0 0xb5ed4432 in g_shell_quote () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
 No symbol table info available.
 #1 0xac0619ae in ?? () from /usr/lib/arm-linux-gnueabihf/libupstart-app-launch.so.2
 No symbol table info available.
 Backtrace stopped: previous frame identical to this frame (corrupt stack?)
StacktraceTop:
 g_shell_quote () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
 ?? () from /usr/lib/arm-linux-gnueabihf/libupstart-app-launch.so.2
UserGroups: adm autopilot cdrom dialout dip nopasswdlogin plugdev sudo tty video

Related branches

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 g_shell_quote () from /tmp/apport_sandbox_5Mwx75/lib/arm-linux-gnueabihf/libglib-2.0.so.0
 app_uris_string () from /tmp/apport_sandbox_5Mwx75/usr/lib/arm-linux-gnueabihf/libupstart-app-launch.so.2
 start_application_core () from /tmp/apport_sandbox_5Mwx75/usr/lib/arm-linux-gnueabihf/libupstart-app-launch.so.2
 unitymir::upstart::ApplicationController::startApplicationWithAppIdAndArgs(QString const&, QStringList const&) () from /tmp/apport_sandbox_5Mwx75/usr/lib/arm-linux-gnueabihf/unity8/qml/Unity/Application/libunityapplicationplugin.so
 unitymir::Application::respawn() () from /tmp/apport_sandbox_5Mwx75/usr/lib/arm-linux-gnueabihf/unity8/qml/Unity/Application/libunityapplicationplugin.so

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 unity8 (Ubuntu):
importance: Undecided → Medium
tags: removed: need-armhf-retrace
Michał Sawicz (saviq)
information type: Private → Public
Revision history for this message
Michał Sawicz (saviq) wrote :

Looks like there was a problem with quoting between unity-mir and libupstart-app-launch.

Changed in unity8 (Ubuntu):
status: New → Incomplete
Revision history for this message
Michał Sawicz (saviq) wrote :

Couldn't reproduce, though.

Revision history for this message
Michał Sawicz (saviq) wrote :

The Exec line from the google webapp is:

Exec=aa-exec-click -p net.launchpad.click-webapps.googleplus_googleplus_6 -- webapp-container --enable-back-forward --webappUrlPatterns=https://plus.google.*/*,https://accounts.google.*/* https://plus.google.com

So it might be asterisks are problematic?

Ted Gould (ted)
Changed in upstart-app-launch (Ubuntu):
status: New → Invalid
Changed in unity-mir (Ubuntu):
status: New → In Progress
assignee: nobody → Ted Gould (ted)
Changed in unity8 (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-mir - 0.3+14.04.20140417-0ubuntu1

---------------
unity-mir (0.3+14.04.20140417-0ubuntu1) trusty; urgency=low

  [ Ted Gould ]
  * Ensure the last item of the array is NULL (LP: #1304315)
 -- Ubuntu daily release <email address hidden> Thu, 17 Apr 2014 07:04:52 +0000

Changed in unity-mir (Ubuntu):
status: In Progress → Fix Released
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.