Crash in upstart_app_launch_start_application in g_strjoinv
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-mir |
New
|
High
|
Gerry Boland |
Bug Description
Steps to repro:
1. Have shell running
2. On device as phablet user, run "gallery-app --desktop_
3. left edge swipe to return to dash
4. Hit Ctrl+C to stop gallery-app
5. Tap the GalleryApp running tile to restore the app
Expected result
Gallery app relaunched, and appears on screen eventually
Actual result
Crash
Backtrace:
#0 strlen () at ../ports/
#1 0x41ebbd12 in g_strjoinv () from /lib/arm-
#2 0x420cfc8e in upstart_
#3 0x4363bf1e in startApplication () from /usr/lib/
Changed in unity-mir: | |
assignee: | nobody → Gerry Boland (gerboland) |
importance: | Undecided → High |
Appears if shell passes an empty argument string to unity-mir, libupstart- app-launch chokes on it. Checking if
QString( "").toLatin1( ).data( )
actually is a valid char* string. Or else g_strjoinv is unforgiving for empty strings, and unity-mir will need to strip them from the arguments list.