How to find out if file is loaded?

Klaus Niederkrueger kniederk at MI.Uni-Koeln.DE
Mon Dec 9 17:39:16 CST 2002


On Mon, 9 Dec 2002, Francois Gouget wrote:

> On Tue, 3 Dec 2002, Klaus Niederkrueger wrote:
> [...]
> > So it seems to me that the file tiles\TS01.BMP is loaded, but when I use
> > "ltrace wine ..." I don't find any output regarding this file. Why is
> > that?
>
> Maybe open operation is done by wineserver?
> (then the filedesc is sent to wine via a Unix pipe)
>
> --
> Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
>      Linux, WinNT, MS-DOS - also known as the Good, the Bad and the Ugly.
>

Oh, sorry, I forgot to send to the newsgroup that I already found out:
"strace" does appearantly only show calls done by the first thread
created. To see also the system-calls of the forked jobs you need the
option "strace -f".

Now I see that all files are opened though I'm a bit confused about
the ioctl-line at the end. Does wine think that file Ts01.bmp is a
sound-card???

[pid 26577] open("/usr/share/wine/drivec/Program Files/Dink
Smallwood/dink/Tiles/Ts01.bmp", O_RDONLY|O_NONBLOCK|O_LARGEFILE) = 18
[pid 26577] fstat64(18, {st_mode=S_IFREG|0644, st_size=161080, ...}) = 0
[pid 26577] write(7,
"\0\0\0\0\0\0\0\0X\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 64) = 64
[pid 26577] rt_sigprocmask(SIG_UNBLOCK, [HUP INT QUIT TERM CHLD], NULL, 8)
= 0
[pid 26577] poll( <unfinished ...>
[pid 26575] <... writev resumed> )      = 135
[pid 26575] read(5,
"\0\0\0\0\0\0\0\0X\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 64) = 64
[pid 26575] rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
[pid 26575] rt_sigprocmask(SIG_BLOCK, [HUP INT ALRM IO], [RTMIN], 8) = 0
[pid 26575] write(4,
"*\0\0\0\0\0\0\0\0\0\0\0X\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 64
<unfinished ...>
[pid 26577] <... poll resumed> [{fd=5, events=POLLIN}, {fd=4,
events=POLLIN}, {fd=6, events=POLLIN, revents=POLLIN}, {fd=9, events=0},
{fd=10, events=0}, {fd=11, events=0}, {fd=12, events=0}, {fd=13,
events=0}, {fd=14, events=0}, {fd=15, events=POLLIN}, {fd=18, events=0}],
11, -1) = 1
[pid 26577] rt_sigprocmask(SIG_BLOCK, [HUP INT QUIT TERM CHLD], NULL, 8) =
0
[pid 26577] read(6,
"*\0\0\0\0\0\0\0\0\0\0\0X\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 64) = 64
[pid 26577] fstat64(18, {st_mode=S_IFREG|0644, st_size=161080, ...}) = 0
[pid 26577] ioctl(18, SNDCTL_TMR_TIMEBASE, 0xbffff9b4) = -1 ENOTTY
(Inappropriate ioctl for device)


In the end I would like to fix bug 1129. Any help would be appreciated a
lot. Thanks again.

	Klaus




More information about the wine-devel mailing list