Winecfg error: Segmentation fault

Questions about Wine on Linux
Locked
gv1f
Newbie
Newbie
Posts: 2
Joined: Wed Jan 09, 2019 4:48 am

Winecfg error: Segmentation fault

Post by gv1f »

I just installed Wine on Debian arm64 and tried running the `winecfg` command and get the following segmentation fault error.

Code: Select all

$ winecfg

Segmentation fault
Using this version of Wine:

Code: Select all

$ apt-cache policy wine:arm64

wine:
  Installed: 1.8.7-2
  Candidate: 1.8.7-2
  Version table:
 *** 1.8.7-2 500
        500 http://deb.debian.org/debian stable/main arm64 Packages
        500 http://deb.debian.org/debian stable/main i386 Packages
        100 /var/lib/dpkg/status

OS version info:

Code: Select all

$ uname -a

Linux localhost 3.10.73-g5a2a297 #1 SMP PREEMPT Thu May 10 21:27:35 UTC 2018 aarch64 GNU/Linux

$ lsb_release -a

Distributor ID:	Debian
Description:	Debian GNU/Linux 9.6 (stretch)
Release:	9.6
Codename:	stretch
The Debian OS is headless; there's no desktop environment or graphical interfaces. Is it possible to run this `winecfg` command (or use Wine, in general) without a GUI?
User avatar
dimesio
Moderator
Moderator
Posts: 13204
Joined: Tue Mar 25, 2008 10:30 pm

Re: Winecfg error: Segmentation fault

Post by dimesio »

gv1f wrote:The Debian OS is headless; there's no desktop environment or graphical interfaces. Is it possible to run this `winecfg` command (or use Wine, in general) without a GUI?
It's certainly not possible to run winecfg without a GUI. Wine can run pure console apps without a GUI, but if the app creates any windows at all, even just internal ones, it will not work.
https://wiki.winehq.org/FAQ#Can_Wine_ru ... er_mode.3F
https://wiki.winehq.org/Wine_User%27s_G ... terface.29
gv1f
Newbie
Newbie
Posts: 2
Joined: Wed Jan 09, 2019 4:48 am

Re: Winecfg error: Segmentation fault

Post by gv1f »

Thanks for your response. I managed to install lxde but I'm still getting the segmentation fault error when running the winecfg command in a terminal. Tried as normal user privs and as root (with sudo). Any ideas?
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: Winecfg error: Segmentation fault

Post by DarkShadow44 »

Update wine and try again, wine 1.8.7-2 is out of date.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Winecfg error: Segmentation fault

Post by Bob Wya »

gv1f wrote:... Tried as normal user privs and as root (with sudo). Any ideas?
Which suggests you have yet to read the: WineHQ FAQ.
Specifically: WineHQ FAQ: 6.3 I ran wine with sudo or as root. How do I fix my permission errors?.

Bob
User avatar
dimesio
Moderator
Moderator
Posts: 13204
Joined: Tue Mar 25, 2008 10:30 pm

Re: Winecfg error: Segmentation fault

Post by dimesio »

I just realized I overlooked this:
I just installed Wine on Debian arm64
Wine on ARM64 is still highly experimental. It is actively being worked on, so you could file a bug, but you need to retest in current Wine first. 1.8.7 is two years old; there have been quite a few ARM64-related commits since then.
gadas
Newbie
Newbie
Posts: 3
Joined: Fri Feb 01, 2019 12:50 am

Re: Winecfg error: Segmentation fault

Post by gadas »

I found the same issue in ubuntu 18.04.1 with gnome 3.28. Firstly, I tried to install the winehq-stable by official reppository. The installation occurs without errors, but winecfg also outputs segmentation fault.

I also compiled wine from source, but the same error occurs, someone can help me to fix this?
gadas
Newbie
Newbie
Posts: 3
Joined: Fri Feb 01, 2019 12:50 am

Re: Winecfg error: Segmentation fault

Post by gadas »

Only to complete and update my post. The compiled version from source is
./wine --version
wine-4.0-276-g84459ba94b

Right now, I removed the winehq-stable and installed the winehq-staging following the winehq Ubuntu installation guide. Unfortunately, the segmentation fault persists
gadas
Newbie
Newbie
Posts: 3
Joined: Fri Feb 01, 2019 12:50 am

Re: Winecfg error: Segmentation fault

Post by gadas »

It was a specific problem of my libGL files. My .bashrc file was loading a conflicting library with wine. I only noted that when I logged in a new account of the system. Sorry about that ;)
Locked