wine: debugtools.c:210: wine_dbg_vprintf: Assertion failed

Dmitry Timoshkov dmitry at sloboda.ru
Wed Mar 21 10:11:50 CST 2001


Hello.

With the attached debugtools2.c.diff I found that default buffer size for
debug strings 504 bytes is not enough, taking into account escaping of
characters greater 127.

...
need = 719, remaining space = 475
L"\0412\043e\0437\043c\043e\0436\043d\043e\0441\0442\0438
\043a\043e\043c\043f\044c\044e\0442\0435\0440\0430 \043d\0435
\043f\043e\0437\0432\043e\043b\044f\044e\0442 \0434\043e\0431\0438\0442\044c\0441\044f
\0430\0431\0441\043e\043b\044e\0442\043d\043e \0442\043e\0447\043d\043e\0433\043e
\0432\043e\0441\043f\0440\043e\0438\0437\0432\0435\0434\0435\043d\0438\044f \0440"...
\0442\0435\0440\0430 \043d\0435 \043f\043e\0437\0432\043e\043b\044f\044e\0442
\0434\043e\0431\0438\0442\044c\0441\044f \0430\0431\0441\043e\043b\044e\0442\043d\043e
\0442\043e\0447\043d\043e\0433\043e
\0432\043e\0441\043f\0440\043e\0438\0437\0432\0435\0434\0435\043d\0438\044f \0440"... 00000004
50020001 264,81 98x135 50cc 0009 10a53000 (nil)
Please report the assert below!
wine: debugtools.c:221: wine_dbg_vprintf: Assertion `0' failed.

I'm not sure, should it be applied or not.

debugtools2.c.diff increases buffer size up to 1024 bytes.

Changelog:
    Dmitry Timoshkov <dmitry at codeweavers.com>
    Increase debug buffer size up to 1024 bytes.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: debugtools.c.diff
Type: application/octet-stream
Size: 539 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20010322/0804d84e/debugtools.c.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debugtools2.c.diff
Type: application/octet-stream
Size: 982 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20010322/0804d84e/debugtools2.c.obj


More information about the wine-patches mailing list