SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have a PC with 64-bit Slackware 14.0 and multilib installed. I also have a netbook with 32-bit Slackware 14.0 installed.
I have blassic and dosbox installed on both (as 32 bit executables on the PC as well).
I find that when running blassic on the netbook, as soon as I try to dimension a string array, the program aborts with a "Segmentation fault" (and the Terminal program loses its cursor). No problem on the PC though.
Recently I decided to install Windows 3.1 on dosbox. I had no problems doing so on the netbook but I couldn't get very far on the PC before I got the dreaded "Segmentation fault".
This is a particularly unhelpful message as it is as if the system is trying to pretend that the program never ran. I am guessing that a library file might be the culprit but with no information whatsoever given when the fault appears, I am completely at a loss as to how I could track it down.
Is there any way to track down Segmentation faults? Could a static linking (if this is possible) help?
This is a particularly unhelpful message as
This is a particularly helpful message because it often reveals a memory handling problem early. Compile the segfaulted program with debug information and run it under gdb or valgrind will narrow the problem down.
There are several places in the configure file where CXXFLAGS "seem" to be assigned "-g" (Line 2233 is one place, also 2291 to 2299) switch which would indicate build with debug option. I say "seem" because there are if/else stuff. Did you try to run under gdb as proposed by @guanx?