System hangs when starting wine

Asked by ABonifacio

I installed wine in a ubuntu 7.10 but everytime I tried to start wine my system will hang and I have to reboot.

I've tried reinstalling but I had similar result There was no improvement on a newly installed ubuntu.

I've tried running winecfg on a command line; the system also hanged. But it was able to create a .wine directory before crashing.

Trying a debug, I did a WINEDEBUG=all+err winecfg > errList. It gave a short feedback about paging and something about following a thread. The message was in the previous installation of ubuntu and I could not recreate the error message in the new installation. No error message returned.

Looks like some memory problem.

My PC: Amd Duron 1.0 gigahertz
              743mb total memory
               Ubuntu 7.10 gutsy gibbon

I saw some posting similar to this one:
System hangs when I try to configure Wine (Answered)
posted on 2007-10-27 by Bob Pearson in Ubuntu .

The adviced was to post a bug report. Not much help in running wine.

What to do?

ABonifacio

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
ABonifacio
Solved:
Last query:
Last reply:
Revision history for this message
Bert Van de Poel (bhack) said :
#1

try the following, when your system hangs, press CTRL + ALT + F2, then you switch to terminal mode, login and typ the command sudo top and check which processes are using recourses and how much of them (memory & CPU power).

Revision history for this message
ABonifacio (ikingp) said :
#2

Bert Van de Poel,

Thank you for your reply.

My PC totally hangs. No response even following your suggestion of pressing CTRL + ALT + F2.

I found the error list following the command line,

WINEDEBUG=all+err winecfg > errList

The message is:

wine: creating configuration directory '/home/ABonifacio/.wine'...
wine: Unhandled page fault on read access to 0x00000348 at address 0x7e6e55ec (thread 0009), starting debugger...
Can't attach process 0008: error 5

       ================

The directory name that winecfg create is peculiar - .wine followed by a random set of letters; say .wine-AxhlG. Everytime I try running winecfg it creates another .wine-randomLettered directory. Apparently it does not read the previous directory it has created. Maybe because it has not completed any processes.

Revision history for this message
Bert Van de Poel (bhack) said :
#3

are you using the wine form multi/universe or the winehq channel ?

Revision history for this message
ABonifacio (ikingp) said :
#4

I used the wine from multi/universe.

But I am trying out from winehq in an effort to get wine running on my system. I compiled it using the script ./tools/wineinstall. It was looking for X11 development fonts / headers. I will try to install these development files and try again.

Revision history for this message
ABonifacio (ikingp) said :
#5

Problem solved..

In my initial try on compiling wine, it told me that I needed X11 drivers, OpenGL development headers and FontForge.

Using synaptic package manager, I downloaded and installed the following:
for X11
   libxaw7-dev
   libxaw-headers
   libfontenc-dev
for OpenGL
   libgl1-mesa-gl1
   libglu1-mesa
   libx11-6
for FontForge
   FontForge

This time compilation and installation was completed ( takes several hours to compile it on my slow pc). I run winecfg ( from a command line as there is no menu entry in gnome for wine using this method) and now the setup screen appeared. I tried running notepad, again a success.

Now time to play with microsoft software in linux. Exciting!.