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

wine-bugs at winehq.com wine-bugs at winehq.com
Sun Dec 29 10:24:09 CST 2002


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

           Summary: eMule on wine 20021219 mmaps 1.1Gigs of RAM, crashes
           Product: Wine
           Version: CVS
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: wine-binary
        AssignedTo: wine-bugs at winehq.com
        ReportedBy: creinig at sunsite.dk


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.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1207>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.



More information about the wine-bugs mailing list