Bug 720

Summary: udev doesn't set up proper ACLs for "Sony Walkman NWZ-E445"
Product: Mageia Reporter: Thierry Vignaud <thierry.vignaud>
Component: RPM PackagesAssignee: D Morgan <dmorganec>
Status: RESOLVED OLD QA Contact:
Severity: normal    
Priority: Normal CC: dmorganec, marja11, sfietkonstantin, thierry.vignaud
Version: CauldronKeywords: NEEDINFO
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard: OK
Source RPM: udev CVE:
Status comment:
Bug Depends on: 628    
Bug Blocks:    

Description Thierry Vignaud 2011-04-08 15:49:53 CEST
+++ This bug was initially created as a clone of Bug #628 +++

Description of problem:
When I use Amarok (with MTP plugin enabled) or MTP command lines directly, libusb crash with segmentation fault.

I used GDB to get a trace.

Version-Release number of selected component (if applicable):
libusb 1.0.8-1

How reproducible:
Every time

Steps to Reproduce:
1. Plug a Walkman (for example)
2. Execute mtp-files
3. Get a Crash

OR 
1. Connect a USB device (even a mouse)
2. Start Amarok with MTP enabled

---------------------
Traces :

Without GDB :
> mtp-files

libmtp version: 1.0.4

libusb couldn't open USB device /dev/bus/usb/005/003: Permission denied.
libusb requires write access to USB device nodes.
libusb couldn't open USB device /dev/bus/usb/006/002: Permission denied.
libusb requires write access to USB device nodes.
Device 0 (VID=054c and PID=03fd) is a Sony Walkman NWZ-E445.
libusb couldn't open USB device /dev/bus/usb/002/005: Permission denied.
libusb requires write access to USB device nodes.
Erreur de segmentation

With GDB :
Starting program: /usr/bin/mtp-files 
[Thread debugging using libthread_db enabled]
libmtp version: 1.0.4

libusb couldn't open USB device /dev/bus/usb/005/003: Permission denied.
libusb requires write access to USB device nodes.
libusb couldn't open USB device /dev/bus/usb/006/002: Permission denied.
libusb requires write access to USB device nodes.
Device 0 (VID=054c and PID=03fd) is a Sony Walkman NWZ-E445.
libusb couldn't open USB device /dev/bus/usb/002/005: Permission denied.
libusb requires write access to USB device nodes.

Program received signal SIGSEGV, Segmentation fault.
0xb7e19957 in usb_bulk_io (dev=0x0, ep=2, bytes=0x8073050 "\020", size=16, timeout=10000) at core.c:751
751             r = libusb_bulk_transfer(dev->handle, ep & 0xff, bytes, size,

With Amarok :
ibusb couldn't open USB device /dev/bus/usb/005/003: Permission denied.
libusb requires write access to USB device nodes.
libusb couldn't open USB device /dev/bus/usb/006/002: Permission denied.
libusb requires write access to USB device nodes.
Device 0 (VID=054c and PID=03fd) is a Sony Walkman NWZ-E445.
libusb couldn't open USB device /dev/bus/usb/002/005: Permission denied.
libusb requires write access to USB device nodes.
KCrash: Application 'amarok' crashing...


Reproducible: 

Steps to Reproduce:
Thierry Vignaud 2011-04-08 15:50:02 CEST

Source RPM: libmtp-utils => udev

Thierry Vignaud 2011-04-08 15:50:20 CEST

Assignee: bugsquad => dmorganec

Comment 1 Ahmad Samir 2011-04-28 22:04:37 CEST
blino thinks this is a dupe of bug 314.
Comment 2 Thierry Vignaud 2011-04-29 01:48:34 CEST
rpm -q udev?
Are you running in virtualbox?
Comment 3 Ahmad Samir 2011-04-29 04:08:25 CEST
To comment#2:
(I've already asked the same question in bug 628 (same OP)).
Comment 4 Marja Van Waes 2011-10-09 15:05:53 CEST
@ Thierry @ D Morgan

Probably no point in asking for new info about this bug, since it depends on 628, but if anything changed, please add a comment

CC: (none) => marja11

Comment 5 Marja Van Waes 2012-01-12 21:07:45 CET
@ D Morgan

Do you mind putting "OK" on the whiteboard if you think this bug was assigned to you correctly? That way I won't see it again next time I search for NEW or REOPENED bugs that didn't see any action in more than 3 months (because I exclude the "OK" ones)
D Morgan 2012-01-12 21:23:26 CET

Whiteboard: (none) => OK

Comment 6 D Morgan 2012-02-11 08:48:19 CET
is this bug still valid on cauldron with latest udev ?
Marja Van Waes 2012-02-11 11:33:51 CET

Keywords: (none) => NEEDINFO

Comment 7 Lucien XU 2012-02-12 13:47:35 CET
Since I do not have the Walkman anymore, I'm not sure if this bug is still valid. Maybe fix as INVALID and repoen later ?
Comment 8 Marja Van Waes 2012-02-12 16:10:55 CET
(In reply to comment #7)
> Since I do not have the Walkman anymore, I'm not sure if this bug is still
> valid. Maybe fix as INVALID and repoen later ?

Thanks for the feedback, Lucien.

Resolved as OLD then. To be reopened if someone tells us the answer to comment 6 is yes

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