[Wine]segmentation error

John Williamson roseneath at ntlworld.com
Sat Aug 7 10:09:22 CDT 2004


I have been using wine for about 18 months now to run quickbooks 6 which
it has been doing with better results each month (apart from the
glitches with the sound server introduced in the last few months).
However I recently upgraded my Mandrake 9.2 installation to 10 changing
from kernel 2.4.22-26mdk to kernel 2.6.3-7mdk. I did not upgrade wine
form the April edition which I compiled from source and still worked
happily under 2.6. However I finally succumbed to the stable July
version and once complete I got segmentation errors with everything,
even wine -version. I recompiled against my old 2.4 kernel - no help . I
googled and upgraded glibc to 2.3.3-13 for mandrake and the development
headers but no joy. I tried other earlier wine versions but no help. I
have wine set up in its own partition and have created a false windows
within it. /wine/Drive_c is my false windows. Drives_d,e,f refer to the
real windows drives of those letters. I am the user briggella.

Please find below the errors from my config.log with the previous and
subsequent 2 lines for each error.

configure:2280: result: none needed
configure:2298: gcc -c -g -O2  conftest.c >&5
conftest.c:2: error: parse error before "me"
configure:2304: $? = 1
configure: failed program was:
--
configure:2744: g++ -c -g -O2  conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:13: error: `exit' undeclared (first use this function)
conftest.cc:13: error: (Each undeclared identifier is reported only once
for each function it appears in.)
configure:2750: $? = 1
configure: failed program was:
--
configure:12856: result: yes
configure:12865: checking for broken string.h that generates warnings
configure:12886: gcc -c -g -O2 -Wpointer-arith -Werror  conftest.c >&5
configure:12892: $? = 0
configure:12895: test -z 			 || test ! -s conftest.err
--
configure:16326: $? = 0
configure:16338: result: yes
configure:16251: checking for strerror
configure:16308: gcc -o conftest -g -O2   conftest.c  >&5
configure:16314: $? = 0
--
configure:18282: gcc -c -g -O2  conftest.c >&5
conftest.c: In function `main':
conftest.c:234: error: storage size of `stfs' isn't known
configure:18288: $? = 1
configure: failed program was:
--
configure:18912: gcc -c -g -O2  conftest.c >&5
conftest.c: In function `main':
conftest.c:247: error: structure has no member named `f_favail'
configure:18918: $? = 1
configure: failed program was:
--
configure:18970: gcc -c -g -O2  conftest.c >&5
conftest.c: In function `main':
conftest.c:247: error: structure has no member named `f_favail'
configure:18976: $? = 1
configure: failed program was:
--
configure:19295: gcc -c -g -O2  conftest.c >&5
conftest.c: In function `main':
conftest.c:241: error: structure has no member named `msg_accrights'
configure:19301: $? = 1
configure: failed program was:
--
configure:19345: gcc -c -g -O2  conftest.c >&5
conftest.c: In function `main':
conftest.c:241: error: structure has no member named `msg_accrights'
configure:19351: $? = 1
configure: failed program was:
--
configure:19416: gcc -c -g -O2  conftest.c >&5
conftest.c: In function `main':
conftest.c:241: error: structure has no member named `sa_len'
configure:19422: $? = 1
configure: failed program was:
--
configure:19466: gcc -c -g -O2  conftest.c >&5
conftest.c: In function `main':
conftest.c:241: error: structure has no member named `sa_len'
configure:19472: $? = 1
configure: failed program was:
--
configure:19537: gcc -c -g -O2  conftest.c >&5
conftest.c: In function `main':
conftest.c:241: error: structure has no member named `sun_len'
configure:19543: $? = 1
configure: failed program was:
--
configure:19587: gcc -c -g -O2  conftest.c >&5
conftest.c: In function `main':
conftest.c:241: error: structure has no member named `sun_len'
configure:19593: $? = 1
configure: failed program was:
--
ac_cv_func_statvfs=yes
ac_cv_func_strcasecmp=yes
ac_cv_func_strerror=yes
ac_cv_func_strncasecmp=yes
ac_cv_func_tcgetattr=yes


And the final lines of the strace output of the wine -version command. I
can post the full file if it is wished.

write(6, "re\\\\Classes\\\\http\\\\shell\\\\open\\\\"..., 4096) = 4096
write(6, "pdate\"\n\"SplashEnabled\"=\"1\"\n\n[Sof"..., 4096) = 4096
write(6, "CHARSET\"=\"ISO-8859-1\"\n\"EREG\"=\"C:"..., 4096) = 4096
write(6, "Installer Package\"\n\n[Software\\\\Z"..., 4096) = 4096
write(6, "DLL\"\n\n[Software\\\\ODBC\\\\ODBCINST."..., 4096) = 4096
write(6, "t32.dll\"\n\"Setup\"=\"C:\\\\WINDOWS\\\\S"..., 4096) = 4096
write(6, "isc\"=dword:00000001\n\"CacheDiskOr"..., 4096) = 4096
write(6, "rategy\"=dword:00000003\n\"MaxFileS"..., 4096) = 4096
write(6, "] CDTSD[6] NEROCD95[8] BsUDF[10]"..., 4096) = 4096
write(6, "\"ShortReadSpeedDisplay\"=dword:00"..., 4096) = 4096
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++


 also enclose my dosdevices directory listing.

lrwxrwxrwx  1 root      root      11 Apr 28 10:55 a: -> /mnt/floppy/
lrwxrwxrwx  1 briggella briggella  8 Jul 31 17:03 a:: -> /dev/fd0
lrwxrwxrwx  1 briggella briggella 13 Apr 28 10:40 c: -> /wine/Drive_c/
lrwxrwxrwx  1 root      root      10 Apr 28 10:55 d: -> /mnt/win_d/
lrwxrwxrwx  1 root      root      10 Apr 28 10:55 e: -> /mnt/win_e/
lrwxrwxrwx  1 briggella briggella 10 Apr 28 10:44 f: -> /mnt/win_f/
lrwxrwxrwx  1 root      root      19 Aug  2 23:42 h: ->
/wine/Drive_c/temp//
lrwxrwxrwx  1 root      root      15 Apr 28 10:53 i: -> /home/briggella/
lrwxrwxrwx  1 root      root      10 Apr 28 10:52 k: -> /mnt/cdrom/
lrwxrwxrwx  1 briggella briggella  9 Jul 31 17:03 k:: -> /dev/scd0
lrwxrwxrwx  1 root      root      13 Apr 28 10:52 l: -> /mnt/cdburner/
lrwxrwxrwx  1 briggella briggella  9 Jul 31 17:03 l:: -> /dev/scd1
lrwxrwxrwx  1 briggella briggella 23 Apr 28 10:43 q ->
/mnt/win_e/loancalcdata/
lrwxrwxrwx  1 root      root      22 Aug  1 22:29 w: ->
/usr/src/wine-20040716/
lrwxrwxrwx  1 briggella briggella  1 Apr 28 10:40 z: -> //



I have to say that I am now stuck and would be grateful for some further
guidance. Sorry if it is a bit long.

p.s. I am not a programmer so simple commands only, please,  if
possible.


John Williamson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://www.winehq.org/pipermail/wine-users/attachments/20040807/a68a5538/attachment.pgp


More information about the wine-users mailing list