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.
So according to the links , there is an inside problem on the C++ code of he software i listed.
Isn it weird that one of them used to work but now it doesnt?? And i certainly didnt messed up with their core files.
Segmentation faults can be caused by faulty ram, however that's not the only possible cause.
Technically, a segfault happens when a program tries to use ram which is out if his scope, or when it tries to use it in a way that's not supposed to. For example: trying to write on a read-only segment or something like that. So, any program that can do a buffer overflow is capable of segfaulting as well. Modern compiler, however, limit the amount of possible causes, because with each version they become better at predicting run-time errors (there are some cases where it's impossible to make a prediction, though).
working with pointers it's easy to create faulty code: referencing null or uninitialized pointers are possible causes, that includes lots of variants, like trying to operate on a file pointer without cheking if it's been successfully open or if it's value is correct and not garbage pointing elsewhere. But I am sure you don't really care about this.
Faulty ram can cause this because contents stored on (or retrieved from) a faulty memory cell can't be guaranteed to be trustable. If that cell held a pointer containing the offset for another variable, and it's a faulty cell, when you read it then odd things can happen, and the read value can point elsewhere, probably into an illegal region. That, of course, causes a segfault.
A borked compiled or toolchain can also produce that, as can crazy cflags and experimental packages. But if you don't compile your own binaries, then I suppose that's not your problem.
So, where to start? Pick a livecd that has memtest86+ as on its boot menu, and use it.
i have downloaded memtest86 but how do i tell it to start on boot-up so i can see if there are any errors??
Also i get this erors while booting and i want to know if they are connected to the RAM problem
Sep 20 01:35:05 noname kernel: [ 0.292307] system 00:01: ioport range 0x4d0-0x4d1 has been reserved
Sep 20 01:35:05 noname kernel: [ 0.292312] system 00:01: ioport range 0x290-0x29f has been reserved
Sep 20 01:35:05 noname kernel: [ 0.292316] system 00:01: ioport range 0x800-0x87f has been reserved
Sep 20 01:35:05 noname kernel: [ 0.292320] system 00:01: ioport range 0x290-0x294 has been reserved
Sep 20 01:35:05 noname kernel: [ 0.292324] system 00:01: ioport range 0x880-0x88f has been reserved
Sep 20 01:35:05 noname kernel: [ 0.292341] system 00:0a: ioport range 0x400-0x4bf could not be reserved
Sep 20 01:35:05 noname kernel: [ 0.292351] system 00:0b: iomem range 0xf0000000-0xf3ffffff could not be reserved
Sep 20 01:35:05 noname kernel: [ 0.292361] system 00:0c: iomem range 0xf0000-0xf3fff could not be reserved
Sep 20 01:35:05 noname kernel: [ 0.292365] system 00:0c: iomem range 0xf4000-0xf7fff could not be reserved
Sep 20 01:35:05 noname kernel: [ 0.292370] system 00:0c: iomem range 0xf8000-0xfbfff could not be reserved
Sep 20 01:35:05 noname kernel: [ 0.292374] system 00:0c: iomem range 0xfc000-0xfffff could not be reserved
.......
......and so on
memtest86 and memtest86+ are different programs. memtest86+ comes as an option in the boot menu of many livecds (and install cds as well), that's what I advice you to use, because it works outside the OS.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.