This is the mail archive of the
mailing list for the Cygwin XFree86 project.
Re: X server crash when running texworks
- From: "Yaakov (Cygwin/X)" <yselkowitz at users dot sourceforge dot net>
- To: cygwin-xfree at cygwin dot com
- Date: Mon, 02 Apr 2012 17:50:14 -0500
- Subject: Re: X server crash when running texworks
- References: <4F6E24CA.firstname.lastname@example.org> <4F70C7BE.email@example.com> <4F70CC57.firstname.lastname@example.org> <4F70D272.email@example.com> <4F72F30A.firstname.lastname@example.org> <4F7303E1.email@example.com> <4F7307B0.firstname.lastname@example.org> <4F745236.email@example.com> <4F74BF22.firstname.lastname@example.org> <4F759ABF.email@example.com> <4F76DC6B.firstname.lastname@example.org> <4F77221E.email@example.com> <4F7995E0.firstname.lastname@example.org> <4F7A16A1.email@example.com>
- Reply-to: cygwin-xfree at cygwin dot com
On 2012-04-02 16:14, Ken Brown wrote:
Much earlier in the thread I mentioned a warning "QFileSystemWatcher:
failed to add paths: /home/kbrown". I've looked at the QtCore sources,
and that warning is generated by the function
QFileSystemWatcher::addPaths, in corelib/io/qfilesystemwatcher.cpp. If
I'm understanding the code correctly, that function tries to use a
"native" (system-specific) FileSystemWatcherEngine if possible. The
function QFileSystemWatcherPrivate::createNativeEngine in the same file
creates native engines on Windows, Linux, FreeBSD, Mac OS, and Symbian,
but not on Cygwin.
Correct, as the Windows backend won't work OOTB with *NIX filesystem,
and we don't support any of the other native backends.
I don't know if it's worth pursuing this, but the failure of
FileSystemWatcher could conceivably be the problem here. Do you know
enough about Qt to have any ideas about how to proceed? Or Yaakov?
The only plausible solutions would be to either:
* implement inotify in Cygwin on top of Windows' Directory Change
Notification APIs (which would benefit a number of packages);
* OR implement a FAM/Gamin-based QFileSystemWatcher backend.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html