Segmentation fault in preloader.c

Questions about Wine on Linux
Locked
DougEdey
Newbie
Newbie
Posts: 4
Joined: Thu Aug 30, 2012 10:22 am

Segmentation fault in preloader.c

Post by DougEdey » Thu Aug 30, 2012 10:27 am

After turning my laptop on this morning I can no longer access wine.

I just get a segmentation fault whenever the wine preloader is invoked, running with GDB and wine1.4-dbg shows:

(gdb) run wine notepad
Starting program: /usr/bin/wine wine notepad
[Thread debugging using libthread_db enabled]
[New Thread 0xb7ce6b70 (LWP 6268)]
[Thread 0xb7ce6b70 (LWP 6268) exited]
process 6265 is executing new program: /usr/bin/wine-preloader

Program received signal SIGSEGV, Segmentation fault.
wld_memset (len=<optimized out>, val=0, dest=0x7bf03074) at preloader.c:455
455 preloader.c: No such file or directory.
in preloader.c


I tried looking at the source and I have no idea what it's trying to do

vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Segmentation fault in preloader.c

Post by vitamin » Thu Aug 30, 2012 9:35 pm

Most of the time this is caused by corrupt video drivers. Reinstall them.

DougEdey
Newbie
Newbie
Posts: 4
Joined: Thu Aug 30, 2012 10:22 am

Re: Segmentation fault in preloader.c

Post by DougEdey » Fri Aug 31, 2012 10:34 am

I've tried reinstall the video drivers multiple times, and different versions (nvidia-current-updates and the latest binary drops from nvidia direct).

I'm not sure if there's a specific way I have to remove the corruption.

vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Segmentation fault in preloader.c

Post by vitamin » Sat Sep 01, 2012 12:00 pm

Make sure you installing 32-bit opengl libraries correctly. They are part of the driver.

DougEdey
Newbie
Newbie
Posts: 4
Joined: Thu Aug 30, 2012 10:22 am

Re: Segmentation fault in preloader.c

Post by DougEdey » Sun Sep 02, 2012 12:58 pm

Not sure how to do that, I'm on a 32 bit PAE system, and I'm using the nVidia binary blob...

vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Segmentation fault in preloader.c

Post by vitamin » Mon Sep 03, 2012 10:33 am

Please install debug symbols id you haven't already, and use winedbg to get the full backtrace:

Code: Select all

winedbg notepad

DougEdey
Newbie
Newbie
Posts: 4
Joined: Thu Aug 30, 2012 10:22 am

Re: Segmentation fault in preloader.c

Post by DougEdey » Tue Sep 04, 2012 10:21 am

winedbg doesn't show anything:

$ winedbg notepad
Segmentation fault


Full backtrace from GDB:

process 21797 is executing new program: /usr/bin/wine-preloader

Program received signal SIGSEGV, Segmentation fault.
wld_memset (len=<optimized out>, val=0, dest=0x7bf03074) at preloader.c:455
455 preloader.c: No such file or directory.
in preloader.c
(gdb) bt
#0 wld_memset (len=<optimized out>, val=0, dest=0x7bf03074) at preloader.c:455
#1 map_so_lib (name=0x3 <Address 0x3 out of bounds>, l=0xbffff220) at preloader.c:881
#2 0x7c400ded in wld_start (stack=0xbffff294) at preloader.c:1216
#3 0x7c40002f in _start ()

Locked