Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.