Bug 15453 - mate-user-share crashes caja when caja opens the "~/Downloads" directory
Summary: mate-user-share crashes caja when caja opens the "~/Downloads" directory
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 4
Hardware: All Linux
Priority: Normal critical
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: advisory
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2015-03-08 20:13 CET by Nathan Owens
Modified: 2015-04-15 18:08 CEST (History)
4 users (show)

See Also:
Source RPM: mate-user-share
CVE:
Status comment:


Attachments

Description Nathan Owens 2015-03-08 20:13:28 CET
Description of problem:
When opening the ~/Downloads directory, caja crashes. I'm running Mate. According to https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=1031307, it's a problem with mate-user-share. It seems like there's a fix for it in that bug report as well.

When I uninstall mate-user-share, the problem goes away, but now I can no longer use mate-user-share.

Version-Release number of selected component (if applicable):
mate-user-share-1.6.1-1.mga4
mate-file-manager-1.6.3-1.1.mga4

How reproducible:
Every time, even with a newly-created user.

Steps to Reproduce:
1. Install mate-user-share-1.6.1-1.mga4
2. Open the Mate file manager (caja)
3. Go to the ~/Downloads directory
4. Watch caja crash



Reproducible: 

Steps to Reproduce:
Nathan Owens 2015-03-08 20:18:53 CET

CC: (none) => pianocomp81

Thierry Vignaud 2015-03-09 06:30:27 CET

Assignee: bugsquad => tarakbumba
Source RPM: (none) => mate-user-share

Comment 1 Atilla ÖNTAŞ 2015-03-09 13:52:15 CET
Thank you reporting. Relevant upstream issue is here: https://github.com/mate-desktop/mate-user-share/issues/18

And the commit which should fix this issue is here: https://github.com/mate-desktop/mate-user-share/commit/906172bb95b10dd064d0b0fde0d0510434d34b96

I' ll try to apply this commit to our package and provide an update hopefully tonight.
Comment 2 Atilla ÖNTAŞ 2015-03-09 22:09:53 CET
I have submitted mate-user-share-1.6.1-1.1.mga4 to core/updates_testing repository. This update include upstream patch which should fix your issue. Please test it if the issue resolves.
Comment 3 Nathan Owens 2015-03-12 16:18:55 CET
Thanks! I will test it in the next few days.
Comment 4 Atilla ÖNTAŞ 2015-03-23 10:29:43 CET
I have uploaded a patched package for Mageia 4.

Suggested advisory:
========================

Updated mate-user-share package fixes a critical crashing bug:

Before updated package, mate-user-share tries to use ~/Downloads folder for incoming bluetooth files altough mate-bluetooth is deprecated and doesn't included in repositories. So, without mate-bluetooth installed it crashes caja.

This update includes an upstream patch to fix this critical bug.

References:
https://github.com/mate-desktop/mate-user-share/issues/18
https://github.com/mate-desktop/mate-user-share/commit/906172bb95b10dd064d0b0fde0d0510434d34b96
https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=1031307
========================

Updated packages in core/updates_testing:
========================
mate-user-share-1.6.1-1.1.mga4

Source RPMs: 
mate-user-share-1.6.1-1.1.mga4.src.rpm

Hardware: x86_64 => All
Assignee: tarakbumba => qa-bugs

Comment 5 claire robinson 2015-04-10 20:05:42 CEST
Were you able to test the updated package Nathan?
Comment 6 Len Lawrence 2015-04-10 20:26:02 CEST
Have just tried this and caja still crashes on ~/Downloads.

CC: (none) => tarazed25

Comment 7 Len Lawrence 2015-04-10 20:29:48 CEST
And I can confirm that installing mate-bluetooth prevents the crash.  Will remove mate-bluetooth and await further developments.

Attila, are there any logs we can watch to help with debugging?
Comment 8 Len Lawrence 2015-04-10 20:33:55 CEST
Just found this in dmesg:

[170233.769058] caja[22942]: segfault at 9 ip 00007fc5ebb285b9 sp 00007fff0cb93130 error 4 in libgobject-2.0.so.0.3800.2[7fc5ebaf6000+4e000]
[170350.002778] caja[22995]: segfault at 9 ip 00007f15213295b9 sp 00007fff44f68570 error 4 in libgobject-2.0.so.0.3800.2[7f15212f7000+4e000]
Comment 9 Nathan Owens 2015-04-12 19:53:16 CEST
Sorry about taking so long to test this! Thanks for the reminder!

With and without mate-bluetooth installed, it's not crashing for me. After installing mate-user-share-1.6.1-1.1.mga4 (x86_64), I restarted the X server and logged back into mate. Opening the ~/Downloads directory didn't crash caja. mate-bluetooth was not installed (gnome-bluetooth is, though I don't know if that makes a difference; I didn't want to uninstall it because I sometimes play around with gnome).

I did install mate-bluetooth after that initial test just to see if it made a difference. Opening ~/Downloads still doesn't crash caja (not that it ever did).


Since I'm not seeing a problem with the test package, but Len is, could some other package be interferring? Except for this one mate-user-share package, I'm running standard Mageia 4, fully updated.
Comment 10 Len Lawrence 2015-04-13 10:43:48 CEST
Now it does not crash for me either.  I had not thought to restart the X server.
Atilla ÖNTAŞ 2015-04-15 14:31:48 CEST

CC: (none) => tarakbumba

Comment 11 Atilla ÖNTAŞ 2015-04-15 14:36:21 CEST
Hi, indeed user should logout and log back in to the desktop to unload/load mate-user-share. Since, all you said that the main problem is fixed (?) then please validate. Thank you for testing this update. :)
Comment 12 claire robinson 2015-04-15 14:44:30 CEST
Thanks for confirming Atilla.
Comment 13 claire robinson 2015-04-15 14:49:29 CEST
Two confirmations so validating. 
Advisory uploaded.

Please push to 4 updates

Thanks

Keywords: (none) => validated_update
Whiteboard: (none) => advisory
CC: (none) => sysadmin-bugs

Comment 14 Mageia Robot 2015-04-15 18:08:29 CEST
An update for this issue has been pushed to Mageia Updates repository.

http://advisories.mageia.org/MGAA-2015-0037.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.