CentOS 5 :: Gdb Segmentation Fault In Preemptible Kernel

Aug 3, 2011

I have built a CentOS 5.6 kernel with the Preemption Model changed from Voluntary to Preemptible Kernel. Everything works fine except for gdb. When attempting to debug a binary using start or run there is a segmentation fault. If I attach to a running process everything works fine. I expect that I need to make an additional change to the kernel config file, but don't know what it might be. I'm using menuconfig to make the changes: Processor type and features --->Preemption Model ---> [x] Preemptible Kernel (Low-Latency Desktop).

gdb /bin/true
(gdb) run
Starting program: /bin/true
During startup program terminated with signal SIGSEGV, Segmentation Fault.

View 6 Replies


ADVERTISEMENT

General :: Segmentation Fault - Kernel Crash

Feb 24, 2011

My system is running with powerpc and linux, i am facing some kernel crash problem.

I have pasted the trace and log

(1) Display the backtrace for the thread that crashed.

(2) Display argument parameters and local variables for the thread.

View 3 Replies View Related

CentOS 5 :: Yum Segmentation Fault

Apr 11, 2011

I did a Yum update last Friday. It was done before 5.6 was released so I still have 5.5 + various updates. Yum is now giving me a segmentation fault when I try to run it. I believe it has to do with an improperly synchronized version of sqlite which was updated and then Yum stopped working. I'm guessing that installing the latest Yum RPM will fix the dependency issues. Will this throw me out of sync with for instance updating to 5.6?

View 5 Replies View Related

Fedora Installation :: F12 Preupgrade Kernel Panic - Segmentation Fault

Dec 21, 2009

I ran into a strange issue after doing a preupgrade from Fedora 10 to Fedora 12: Preupgrade worked as described, I upgraded successfully to Fedora 12 and also worked 2 days without any (major) issue. Then I had some issues with firefox (malloc errors, couldn't start) so I thought I'll do it the "Windows Way" namely reboot, and then no chance to boot fedora. I was hit by a kernel panic saying "init not tainted 2.6.31.6-166.fc12.i686". I was able to boot in rescue mode using the preupgrade installer (still in the grub menu) but even chroot /mnt/sysimage gave me a "Segmentation fault".

I am not able to re-upgrade the system since the installer tells me (on vty3) "product Fedora version 12 found on VolGroup00-LogVol00 is not upgradeable". I also tried to reinstall the installed kernel as well as upstart (hint from [URL]) from the preupgrade repositories (using rpm --root /mnt/sysimage --force ...) but the kernel install failed with %post and %posttrans errors (signal 11). I also did fsck.ext3 for the lvm partition with no success. Does anyone have some additional hints how to recover? It's a 32 bit install on an Intel p4 with 2GB RAM.

View 2 Replies View Related

Server :: Can't Log Into Centos - 766 Segmentation Fault

Mar 5, 2010

I have a centos server running nagios for monitoring. I restarted the machine, it is actually a console server anyway. After getting to the login screen, I typed in my user name but it never propt for my password. I can't even ssh into the system. So I tried to use the installation cd and enter into rescue mode where I typed chroot and was able to enter into the root environment. I was able to configure a network interface in the rescue mode and can ping the machine at this point, though can ssh still. In the root environment, I tried running couple commands. like try to restart the sshd. When I typed /etc/init.d/sshd restart, I got an error saying:

766 segmentation fault.

when I vi any thing I get error:

segmentation fault.

how can I solve this problem? What is causes this. Even in the event of restarting the machine, I see so many fails with segmentation fault.

View 5 Replies View Related

CentOS 5 :: Segmentation Fault In SARG?

Jun 3, 2009

When I start the SARG, its blow up with segmentation fault. Linux intra.local 2.6.18-53.1.13.el5 #1 SMP Tue Feb 12 13:02:30 EST 2008 x86_64 x86_64 x86_64 GNU/Linux

I already tried to empty all squid cache log and recompile (yum remove and yum install again) the sarg rpm w/o sucess.

View 1 Replies View Related

CentOS 5 :: Most Commands Get Segmentation Fault ?

Dec 19, 2009

I have a problem while trying to get rpm fixed I removed it then it removed yum also. I was able to get rpm installed and tried to install yum there was a bunch of depency files i had to install. After that then every command results in Segmentation fault some commands work like pwd does but not ls, rpm, vi and most other ones ive tried. server is still up and running.

View 3 Replies View Related

CentOS 5 :: Sometimes Programme Gives Segmentation Fault

Aug 20, 2011

I am new at Centos. Sometimes my programme gives segmentation fault. This line is from it:./hlds_run: line 321: 5680 Segmentation fault $HL_CM

View 1 Replies View Related

CentOS 5 :: Inkscape Installed By Yum - Segmentation Fault

Apr 23, 2010

Inkscape installed by yum. Next is The Xine player. I tried to install it by yum, but it reported depsolving problems with libavcodec52 and libtheora_enc and refused.

View 6 Replies View Related

General :: Segmentation Fault For Centos Mail Server?

Jan 5, 2010

My centos linux mailserver has crushed and does not allow any login form any user including root. I have managed to start it in single user mode but using vi editor, df command gives segmentation fault. I suspect the /var/* is full but I can neither remove any file/folder/mail/logs nor copy these to make a backup.Attempt to do this as single user/root is met with readonly files yet I have given full permissions to the files and the folders.

View 5 Replies View Related

CentOS 5 Networking :: Wpa_supplicant Segmentation Fault Ralink X86_64?

Feb 24, 2009

I'm struggling to get up an wireless card (EDIMAX PCI adapter based on Ralink RT2561/RT61 802.11g chipset). So far, so good, I manage to install ralink drivers:

# lsmod | grep rt61
rt61 220296 0
# iwconfig
lo no wireless extensions.
wlan0 RT61 Wireless ESSID:"DiamondAccess" Nickname:"localhost.localdomain"
Mode:Managed Frequency:2.412 GHz Bit Rate=54 Mb/s

[Code]...

View 2 Replies View Related

CentOS 5 :: Cron Errors - Segmentation Fault, Floating Point Exception

Dec 7, 2009

I'm running CentOS 5.4.In the last three days I've started to get various cron errors:

/bin/sh: line 1: 7066 Segmentation fault /usr/local/scripts/cron.email.sshd.access/cron.email.sshd.access.pl
/bin/sh: line 1: 4822 Floating point exceptionsudo -u mobile getmail --quiet
Can't load '/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/RRDs/RRDs.so'

[code]...

Then yesterday I rebooted, and all the other errors seemed to have disappeared for now, but, I am now getting:

/bin/sh: line 1: 23600 Segmentation fault sudo -u mobile getmail --quiet

I have setup cron to call getmail once every 3 minutes, and I get this error about 4-6 times an hour.

View 11 Replies View Related

CentOS 5 :: Segmentation Fault Error When Trying 'yum Update' Or 'yum Check-update' After Running 'yum Clean'

Jul 26, 2011

On two Centos5 servers, yum gives a segmentation fault error when trying 'yum update' or 'yum check-update' after running 'yum clean' :

[Code]....

The error is the same for the other computer except while attempting to update the rpmforge repository. Nothing has really changed on the servers in some time and 'yum update' worked fine on each yesterday and I have no idea why they would both suddenly fail!

View 3 Replies View Related

Programming :: What Is The Segmentation Fault

Apr 19, 2011

I using a linux kernel v2.6.26.something. Distribution: OpenSuse 10.3. While writing a c program on linux in KATE, i used character pointers to declare a string like, for ex: " char *temp " but compilation with gcc gives me the error," Segmentation Fault " what is segmentation Fault Why does it occur or what are the reasons behind it?

View 14 Replies View Related

Debian :: VLC Segmentation Fault - Microcode?

Feb 26, 2016

VLC was behaving weirdly recently and when I've tried to run it with primusrun command (since I have optimus card) it gave me a segmentation fault

Code: Select allVLC media player 2.2.1 Terry Pratchett (Weatherwax) (revision 2.2.1-0-ga425c42)
Segmentation fault

I've read on google that issue has been solved by a few people from updating the microcode, but I don't even understand what microcode is, I'm also not sure whether I should install amd64 or intel package for it?

Here is my lscpu

Code: Select all$ lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                4
On-line CPU(s) list:   0-3

[Code] ....

View 8 Replies View Related

Fedora :: Kde Making Segmentation Fault?

Jan 14, 2010

my KDE is making segmentation fault. KDE is not required to restart but this segmentation fault is making every time (after 2 min) when i login to kde/fedora. this is making me annoying.. my linux info is following:

uname -r # 2.6.31.9-174.fc12.x86_64
KDE: 4.3.4 (KDE 4.3.4)
problem:

[code]....

View 5 Replies View Related

OpenSUSE :: Segmentation Fault During Shutdown

Feb 8, 2010

I updated kernel to 2.6.31.12-0.1-desktop yesterday and now i have problem with shutdown.
Everything goes as usual and system shutting down, but after all monitor keeps to work, and computer also doesn't halt.The last two lines i see on screen are:The system will be halted immediately Segmentation Fault Also i hear that some cooler or may be hard disk stops after this. But monitor and the rest of computer are still working With previous kernel i had no this problem.Reboot command works normal

View 9 Replies View Related

OpenSUSE :: Segmentation Fault In Skype?

May 5, 2010

Some time ago I had to reinstall all my packages under 64-bit OpenSuse 11.2. After that I can't get Skype working - Skype always gives me "segmentation fault" when trying to execute it (from command-line).

I've followed steps recommended in wiki, I've tried different versions (32-bit as well as 64-bit RPMs) downloaded from different repositories (including old 1.4.0.xx). Nothing changes anything.

I don't have any webcam and I've never had one, so I guess it cannot be related to that.

View 1 Replies View Related

Ubuntu :: Firefox 3.5.7 Segmentation Fault

Feb 16, 2010

I just have installed Karmic Koala and have a problem running Firefox. I`ve seen that this is quite a common problem, but since I`m a newbie, I have no idea what to do. I have not found any solutions that would solve my problem yet. Every time I try to load a website including flash advertisings, Firefox just quits.

All the time I get this output.

Code:

View 1 Replies View Related

Ubuntu :: Apt-get Error: Segmentation Fault

Apr 28, 2010

I was in the process of installing something via apt-get. The laptop crashed halfway through, and now I cannot install anything new, do any updates/upgrades. I also cannot open Synaptic.When running apt-get in the terminal I get the following error:

Segmentation fault

View 3 Replies View Related

Ubuntu :: Synaptic Segmentation Fault?

Jul 4, 2010

I've been looking for an answer for this around all forums, but nothing works.So far, I've tried:

Editing "/etc/apt/apt.conf.d/70debconf" and adding
Code:
APT::Cache-Limit "33554432";

[code]....

View 3 Replies View Related

Ubuntu :: Segmentation Fault In Geany

Aug 6, 2010

I just made a pretty simple program in geany (GCC with default options)and I ended up with Segmentation fault. program is pretty simple and it performs binary search on an array.I know what segfault is but here I m clue less about why it is happening.and one thing more, the program runs fine in turbo C++ compiler.Same thing happened earlier too when I was making a program which included some simple string manipulation

View 1 Replies View Related

Programming :: Socket And Segmentation Fault

Jul 16, 2010

I am programming an application with an ARM device with an embedded version of Linux. My application talks to a java application via socket. If there is any connection problems, it attempts the connection again. My problem is that after exactly 146 times, there is a Segmentation Fault. Apparently this happens in opening the socket, which is not successful after this amount of attempts.

Following, some code that I'm using:

The function for openning the socket and perform a connection:

Code:

View 2 Replies View Related

General :: What Different Between Segmentation Fault And Aborted

Mar 11, 2010

What different between Segmentation fault and aborted

When I read about dbg I make different reason from the tutorial ....with the same code

Example in tutorial the gdb Display a message like this

Code:

And in my computer I have

Code:

I want to know what the different between them

View 2 Replies View Related

General :: Segmentation Fault With Ls On Certain Directory?

May 11, 2010

I have a problem with a directory which contains my music collection. It can't be opened; all other directories work fine. I can cd into my ~/Music directory, but ls gives segfault and KDE programs hang when trying to open this directory. The problem probably has appeared after the rename of subdirectory under the Windows (don't remember particular ext3 driver; can check tomorrow).fsck says that the partition is fine. The whole disk is mounted on the single partition. Windows is located on another physical disk.Is there any way to recover my directory?

View 4 Replies View Related

Programming :: [C] Segmentation Fault If Optimized?

Feb 15, 2011

I wrote a small c-code, which is based on a pseudorandom-alogrithm from the internet[URL]If i compile the code with "gcc test.c -o test -O2" the output is: "4194449".That's ok.I can compile the code without optimizations and the outut is the same.But if i compile the code with "gcc test.c -o test -O3" it creates a segmentation fault. But why? why this happens?Here the code:

Code:
#include <stdio.h>
// Code based on http://www.dreamincode.net/code/snippet342.htm

[code]....

View 3 Replies View Related

Programming :: How To Create Segmentation Fault?

Jun 16, 2010

simple program to create a segmentation fault:my problem is if i include the same code char *s="hello world"; *s='H'; in my project, it is not giving any seg fault, instead it runs without any problem. what may be the issue.

View 13 Replies View Related

Programming :: Why Red Hat Cannot Log Segmentation Fault In Any Of Log Files

Sep 16, 2010

I would just like to ask why my red hat cannot log a segmentation fault in any of the log files located in / var/ log. I purposely tried executing a C++ program that segfaults but nothing was logged.

View 3 Replies View Related

Programming :: Segmentation Fault Error And GDB

Jul 23, 2010

When I compile my C program on SUSE, I receive a segmentation fault error. To my knowledge, this occurs when a program tries to recall memory but is not allowed to. So I'm using GDB for the first time to solve this problem. After a series of commands, I reach this point:

Code:
#0 0x00002b13e1bab127 in getdelim () from /lib64/libc.so.6
#1 0x000000000040167b in main () at dmsp_cusp.c:158

Here's the offending code in dmsp_cusp.c:
Code:
157 printf("enter the input file name:");
158 getline(in_fname);
159 fp3 = fopen(in_fname, "r");
160 if(fp3 == NULL) {
161 printf("can't open input file %s",in_fname);
162 exit(1); }

View 1 Replies View Related

Programming :: Segmentation Fault During The Memcpy()

Feb 20, 2010

Why is this giving me a segmentation fault ?

Code:

#include<stdio.h>
#include<string.h>
#include<malloc.h>
int main ()

[code]....

View 10 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved