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 »

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 »

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 »

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 »

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 »

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 »

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 »

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