FS#5432 - Kernel 2.6.18-3 causes Wine to segfault

Attached to Project: Arch Linux
Opened by Shahar (sweiss) - Friday, 22 September 2006, 07:52 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To No-one
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Good morning.
If I am using the specified kernel, wine segfaults right on startup. I suppose the same also happens with other applications, but I've not encountered any (once I found out about the Wine thing I reverted).

Using kernel 2.6.17.13 works just fine.

Thank you.
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Thursday, 28 September 2006, 05:43 GMT
Reason for closing:  Fixed
Comment by Tobias Powalowski (tpowa) - Friday, 22 September 2006, 09:11 GMT
wine works here quite finr with all stuff from testing
Comment by Tobias Powalowski (tpowa) - Friday, 22 September 2006, 09:14 GMT
try it with a new user, if it happens there too, else it's probably a config bug in your user setup.
Comment by Shahar (sweiss) - Saturday, 23 September 2006, 07:03 GMT
I've tried installing wine in the repositories, created a new user and tried to run it - The result was the same, segfault right at the start.

I wasn't even able to run wine --version.
Comment by Thomas Bächler (brain0) - Monday, 25 September 2006, 15:56 GMT
> I wasn't even able to run wine --version.

I think that narrows it down. I am not very good with debuggers though. But maybe I can find something in the code. Unfortunately, I don't have this problem on any of my machines.
Comment by Alexander Baldeck (kth5) - Tuesday, 26 September 2006, 14:56 GMT
Same here, works great on a fresh setup with all of testing (read: wiped rootfs and install from scratch).
Updating wine to .21 would be worth a shot aside from rm .wine/config
Comment by Thomas Bächler (brain0) - Tuesday, 26 September 2006, 15:47 GMT
People also have this problem with wine .21.
Comment by Alexander Baldeck (kth5) - Tuesday, 26 September 2006, 15:49 GMT
In any case, this is a bug in the config that makes wine segfault not the kernel. So narrowing it down from there is the way to go even if at .21 already.
Comment by Thomas Bächler (brain0) - Wednesday, 27 September 2006, 10:38 GMT
An old post_install message said to set "vm.legacy_va_layout = 1" in sysctl.conf for wine to work with newer kernels. Ironically, that is what now makes wine NOT work.
Everyone who did this now seems to have a segfault with wine. If you remove this like again (or set it to =0, or do it manually with "echo 0 > /proc/sys/vm/legacy_va_layout"), then wine works again.
Comment by Alexander Baldeck (kth5) - Wednesday, 27 September 2006, 11:09 GMT
I can confirm this! Looks like this is a solution and a message should be put in the .install just in case.
Comment by Tobias Powalowski (tpowa) - Thursday, 28 September 2006, 05:43 GMT
added a new install file to wine package with a hint to that

Loading...