Bug 397347 - UdevQt: unhandled device action "bind"
Summary: UdevQt: unhandled device action "bind"
Status: RESOLVED FIXED
Alias: None
Product: frameworks-solid
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.59.0
Platform: Ubuntu Linux
: NOR minor
Target Milestone: ---
Assignee: Lukáš Tinkl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-10 14:27 UTC by kalvdans
Modified: 2021-07-08 11:08 UTC (History)
10 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kalvdans 2018-08-10 14:27:53 UTC
If I plug/unplug my mobile phone while I have a Qt application running, that application spams the terminal with messages like this:

UdevQt: unhandled device action "bind"
UdevQt: unhandled device action "bind"
UdevQt: unhandled device action "unbind"
UdevQt: unhandled device action "unbind"

The program works fine despite these error messages. These udev actions were added in Linux 4.12, see https://lkml.org/lkml/2017/7/18/962 .
Comment 1 Jeremy W. Murphy 2018-09-10 02:09:48 UTC
I don't typically plug my phone into my computer, but today I did and saw similar messages, in blocks like this on my first root terminal:

QObject::connect: invalid null parameter
UdevQt: unhandled device action "bind"
UdevQt: unhandled device action "bind"
UdevQt: unhandled device action "unbind"
UdevQt: unhandled device action "unbind"

In dmesg was this:

[21020.591193] usb 3-2: new high-speed USB device number 17 using xhci_hcd
[21021.157302] FAT-fs (sdc1): FAT read failed (blocknr 1)
[21021.157370] FAT-fs (sdc1): FAT read failed (blocknr 1)
[21021.553779] usb 3-2: USB disconnect, device number 17
[21021.803208] usb 3-2: new high-speed USB device number 18 using xhci_hcd
[21026.157203] FAT-fs (sdc1): FAT read failed (blocknr 1)
[21026.157269] FAT-fs (sdc1): FAT read failed (blocknr 1)
[21028.177721] usb 3-2: USB disconnect, device number 18

etc, etc in both cases.

Linux kernel 4.17.19-gentoo
KDE Frameworks 5.50.0
Qt 5.11.1
udev 238

Cheers.
Comment 2 John 2020-01-05 13:56:32 UTC
I have the same error message each time I plug in (and out) my digital camera. My system has kernel 4.19.25, and is Slackware based. Though Slackware normally uses KDE, I have XFCE installed and most programs are Gtk based.

The digital camera doesn't start any application. I manually start a (Python, using gphoto2) picture download program.
Comment 3 Ahmad Samir 2021-07-08 11:08:26 UTC
This has been fixed some time ago https://phabricator.kde.org/R245:8036f148fb66fb5f872712b44bd11e6d0d034756