Crashes on startup if shows "required directories missing" dialog
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Nautilus |
Fix Released
|
Critical
|
|||
nautilus (Ubuntu) |
Fix Released
|
Medium
|
Robert Ancell |
Bug Description
[Impact]
If nautilus fails to find the directories it requires on startup it attempts to show a dialog describing this and crashes due to following code assuming this dialog is a file browser window.
[Test Case]
1. Create a test account
2. Log into this account from a text terminal
3. Create an invalid nautilus configuration directory:
$ mkdir .config
$ touch .config/nautilus
4. Log into this account from the greeter
Expected result:
You arrive at the users desktop
Observed result:
You arrive at the users desktop but background icons are not shown. A blank dialog pops up momentarily then a crash report dialog. The blank dialog periodically pops up again (as nautilus attempts to restart).
[Regression Potential]
There is a low risk that the proposed fix could cause other unforceen bugs.
information type: | Private → Public |
tags: | added: apport-request-retrace |
tags: | added: bugpattern-needed |
tags: | added: ubuntu-desktop-trusty |
Changed in nautilus (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in nautilus (Ubuntu): | |
status: | Triaged → In Progress |
assignee: | nobody → Robert Ancell (robert-ancell) |
Changed in nautilus: | |
importance: | Unknown → Medium |
status: | Unknown → New |
Changed in nautilus: | |
importance: | Medium → Critical |
status: | New → Fix Released |
tags: |
added: verification-done removed: verification-needed |
StacktraceTop: <optimized out>, __size=2, __nmemb=50, __base=0xb6928380 <locale_index>, __key=<optimized out>) at /usr/include/ i386-linux- gnu/bits/ stdlib- bsearch. h:28 item_id_ for_one_ locale (key=0xb69282d6 <__FUNCTION_ _.6173+ 14> "t", item_id=0x6) at /build/ buildd/ glib2.0- 2.39.91/ ./glib/ gtranslit. c:174
bsearch (__compar=
lookup_
?? ()