Review Request: Amarok crash closing USB device

Ralf Engels ralf-engels at gmx.de
Mon May 16 20:19:26 CEST 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/101363/#review3349
-----------------------------------------------------------

Ship it!


Yes, the media collections are a mess.
Still, a nice catch.

- Ralf


On May 14, 2011, 3:42 p.m., Matthieu Pupat wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/101363/
> -----------------------------------------------------------
> 
> (Updated May 14, 2011, 3:42 p.m.)
> 
> 
> Review request for Amarok.
> 
> 
> Summary
> -------
> 
> I have looked into https://bugs.kde.org/show_bug.cgi?id=232051 a bit and there are different places where the crash
> happens although one is far more common. I attach a patch with a preliminary
> fix. From experience it now crashes 20% of the time when unplugging once
> scanning. There might be a drawback to the patch as Amarok crashed once when
> unplugging the device long after it had been scanned.
> 
> 
> This addresses bug 232051.
>     https://bugs.kde.org/show_bug.cgi?id=232051
> 
> 
> Diffs
> -----
> 
>   src/core-impl/collections/mediadevicecollection/handler/MediaDeviceHandler.cpp c6b5f79 
> 
> Diff: http://git.reviewboard.kde.org/r/101363/diff
> 
> 
> Testing
> -------
> 
> Plugging and unplugging media player device when scanning numerous times.
> 
> 
> Thanks,
> 
> Matthieu
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/amarok-devel/attachments/20110516/4f35131d/attachment.htm 


More information about the Amarok-devel mailing list