[Bug 16941] interrupts cause nested trace output

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Jan 16 04:35:21 CST 2009


http://bugs.winehq.org/show_bug.cgi?id=16941


Jörg Höhle <hoehle at users.sourceforge.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|-unknown                    |tools




--- Comment #2 from Jörg Höhle <hoehle at users.sourceforge.net>  2009-01-16 04:35:21 ---
Looking more closely at the log, I found that all (but one) interrupted traces
are of the form
nnnn: close_handle, get_handle_fd, get|enum|set_key_value etc.
(NOT the typical nnnn:class:component:function ...)
I.e. they emanate from server/trace.c which is full of fprintf(stderr,...)
snippets, making output interruptible, whereas all the others indeed go through
the one atomic write(2) call in dbg_vlog().

So Vitaliy is right to change this issue to an enhancement request:
server/trace.c and tools/make_requests need be rewritten not to use several
fprintf(stderr), but a single one for all the dump_*() helpers, via a temporary
buffer.

Hence I'm changing component to tools ("server" is not a selectable component).


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the wine-bugs mailing list