Bug 780175

Summary: Recent glib2 update causes nautilus-open-terminal to crash
Product: [openSUSE] openSUSE 12.2 Reporter: Atri Bhattacharya <badshah400>
Component: GNOMEAssignee: Dominique Leuenberger <dimstar>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Critical    
Priority: P5 - None CC: dimstar, forgotten_xn0apBWtki, martin.jakl, meissner
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 12.2   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: strace output from running nautilus and causing the crash

Description Atri Bhattacharya 2012-09-13 09:46:32 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.22+ (KHTML, like Gecko) Chromium/17.0.963.56 Chrome/17.0.963.56 Safari/535.22+ SUSE/12.2 (3.4.2) Epiphany/3.4.2

After installing the recent glib2 update, opening a terminal by right clicking on the file browser and selecting "Open a terminal" causes a terminal to open and crash immediately. Opening a terminal from the desktop menus etc works fine though. The nautilus-open-terminal thing used to work fine prior to installing the glib2 update. Indeed, downgrading glib2 back to the original 12.2 version makes the crashing terminal problem go away as well.

changelog for recent glib2 update:-
30 August 2012 (dimstar@opensuse.org):
- Add glib2-cmdline-parser.patch: Fix parsing of comments in
command lines (bgo#562907, bnc#774564)

Reproducible: Always

Steps to Reproduce:
1.Install all updates from the update channel (including glib2)
2.Close all nautilus windows and open a new nautilus window
3.Right click and select "Open in terminal"
Actual Results:  
Terminal opens and crashes immediately.

Expected Results:  
No crash
Comment 1 Dominique Leuenberger 2012-09-13 09:49:33 UTC
Can you get any debug information? Stack Traces? Error messages?
Comment 2 Vincent Untz 2012-09-13 10:20:43 UTC
*** Bug 779998 has been marked as a duplicate of this bug. ***
Comment 3 Atri Bhattacharya 2012-09-13 11:07:19 UTC
Created attachment 505571 [details]
strace output from running nautilus and causing the crash

I was look for error messages, but there don't seem to be any at all. I have attached the strace log from running nautilus and causing the terminal crash.
Comment 4 Dominique Leuenberger 2012-09-13 17:37:13 UTC
Can you try a simple rebuild of nautilus-open-terminal against the new glib?
Comment 5 Atri Bhattacharya 2012-09-13 21:34:21 UTC
I did that, in a branch project. However, that didn't help. The crashes still occur as mentioned above. Additionally, gdb gives nothing either :(
Comment 6 Dominique Leuenberger 2012-09-13 21:39:03 UTC
Thanks for the test...
as an other confirmation: the exact same behaviour sneaked into GNOME:STABLE:3.6 (and thus also GNOMe:Factory).
Comment 7 Dominique Leuenberger 2012-09-14 09:27:16 UTC
A very quick idea to test:
Can you please give the packages in http://download.opensuse.org/repositories/home:/dimstar:/bnc780174/standard/ a swirl?
Comment 8 Atri Bhattacharya 2012-09-14 09:47:10 UTC
Hi Dimstar!
Thanks a lot. Your packages in c7 indeed fixes the problem. No more crash on right click -> open terminal from nautilus.
Comment 9 Dominique Leuenberger 2012-09-14 09:57:37 UTC
Thanks...

@maintenance: I guess no objections of pushing this? All fixes from the previous update are included, plus 'some more' (addressing the regression introduced)
Comment 10 Marcus Meissner 2012-09-14 09:59:18 UTC
please do.
Comment 11 Dominique Leuenberger 2012-09-14 10:49:35 UTC
Request: #134252

  maintenance_incident: home:dimstar:bnc780174/glib2 -> openSUSE:Maintenance (release in openSUSE:12.2:Update)


Message:
Fix the regression introduced with the latest glib update... Addresses bnc#780175

State:   new        2012-09-14T12:49:06 dimstar
Comment: <no comment>
Comment 12 Benjamin Brunner 2012-09-17 11:45:56 UTC
Update released for 12.2. Resolved fixed.
Comment 13 Swamp Workflow Management 2012-09-17 12:10:26 UTC
openSUSE-RU-2012:1188-1: An update that has two recommended fixes can now be installed.

Category: recommended (important)
Bug References: 780174,780175
CVE References: 
Sources used:
openSUSE 12.2 (src):    glib2-2.32.4-4.8.1