LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-16-2003, 12:44 AM   #1
Anarchist
LQ Newbie
 
Registered: May 2003
Location: New York City
Distribution: Slackware 9
Posts: 3

Rep: Reputation: 0
wine "segmentation fault" error


I've installed wine (v. 20030508) on my Slackware 9 box, by compiling the source (the RPM refused to install due to failed dependencies). I ran wineinstall and it seemed to have worked fine, but whenever I try to run anything with wine, it says "segmentation fault" and doesn't start the program. I've looked over the config file, and it seems to be good. Could somebody please help me out here?
 
Old 05-16-2003, 04:20 AM   #2
mhearn
Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
Can you get a backtrace? You may need to compile using --with-nptl
 
Old 05-16-2003, 10:12 AM   #3
Anarchist
LQ Newbie
 
Registered: May 2003
Location: New York City
Distribution: Slackware 9
Posts: 3

Original Poster
Rep: Reputation: 0
Well, I got it to dump the core and backtraced it (although I'm not sure if I did it right), and here's what I got:
Code:
Core was generated by `/usr/local/bin/wine wineconsole.exe'.
Program terminated with signal 11, Segmentation fault.
#0  0x4010a3a8 in ?? ()
(gdb) bt
#0  0x4010a3a8 in ?? ()
#1  0x4010a514 in ?? ()
#2  0x4009f263 in ?? ()
#3  0x403d9429 in ?? ()
#4  0x4010a69f in ?? ()
#5  0x3c000519 in ?? ()
#6  0x40214bb4 in ?? ()
(gdb) quit
 
Old 05-16-2003, 12:58 PM   #4
mhearn
Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
You need to load the symbol files..... do

gdb /usr/local/bin/wine foo.core
 
Old 05-16-2003, 01:59 PM   #5
Anarchist
LQ Newbie
 
Registered: May 2003
Location: New York City
Distribution: Slackware 9
Posts: 3

Original Poster
Rep: Reputation: 0
Ah, this seems to make more sence. Here's what I got:
Code:
This GDB was configured as "i386-slackware-linux"...
Core was generated by `/usr/local/bin/wine wineconsole.exe'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libntdll.dll.so...done.
Loaded symbols for /usr/lib/libntdll.dll.so
Reading symbols from /usr/local/lib/libwine.so.1...done.
Loaded symbols for /usr/local/lib/libwine.so.1
Reading symbols from /usr/lib/libwine_unicode.so.1...done.
Loaded symbols for /usr/lib/libwine_unicode.so.1
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/local/lib/wine/ntdll.dll.so...done.
Loaded symbols for /usr/local/lib/wine/ntdll.dll.so
Reading symbols from /lib/libpthread.so.0...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libnss_compat.so.2...done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /usr/local/lib/wine/wineconsole.exe.so...done.
Loaded symbols for /usr/local/lib/wine/wineconsole.exe.so
Reading symbols from /lib/libncurses.so.5...done.
Loaded symbols for /lib/libncurses.so.5
#0  map_dll (nt_descr=0x400e4b40) at loader.c:171
---Type <return> to continue, or q <return> to quit---
171         if (*ptr) *ptr = (void *)((char *)*ptr - (char *)base);
(gdb) bt
#0  map_dll (nt_descr=0x400e4b40) at loader.c:171
#1  0x4010a514 in wine_dll_set_callback (load=0x4009ee9c <load_library>)
    at loader.c:358
#2  0x4009f263 in BUILTIN32_LoadExeModule (main=0x0)
    at ../../relay32/builtin32.c:195
#3  0x403d9429 in __wine_process_init (argc=2, argv=0xbffffa74)
    at ../../scheduler/process.c:684
#4  0x4010a69f in wine_init (argc=2, argv=0xbffffa74, error=0xbffff614 "",
    error_size=1024) at loader.c:429
#5  0x3c000519 in main (argc=2, argv=0xbffffa74) at main.c:32
#6  0x40214bb4 in __libc_start_main () from /lib/libc.so.6
(gdb) quit
 
Old 05-16-2003, 02:03 PM   #6
mhearn
Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
I haven't seen that one before, but I'd check for corrupted libraries/dlls
 
Old 11-18-2003, 05:29 AM   #7
meshmesh
LQ Newbie
 
Registered: Nov 2003
Posts: 15

Rep: Reputation: 0
i have the same problem with RD9 , plz tell me how to trace the core dump and how to load the symbol files
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
why iam getting problems like "...too many files opened" or "segmentation fault" naren_0101bits Linux - Newbie 2 07-19-2004 12:20 PM
wine and "Segmentation fault" jaan kaer Linux - Newbie 3 11-24-2003 04:21 PM
menudrake on 9.2 quits with "segmentation fault" error JustSlack Mandriva 11 11-20-2003 11:46 AM
"Segmentation Fault" error message when trying to run Yahoo Messenger on Linux 8.0 niranjanpage Linux - Software 6 10-27-2003 01:21 AM
f-prot anti-virus "Segmentation fault" error and other weird stuff dalek Linux - Software 9 10-22-2003 07:37 PM


All times are GMT -5. The time now is 03:52 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration