wine segfaulting

Markus Amsler markus.amsler at oribi.org
Wed Oct 11 05:23:16 CDT 2006


Marcus Meissner wrote:
> On Wed, Oct 11, 2006 at 11:32:47AM +0200, Markus Amsler wrote:
>   
>> Hi,
>>
>> What kernel version/distro are you using? What about make test.
>>
>> I had similar strange behavior with 2.6.18 (debian/unstable 
>> linux-image-2.6.18-1-686): wine segfaults in multiple situations. The 
>> strangest was: make test failed/segfaulted in ntdll, but running the 
>> test manually with runtest worked !?! The rest of the system was perfect 
>> stable.
>> With 2.6.17 everything works fine.
>>
>> I found some reports on the net having similar problems with 2.6.18. It 
>> looks like a memory layout issue.
>>     
>
> Is there a ulimit set? (ulimit -a) But I think we solved this specific
> problem already.
>   
there is, but 2.6.17, 2.6.18 have the same settings.

core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
max nice                        (-e) unlimited
file size               (blocks, -f) unlimited
pending signals                 (-i) unlimited
max locked memory       (kbytes, -l) unlimited
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) unlimited
max rt priority                 (-r) unlimited
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) unlimited
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited

Setting stack size to unlimited didn't help either.
> As for make test ... was the "exception" test the problem?
>
> Ciao, Marcus
>   
Yes

Almost every dll test fails somehow kernel32 for example:

../../../tools/runtest -q -P wine -M kernel32.dll -T ../../.. -p 
kernel32_test.exe.so change.c && touch change.ok
err:seh:setup_exception nested exception on signal stack in thread 0010 
eip 40000440 esp 7ffdbc80 stack (nil)-0xffffffff
change.c:80: Test failed: Missed notification
err:seh:setup_exception nested exception on signal stack in thread 0015 
eip 40000440 esp 7ffd9c80 stack (nil)-0xffffffff
change.c:80: Test failed: Missed notification
make: *** [change.ok] Fehler 2


I also setted /proc/sys/vm/legacy_va_layout to 0|1. But no effect.

Markus



More information about the wine-devel mailing list