[Bug 1207] eMule on wine 20021219 mmaps 1.1Gigs of RAM, crashes

Wine Bugs wine-bugs at winehq.com
Mon Jun 23 13:28:19 CDT 2003


http://bugs.winehq.com/show_bug.cgi?id=1207





------- Additional Comments From winebug at flonet.net  2003-23-06 13:28 -------
Bug comments restored from Gmane.org:

Tried running eMule (0.23a/0.23b/0.24b/0.23b-Tarod (see
http://sourceforge.net/project/showfiles.php?group_id=53489&release_id=129846))
with wine 20021219. The last few syscalls shown by strace are:

mprotect(0x41500000, 65536, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mmap2(NULL, 1179385856, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x65530000
munmap(0xab9e0000, 65536)               = 0
old_mmap(NULL, 290816, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x41725000
mprotect(0x65530000, 1179320320, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
+++ killed by SIGKILL +++

Especially the last one is interesting - it eats up all memory (I have 512MB RAM
plus 200MB Swap), leading to wine's/emule's death.

This should be the same problem as described at
http://appdb.winehq.org/appview.php?appId=1065&versionId=1430

It *could* be related to an error reported by winecheck: 
023. Checking availability of winedefault.reg entries...    CRITICAL (entry
"SHAREDMEMLOCATION" not found in system.reg registry file).
- ADVICE: file winedefault.reg, the most basic wine registry environment,
doesn't seem to have been applied using regapi.

I couldn't find anything regarding that in the docs, but tried to follow the
advice anyway, with less-than-optimal results:

chris at chrisbig > programs/regapi/regapi winedefault.reg    
/var/data/src/wine-20021219
Warning: could not find wine config [Drive x] entry for current working
directory /var/data/src/wine-20021219; starting in windows directory.
/var/data/src/wine-20021219/miscemu/wine: cannot find
'programs/regapi/regapi.exe.so'
chris at chrisbig > ls -la programs/regapi                    
/var/data/src/wine-20021219
total 979
drwxr-xr-x    3 chris    users         528 Dec 27 14:53 ./
drwxr-xr-x   26 chris    users        1104 Dec 27 14:55 ../
-rw-r--r--    1 chris    users          44 May 21  2002 .cvsignore
-rw-r--r--    1 chris    users       11965 Dec 27 14:34 Makefile
-rw-r--r--    1 chris    users         244 May 21  2002 Makefile.in
-rw-r--r--    1 chris    users        2863 Feb 28  2002 README
-rwxr-xr-x    1 chris    users        1374 Jun  1  2002 regFixer.pl*
-rwxr-xr-x    1 chris    users        1955 Jun  1  2002 regRestorer.pl*
-rwxr-xr-x    1 chris    users        2687 Jun  1  2002 regSet.sh*
lrwxrwxrwx    1 chris    users          23 Dec 27 14:53 regapi ->
../../tools/winewrapper*
-rw-r--r--    1 chris    users       32296 Jun  1  2002 regapi.c
-rw-r--r--    1 chris    users         173 Dec 27 14:53 regapi.exe.dbg.c
-rw-r--r--    1 chris    users        2092 Dec 27 14:53 regapi.exe.dbg.o
-rwxr-xr-x    1 chris    users      453026 Dec 27 14:53 regapi.exe.so*
-rw-r--r--    1 chris    users        6941 Dec 27 14:53 regapi.exe.spec.c
-rw-r--r--    1 chris    users       80872 Dec 27 14:53 regapi.exe.spec.o
-rw-r--r--    1 chris    users      374880 Dec 27 14:53 regapi.o
drwxr-xr-x    2 chris    users         224 Dec 20 02:30 tests/

Any help appreciated.


------- Additional Comments From hatky <at> users.sf.net  2003-05-02 09:01 -------
I downloaded the version you marked an run it with a curent wine (cvs-2.5.2003) 
and it works! 
btw this is a nice test case since it's an open source program 
 
I could not get the last version on emule working but that a diffrent bug.... 

-- 
Configure bugmail: http://bugs.winehq.com/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