[Bug 3824] Delphi 1 IDE WIN_CreateWindowEx out of memory

Wine Bugs wine-bugs at winehq.org
Fri Jul 14 23:31:54 CDT 2006


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





------- Additional Comments From pgr at arcelectronicsinc.com  2006-14-07 23:31 -------
Testing again with current git the out of memory does not occur anymore. 
>From the traces the warn:win:create_window_handle error 6 creating window was
caused by delphi calling CreateWindowEx16 with a zero length string for windowName.

The fault occurs when the trace has "" for the window name.

I added this trace just before the end of CreateWindowEx16
    TRACE("Create 16 windowname->[%s],%d\n",windowName,windowName);

>From traces windowName can be 
"(null)" windowName = NULL 
"somestring" windowName points to a string
"" windowName points to a NULL
.


This is from the failed condition log
trace:win:CreateWindowEx16 Create 16 windowname->[],2109660388
trace:win:WIN_CreateWindowEx non-unicode "" "TMemo" ex=00000000 style=44810044
136,40 185x89 parent=0x10062 menu=(nil) inst=0x252e params=(nil)

This is from the working condition log
trace:win:CreateWindowEx16 Create 16 windowname->[ListBox1],2107280590
trace:win:WIN_CreateWindowEx non-unicode "ListBox1" "TListBox" ex=00000000
style=44910141 161,73 119x95 parent=0x10062 menu=(nil) inst=0x1936 params=(nil)


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list