LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-19-2005, 05:21 AM   #1
erickFis
Member
 
Registered: Jun 2003
Location: Brasil
Distribution: Slackware 13.1_64 Gold Edition
Posts: 209

Rep: Reputation: 32
winex cvs + slackware 10.2 = segmentation fault


Hello everybody!

I am having problems with lastest winex cvs version and slackware 10.2.


When I try to run winex, I get:

erickfis@darkStar:~/diablo$ wine Diablo\ II.exe
set_thread_area: Success
Segmentation fault
erickfis@darkStar:~/diablo$

I tried either pre-compiled packages and compiling by my self (./configure, make, checkinstall), but both fail with the same error.
In slack 10.1 it worked well.

My pc is: slack 10.2, kernel 2.6.14.3, athlon xp 2+, 512 ram, nvidia 64 Mb agp.

In the lines below you will find the output of strace:


execve("/usr/local/bin/wine", ["wine", "Diablo II.exe"], [/* 50 vars */]) = 0
uname({sys="Linux", node="darkStar", ...}) = 0
brk(0) = 0x804d000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/home/erickfis/temp/winex/tls/i686/libntdll.so", O_RDONLY) = -1
ENOENT (No such file or directory)
stat64("/home/erickfis/temp/winex/tls/i686", 0xbfb06320) = -1 ENOENT
(No such file or directory)
open("/home/erickfis/temp/winex/tls/libntdll.so", O_RDONLY) = -1
ENOENT (No such file or directory)
stat64("/home/erickfis/temp/winex/tls", 0xbfb06320) = -1 ENOENT (No
such file or directory)
open("/home/erickfis/temp/winex/i686/libntdll.so", O_RDONLY) = -1
ENOENT (No such file or directory)
stat64("/home/erickfis/temp/winex/i686", 0xbfb06320) = -1 ENOENT (No
such file or directory)
open("/home/erickfis/temp/winex/libntdll.so", O_RDONLY) = -1 ENOENT
(No such file or directory)
stat64("/home/erickfis/temp/winex", 0xbfb06320) = -1 ENOENT (No such
file or directory)
open("/home/erickfis/temp/winex/dlls/tls/i686/libntdll.so", O_RDONLY)
= -1 ENOENT (No such file or directory)
stat64("/home/erickfis/temp/winex/dlls/tls/i686", 0xbfb06320) = -1
ENOENT (No such file or directory)
open("/home/erickfis/temp/winex/dlls/tls/libntdll.so", O_RDONLY) = -1
ENOENT (No such file or directory)
stat64("/home/erickfis/temp/winex/dlls/tls", 0xbfb06320) = -1 ENOENT
(No such file or directory)
open("/home/erickfis/temp/winex/dlls/i686/libntdll.so", O_RDONLY) = -1
ENOENT (No such file or directory)
stat64("/home/erickfis/temp/winex/dlls/i686", 0xbfb06320) = -1 ENOENT
(No such file or directory)
open("/home/erickfis/temp/winex/dlls/libntdll.so", O_RDONLY) = -1
ENOENT (No such file or directory)
stat64("/home/erickfis/temp/winex/dlls", 0xbfb06320) = -1 ENOENT (No
such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=118662, ...}) = 0
mmap2(NULL, 118662, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7ed6000
close(3) = 0
open("/usr/local/lib/libntdll.so", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0p\3\000"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1330101, ...}) = 0
mmap2(NULL, 1236936, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,
3, 0) = 0xb7da8000
mmap2(0xb7eb1000, 49152, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x108) = 0xb7eb1000
mmap2(0xb7ebd000, 102344, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7ebd000
mprotect(0xbfb06000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC|0x1000000) = 0
close(3) = 0
open("/usr/local/lib/libwine.so", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\f\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=15445, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7da7000
mmap2(NULL, 87872, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0xb7d91000
mmap2(0xb7d94000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2) = 0xb7d94000
mmap2(0xb7d95000, 71488, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7d95000
close(3) = 0
open("/usr/local/lib/libwine_unicode.so", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\32\0\000"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=827689, ...}) = 0
mmap2(NULL, 818632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0xb7cc9000
mmap2(0xb7d90000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc6) = 0xb7d90000
close(3) = 0
open("/usr/local/lib/libwine_port.so", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\10"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=8800, ...}) = 0
mmap2(NULL, 8164, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0xb7cc7000
mmap2(0xb7cc8000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0) = 0xb7cc8000
close(3) = 0
open("/lib/tls/libm.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P3\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=176352, ...}) = 0
mmap2(NULL, 139424, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0xb7ca4000
mmap2(0xb7cc5000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x20) = 0xb7cc5000
close(3) = 0
open("/lib/tls/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300P\1"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1366940, ...}) = 0
mmap2(NULL, 1162428, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,
3, 0) = 0xb7b88000
mprotect(0xb7c9d000, 27836, PROT_NONE) = 0
mmap2(0xb7c9e000, 16384, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x115) = 0xb7c9e000
mmap2(0xb7ca2000, 7356, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7ca2000
close(3) = 0
open("/lib/tls/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\v\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=13120, ...}) = 0
mmap2(NULL, 12392, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0xb7b84000
mmap2(0xb7b86000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7b86000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7b83000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7b82000
mprotect(0xb7c9e000, 4096, PROT_READ) = 0
mprotect(0xb7da8000, 1085440, PROT_READ|PROT_WRITE) = 0
mprotect(0xb7da8000, 1085440, PROT_READ|PROT_EXEC) = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7b826c0,
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0,
limit_in_pages:1, seg_not_present:0, useable:1}) = 0
munmap(0xb7ed6000, 118662) = 0
brk(0) = 0x804d000
brk(0x806e000) = 0x806e000
set_thread_area({entry_number:-1 -> 7, base_addr:00000000, limit:0,
seg_32bit:0, contents:0, read_exec_only:1, limit_in_pages:0,
seg_not_present:1, useable:0}) = 0
set_thread_area({entry_number:8191, base_addr:0xb7ed4ee0, limit:4095,
seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:0,
seg_not_present:0, useable:0}) = -1 EINVAL (Invalid argument)
dup(2) = 3
fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR)
fstat64(3, {st_mode=S_IFCHR|0700, st_rdev=makedev(136, 3), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7ef2000
_llseek(3, 0, 0xbfb068ac, SEEK_CUR) = -1 ESPIPE (Illegal seek)
write(3, "set_thread_area: Success\n", 25) = 25
close(3) = 0
munmap(0xb7ef2000, 4096) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++


Thank slackers!
 
Old 12-19-2005, 06:16 AM   #2
GlowGlow
Member
 
Registered: Jun 2005
Posts: 111

Rep: Reputation: 15
Did you install the updates/patches for 10.2? There was a problem with WINE and the X.org libraries, which has been solved with an X.org update:

From the -stable changelog:

Quote:
patches/packages/x11-6.8.2-i486-4.tgz: Rebuilt with a modified patch for
an earlier pixmap overflow issue. The patch released by X.Org was
slightly different than the one that was circulated previously, and is
an improved version. There have been reports that the earlier patch
broke WINE and possibly some other programs.
For more information, see:
http://cve.mitre.org/cgi-bin/cvename...=CAN-2005-2495
(* Security fix *)
 
Old 12-20-2005, 05:09 AM   #3
erickFis
Member
 
Registered: Jun 2003
Location: Brasil
Distribution: Slackware 13.1_64 Gold Edition
Posts: 209

Original Poster
Rep: Reputation: 32
Thanks GlowGlow !

I haven't tried yet, but I'll as soon as I can.

Best regards,
 
Old 01-09-2006, 05:11 AM   #4
erickFis
Member
 
Registered: Jun 2003
Location: Brasil
Distribution: Slackware 13.1_64 Gold Edition
Posts: 209

Original Poster
Rep: Reputation: 32
ok, I've tried the patches, but wine still doesn't work after all...

Since I am adict to playing diablo 2, switched back to slackware 10.1, and everything is fine...

I am a weak.....
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yast segmentation fault, system freezing - nvidia driver at fault? BaltikaTroika SUSE / openSUSE 2 12-02-2005 09:34 AM
Segmentation Fault Last Attacker Programming 4 07-12-2005 06:03 PM
Erlang Segmentation Fault on Slackware 10... nebx Linux - Newbie 3 02-06-2005 05:25 PM
Segmentation fault during Slackware setup. Suspect hardware. JackFlanders Linux - Hardware 4 09-23-2004 04:20 PM
Segmentation fault after OpenLDAP / Berkley DB (Slackware 8.1) cereal Linux - General 0 07-17-2003 12:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration