search for: heapfree

Displaying 20 results from an estimated 77 matches for "heapfree".

2001 Mar 25
1
Debuginfo for: Not enough system resources to create window
...8f Call comctl32.332: DPA_GetPtr(40f6009c,00000000) ret=40882a2f fs=008f Ret comctl32.332: DPA_GetPtr() retval=403c9e9c ret=40882a2f fs=008f Call comctl32.332: DPA_GetPtr(40f6009c,00000000) ret=40882a54 fs=008f Ret comctl32.332: DPA_GetPtr() retval=403c9e9c ret=40882a54 fs=008f Call kernel32.559: HeapFree(40390000,00000000,403c9e9c) ret=40890bb2 fs=008f Ret kernel32.559: HeapFree() retval=00000001 ret=40890bb2 fs=008f Call comctl32.332: DPA_GetPtr(40f6009c,00000001) ret=40882a54 fs=008f Ret comctl32.332: DPA_GetPtr() retval=403c9ee4 ret=40882a54 fs=008f Call kernel32.559: HeapFree(40390000,0000000...
2001 Mar 13
3
problems running homesite
Hi there, I have just installed wine (release 20010305) and it looks to work good. I can run notepad without trouble, winecheck.pl has one bad and one critical result: 023. Checking device needed for DGA (option "UseDGA"): /dev/BAD (/dev/mem is not writable for you). - ADVICE: Use chmod as root to fix it ("man chmod"). 025. Checking availability of windows registry
2001 Nov 19
3
WineLib Seg Fault?
...60000,00000002,00000018): returning 403600e4 0806d080:trace:heap:HeapAlloc (40360000,00000002,00000038): returning 40360108 0806d080:trace:reg:NtCreateKey (0x0,L"Machine\\Software\\Wine\\Wine",<null>,0,f003f,0xbffff274) 0806d080:trace:reg:NtCreateKey <- 0x0010 0806d080:trace:heap:HeapFree (40360000,00000002,40360108): returning TRUE 0806d080:trace:heap:HeapAlloc (40360000,00000002,00000044): returning 40360108 0806d080:trace:reg:NtCreateKey (0x0,L"Machine\\Software\\Wine\\Wine\\Config",<null>,1,f003f,0x40113580) 0806d080:trace:reg:NtCreateKey <- 0x0010 0806d080:tr...
2001 Dec 06
2
Problem report: SHRINKER.ERR, fix to DEVICE_Open/CreateFileA?
...119ec, "/mnt/dos", 1024) 0806d388:trace:dosfs:DOSFS_FindUnixName /mnt/dos,WINDOWS\000cf6e.tmp 0806d388:trace:heap:HeapAlloc (403b0000,00000002,0000022c): returning 4042ef68 0806d388:trace:dosfs:DOSFS_FindUnixName (/mnt/dos,WINDOWS\000cf6e.tmp) -> windows (WINDOWS) 0806d388:trace:heap:HeapFree (403b0000,00000002,4042ef68): returning TRUE 0806d388:trace:dosfs:DOSFS_FindUnixName /mnt/dos/windows,000cf6e.tmp 0806d388:trace:heap:HeapAlloc (403b0000,00000002,0000022c): returning 4042ef68 0806d388:warn:dosfs:DOSFS_FindUnixName '000cf6e.tmp' not found in '/mnt/dos/windows' 080...
2001 Mar 23
1
-debugmsg trace+all gives assertion error
..., "/home/bme/C", 1024) trace:dosfs:DOSFS_FindUnixName /home/bme/C,temp trace:heap:HeapAlloc (40380000,00000002,0000022c): returning 4038036c trace:heap:HeapAlloc (40380000,00000002,00000018): returning 403805a4 trace:dosfs:DOSFS_FindUnixName (/home/bme/C,temp) -> temp (TEMP) trace:heap:HeapFree (40380000,00000002,403805a4): returning TRUE trace:heap:HeapFree (40380000,00000002,4038036c): returning TRUE trace:dosfs:DOSFS_GetFullName returning /home/bme/C/temp = C:\TEMP trace:heap:HeapAlloc (40380000,00000002,00000018): returning 4038036c trace:reg:NtOpenKey (0x10,L"wine",f003f,0x...
2008 May 09
4
VB6 and wine_get_unix_file_name
...to make a function for using wine_get_unix_file_name in VB6 programs. Private Declare Function lstrcpyA Lib "kernel32.dll" (ByVal lpString1 As String, ByVal lpString2 As Long) As Long Public Declare Function GetProcessHeap Lib "kernel32" () As Long Public Declare Function HeapFree Lib "kernel32" (ByVal hHeap As Long, ByVal dwFlags As Long, IpMem As Any) As Long Public Declare Function wine_get_unix_file_name Lib "kernel32" (ByVal lpszSrc As String) As Long Public Function GetUnixPath(ByVal sPath As String) As String Dim ptr As Long Dim sBuf...
2010 Jul 07
3
Message: "err:psdrv:PSDRV_PPDGetNextTuple Line too long."
...tuple->key[endkey - line] = '\0'; 00405 00406 if(gotoption) { /* opt points to 1st non-space character of the option */ 00407 cp = strpbrk(opt, ":/"); 00408 if(!cp) { 00409 ERR("Error in line '%s'?\n", line); 00410 HeapFree(GetProcessHeap(), 0, tuple->key); 00411 goto start; 00412 } 00413 tuple->option = HeapAlloc( PSDRV_Heap, 0, cp - opt + 1 ); 00414 if(!tuple->option) return FALSE; 00415 memcpy(tuple->option, opt, cp - opt); 00416 tuple->option[cp - opt] = '...
2008 Aug 25
1
Please die if you wait "too long" RtlpWaitForCriticalSection
I'm receiving the following error in a custom app: err:ntdll:RtlpWaitForCriticalSection section 0x110048 "heap.c: main process heap section" wait timed out in thread 001a, blocked by 001c, retrying (60 sec) wine: Critical section 00110048 wait failed at address 0x7bc3ad00 (thread 001a), starting debugger... err:ntdll:RtlpWaitForCriticalSection section 0x110048 "heap.c: main
2008 Aug 27
1
Re: Please die if you wait "too long" RtlpWaitForCriti
Dee Ayy wrote: > On Mon, Aug 25, 2008 at 12:44 AM, vitamin <wineforum-user at winehq.org> wrote: > > > Try: > > > > Code: > > $ wine cmd > > c:> echo "some stuff" | myexe > > > > Interesting way to run wine. However, I get the same response. Then either your program is buggy or Wine's cmd doesn't fully implement what
2001 Aug 05
4
Abiword as test of Wine
One problem with Wine has been that there were few serious open source win32 applications out there to test Wine with (ok, maybe my opinions are from 1997 :-) In any case, we have some great open source Win32 applications to test with. AbiWord is one. I just tried installing AbiWord 0.9 under the latest Codeweavers preview. The install worked -- but generated about a billion warnings of the
2001 Mar 27
1
United Devices Client
...itself and a bunch of dll's into the windows\system directory. The client however, pops up a message box on startup claiming "Invalid picture". Which debugmsg options would be helpful in finding the problem? Most of the 200 lines before this with +relay are TlsGetValue, HeapAlloc, HeapFree, RtlEnterCriticalSection, and RtlLeaveCriticalSection. Nothing that looks particularly interesting.. Ian
2008 Apr 30
1
How do I test janitorial task ReplaceMalloc for console.c?
How do I test janitorial task ReplaceMalloc for console.c? I finished replacing the Malloc() functions with HeapAlloc() functions and the corresponding Free() functions with HeapFree() functions, but how do I test if it works? Here is my modified console.c code from wine version 0.9.60 http://www.pastebin.com/f5307c42f
2008 Jul 26
0
No subject
...o? I'm not even going to bother putting in braces for the "after" call, but I'm not understanding why I seemed to be getting heap corruption (when I had the "before" call) when I'm not even supposed to be calling it due to the guarded if statement. From MSDN Calling HeapFree twice with the same pointer can cause heap corruption if (g_pTrades != NULL){ ::HeapFree(hHeap, 0, g_pTrades); }
2008 Aug 28
0
Re: Please die if you wait "too long" RtlpWaitForCriti
...p;3 > > Yes there were bugs and something I don't understand. > 1) My logic bug: There was no need to call the following before my > code block -- I thought I was being cautious. (The MTAPI says to call > it after). My app seems to be working fine now without this initial > HeapFree. > if (g_pTrades != NULL) > ::HeapFree(hHeap, 0, g_pTrades); The check for NULL is extra. HeepFree (same as normal free() ) ignores NULL pointers. So most likely you are freeing something you did not allocate. Or as you said - freeing something twice. HeepFree (as well as normal free) does...
2001 Sep 01
1
Wiso Sparbuch terminates with: X Error of failed request ..
...file Tsch?? Stefan -------------- next part -------------- 0823cd40:Ret ntdll.RtlEnterCriticalSection() retval=00000000 ret=78001075 0823cd40:Call ntdll.RtlLeaveCriticalSection(78037118) ret=780012b1 0823cd40:Ret ntdll.RtlLeaveCriticalSection() retval=00000000 ret=780012b1 0823cd40:Call kernel32.HeapFree(40a90000,00000000,40ab1eec) ret=78001436 0823cd40:Ret kernel32.HeapFree() retval=00000001 ret=78001436 0823cd40:Call kernel32.GlobalLock(404aff46) ret=625612aa 0823cd40:Ret kernel32.GlobalLock() retval=41942024 ret=625612aa 0823cd40:Call kernel32.GlobalUnlock(404aff46) ret=62561351 0823cd40:Ret...
2001 Dec 08
1
LoadOEMResource crash [Was: Re: Problem report: SHRINKER.ERR, fix to DEVICE_Open/CreateFileA? ]
Hi Pavel, Right, my app also crashes in a different place under winedbg, although it crashes in the same winedbg place under gdb. I took a closer look at wine --winver nt40 --debugmsg +all. I found something interesting. If I search for queue_exception, I find that there is an exception raised before the LoadOEMCall, about 328klines in: 0806d398:Call
2001 Dec 09
1
(fwd) Re: [Possible BUG]: Wine-20011108
...gmsg +heap you get something like: > 0806feb0:Call msvcrt.strcat(403a4005 "Cygwin/bin/",403a3fb0 > "/pinco/panco") ret=004014f2 > 0806feb0:Ret msvcrt.strcat() retval=403a4005 ret=004014f2 > 0806feb0:Call msvcrt.free(403a3fac) ret=00401501 > 0806feb0:Call kernel32.HeapFree(403a0000,00000000,403a3fac) > ret=42563e35 > err:heap:HEAP_ValidateFreeArena Heap 403a0000: prev arena 403a401c > invalid for 403a0344 > Heap: 403a0000 > > This looks like heap corruption. In > URLParser.cc:127: strcat ((char *) path, schema); > you scribble to path...
2010 May 15
2
Wineboot: useless dialog
..., IDC_WAITTEXT, WM_GETTEXT, 1024, (LPARAM)text ); buffer = HeapAlloc( GetProcessHeap(), 0, (strlenW(text) + strlenW(name) + 1) * sizeof(WCHAR) ); sprintfW( buffer, text, name ); SendDlgItemMessageW( hwnd, IDC_WAITTEXT, WM_SETTEXT, 0, (LPARAM)buffer ); HeapFree( GetProcessHeap(), 0, buffer ); } break; } return 0; } Why is this there? I'm still dedicated to the UNIX philosophy: If there is no error, be quit. I didn't like that wine is getting more and more this verbiage used in windows. A car brake wrote: > You just...
2016 Jul 22
0
Wine release 1.9.15
...for UnmapViewOfFile with unaligned pointer. ntdll: NtUnmapViewOfSection should succeed for all offsets within the mapped range. kernel32: In Win9x mode UnmapViewOfFile requires base address of a mapping. Michael Stefaniuc (43): windowscodecs: Remove a redundant NULL check before HeapFree(). winepulse: Remove a redundant NULL check before HeapFree(). comctl32: Use InflateRect() too when expanding in just one axis. explorerframe: Use the proper RECT APIs. explorerframe/tests: Use SetRect() instead of open coding it. explorerframe/tests: The width is betw...
2016 Jul 08
0
Wine release 1.9.14
...s. ole32: Avoid casts from the IMultiQI iface to the COM object. ole32: Standardize COM aggregation for the DataCache. riched20/tests: Use wine_dbgstr_rect() to print RECTs. wineps.drv: Use wine_dbgstr_rect() to print a RECT. gdi32: Remove a redundant NULL check before HeapFree(). winetest: Remove redundant NULL checks before heap_free(). quartz: Remove redundant NULL checks before CoTaskMemFree(). shell32/tests: Remove redundant NULL checks before CoTaskMemFree(). devenum: Remove redundant NULL checks before CoTaskMemFree(). qcap/tests: Remo...