RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 558143 - Crashes when ejecting libmtp device
Summary: Crashes when ejecting libmtp device
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: rhythmbox
Version: 6.0
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Bastien Nocera
QA Contact: desktop-bugs@redhat.com
URL:
Whiteboard: abrt_hash:6acc6f9e5380cd3fc1bace2a39e...
: 572335 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-23 21:55 UTC by Matěj Cepl
Modified: 2010-11-15 14:44 UTC (History)
4 users (show)

Fixed In Version: rhythmbox-0.12.8-1.el6
Doc Type: Rebase: Bug Fixes and Enhancements
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-15 14:44:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
File: backtrace (44.01 KB, text/plain)
2010-01-23 21:55 UTC, Matěj Cepl
no flags Details
another backtrace (1.42 KB, text/plain)
2010-03-17 22:52 UTC, Matěj Cepl
no flags Details
another backtrace (4.66 KB, text/plain)
2010-03-17 22:52 UTC, Matěj Cepl
no flags Details
another backtrace (2.90 KB, text/plain)
2010-03-17 22:53 UTC, Matěj Cepl
no flags Details
another backtrace (2.49 KB, text/plain)
2010-03-17 22:53 UTC, Matěj Cepl
no flags Details
another output from rhythmbox -d (110.99 KB, text/plain)
2010-03-17 22:56 UTC, Matěj Cepl
no flags Details
another output from rhythmbox -d (2.14 MB, text/plain)
2010-03-17 22:56 UTC, Matěj Cepl
no flags Details

Description Matěj Cepl 2010-01-23 21:55:44 UTC
abrt 1.0.0 detected a crash.

How to reproduce
-----
1.connect Nokia E63 (in Music Player mode) to the computer via USB
2.do some copying back and forth
3.eject the USB connection (button in RB)

Attached file: backtrace
cmdline: rhythmbox
component: rhythmbox
executable: /usr/bin/rhythmbox
kernel: 2.6.32-8.el6.x86_64
package: rhythmbox-0.12.6-5.el6
rating: 4
reason: Process was terminated by signal 11

Comment 1 Matěj Cepl 2010-01-23 21:55:48 UTC
Created attachment 386384 [details]
File: backtrace

Comment 3 RHEL Program Management 2010-01-23 22:25:49 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 4 Bastien Nocera 2010-02-15 15:47:25 UTC
Either there's garbage in the MTP structures, or the transfer isn't actually finished.

Try reproducing the problem under valgrind, and please provide a rhythmbox debug log when reproducing.

Comment 5 Matěj Cepl 2010-03-10 21:34:27 UTC
*** Bug 572335 has been marked as a duplicate of this bug. ***

Comment 6 Matěj Cepl 2010-03-17 22:52:40 UTC
Created attachment 400906 [details]
another backtrace

Comment 7 Matěj Cepl 2010-03-17 22:52:51 UTC
Created attachment 400907 [details]
another backtrace

Comment 8 Matěj Cepl 2010-03-17 22:53:01 UTC
Created attachment 400908 [details]
another backtrace

Comment 9 Matěj Cepl 2010-03-17 22:53:11 UTC
Created attachment 400909 [details]
another backtrace

Comment 10 Matěj Cepl 2010-03-17 22:56:00 UTC
Created attachment 400910 [details]
another output from rhythmbox -d

Comment 11 Matěj Cepl 2010-03-17 22:56:19 UTC
Created attachment 400911 [details]
another output from rhythmbox -d

Comment 12 Matěj Cepl 2010-03-17 23:09:09 UTC
I have tried couple of times to run

valgrind rhythmbox

and then

rhythmbox -d

and this is what I've got. Surprisingly, I am not able to reproduce the crash in the same manner as before (maybe it has something to do with abrt being broken on my computer, so I get only coredumps in my $HOME) -- rhythmbox window never went away completely. However, I've got these coredumps so something is crashing.

It might have something to do also with SELinux and bug 573588 (the promised update of selinux-policy still didn't make it into brew). However, all these tests were done with SELinux/Permissive, so it shouldn't affect the tests. Putting Dan on CC anyway, in case there is still something for him here.

Comment 13 Bastien Nocera 2010-06-01 18:31:57 UTC
LIBMTP PANIC: Could not open session! (Return code 765)
  Try to reset the device.
LIBMTP PANIC: Trying to get the error stack of a NULL device!
LIBMTP PANIC: Trying to clear the error stack of a NULL device!

Stupid library...

Comment 15 Bastien Nocera 2010-06-25 14:58:10 UTC
Intending to rebase to 0.12.8 + cherry-picks

Comment 17 Bastien Nocera 2010-06-25 17:15:26 UTC
Fixed in rhythmbox-0.12.8-1.el6

Comment 20 Matěj Cepl 2010-10-12 13:19:45 UTC
I don't have RHEL6 anymore, but I haven't seen this RB crash for some time already. Not that connecting to USB phone works, but at least it doesn't crash anymore.

Comment 22 releng-rhel@redhat.com 2010-11-15 14:44:08 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.


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