Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Dec 2017 06:08:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 224011] kevent fails on cuse(3) devices
Message-ID:  <bug-224011-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224011

            Bug ID: 224011
           Summary: kevent fails on cuse(3) devices
           Product: Base System
           Version: 11.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: yuri@freebsd.org

kevent fails on /dev/video0 (created through cuse(3) by webcamd).

The below testcase fails:
> QKqueueFileSystemWatcherEngine::addPaths: kevent: Invalid argument


Qt-styled testcase:

> #include <QFileSystemWatcher>
> #include <QThread>
>=20
> class T : public QThread {
> public:
>   void run() {
>     auto m_fsWatcher =3D new QFileSystemWatcher({"/dev"}, nullptr);
>     QStringList paths;
>     paths.push_back("/dev/video0");
>     m_fsWatcher->addPaths(paths);
>   }
> };
>=20
> int main(int argc, char* argv[]) {
>   T t;
>   t.start();
>   t.wait();
> }

> c++ -std=3Dc++11 -fPIC -o testcase -I/usr/local/include/qt5/QtCore -I/usr=
/local/include/qt5 testcase.cpp  -L/usr/local/lib/qt5/ -lQt5Core

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224011-8>