Bug 405954

Summary: "slotSolidDeviceChanged" messages forever after plugging in/out USB drive
Product: [Applications] digikam Reporter: Victor Engmark <kde.org>
Component: Database-MediaAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles, metzpinguin
Priority: NOR    
Version First Reported In: 6.0.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.2.0
Sentry Crash Report:

Description Victor Engmark 2019-03-28 06:04:47 UTC
SUMMARY

After plugging in or out a USB card reader Digikam hangs, printing messages like this for at least a very long time:

digikam.general: slotSolidDeviceChanged: "/org/freedesktop/UDisks2/…"

STEPS TO REPRODUCE

1. Start Digikam
2. Plug in a USB stick

OBSERVED RESULT

After plugging in or out a USB card reader Digikam starts printing messages like this for every drive I have:

digikam.general: slotSolidDeviceChanged: "/org/freedesktop/UDisks2/…"

Interestingly, the first line, with "/org/freedesktop/UDisks2/block_devices/sdg1", is printed once, then a line with another drive is printed twice, then another four times, then eight, sixteen, and so on. Possibly this will end at some point, but I killed Digikam after about a minute of this.

EXPECTED RESULT

Digikam should not hang.

SOFTWARE/OS VERSIONS

KDE Frameworks 5.56.0
Qt 5.12.2 (built against 5.12.1)
The xcb windowing system
Comment 1 Maik Qualmann 2019-03-28 06:56:13 UTC

*** This bug has been marked as a duplicate of bug 404893 ***
Comment 2 caulier.gilles 2019-07-14 12:49:10 UTC
Fixed with #404893 and not reproducible with 6.2.0