Networking :: Getting An "Segmentation Fault" Error?
Mar 9, 2011I am getting an "Segmentation fault" error when i change my adhocrouting from AODV to DSR...
View 1 RepliesI am getting an "Segmentation fault" error when i change my adhocrouting from AODV to DSR...
View 1 RepliesI 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
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); }
I am getting Segmentation fault error .Dont know where it is
Code:
#include <unistd.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
[Code]....
Getting Segmentation fault
I am getting this message: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate. for every compilation that takes longer (ie: linux kernel, kde sources etc.)
I've tried other OS (at that moment I was on Fedora 12, now on Debian; was a Suse also) and it didn't work. I've tried replacing my hard disk, since it needed an upgrade either ways - that didn't work either. I assumed that it's the RAM fault - tested them with memtest and it says they are fine. Does anyone know what else I can do in order to figure out where the problem is?
I am using Ubuntu 9.04 linux 2.6.28-11-generic. When I write a program that gives the "Segmentation fault" error, or when I send this signal (SIGSEGV) to a program, the "Segmentation fault" is shown and no core dumped. When I look for "core" file in the current directory, I can't find it, too.
View 2 Replies View RelatedI am using RHEL 6. When i use CAP3 software for the first time it successfully resulted. But second time when i used, it's showing "segmentation fault (core dumped)". Even after restarting and reinstalling it showing same error. When i google, i found it some memmory related problem. But no clear information.
View 3 Replies View RelatedI had Skype debian_2.2.0.35-1_amd64 on my Debian 2.6.32-5 amd64 and it was working without any problem. After re-installing my gnome desktop environment, my skype stopped working. I tried to re-install it. I found out it re-installs without any error but it doesn't launch and gives me "segmentation fault" error on terminal. I purged skype, deleted the .skype folder and installed it again with no luck. when I try to re-install skype via software center it says: "Sorry, 'skype' is not available for this type of computer (amd64)." what should I do to have the skype working on my system again?
View 9 Replies View RelatedI installed Centos 5, httpd 2.2.3 and php5.3.6 with yum.
We have a website which can upload JPEG file to the server via php. But when we uploaded file, it showed the error
Quote:
child pid 13810 exit signal Segmentation fault (11)
I tried to run gdb on my computer and it showed that
Quote:
0xb6d1a600 in ?? () from /usr/lib/libjpeg.so.62
I'm running ubuntu server 10.10 64 bit.
1. Set quota in /etc/fstab like this:
/dev/sdb1 /var/www reiserfs defaults,usrquota 0 2
2. Checked quotas:
# quotacheck -cavm
quotacheck: Your kernel probably supports journaled quota but you are not using it. Consider switching to journaled quota to avoid running quotacheck after an unclean shutdown.
3. Tried to activate quotas using "quotaon -a" and got a segmentation fault error.
When I change filesystem to ext3 (using mkfs.ext3 and changing /etc/fstab) it works well. So there are 2 problems, quotacheck warning about journaled quota and the segmentation fault error.
I got a problem with Okular crashing. This is the error message i get
Excutable okular PID 4927 Signal: Segmentation fault(11)
The PID is a different number each time i try to open a file. What could be causing this.
I'm running SLES 10 sp 2. I have failed to bring up eth0:
/sbin/ifup: line 1100: 5059 Segmentation fault ip link set up dev $INTERFACE ${LLADDR:+address $LLADDR} $LINK_OPTIONS
Cannot enable interface eth0
[code]....
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]...
There is a segmentation fault error while receiving http request side program. Following is the code:
Code:
#include<iostream>
#include <sys/types.h>
[code]...
I recently bought an HP OfficeJet 6500 AIO printer. Since the printer has ethernet connectivity, I have managed to setup the printer with the 32bit openSuSE 11.2, 11.3 machines I have in my network. However, the 64bit 11.1 is another beast. I cannot make the printer work. The default and updated from officials repos hplip does not contain the PPD file for the printer/scanner/fax.I added the "Printing" repository (Index of /repositories/Printing/openSUSE_11.1) and downloaded the 64bit versions of hplip, hplip-hpijs packages. Now, the issues:hp-setup does not run with "Segmentation fault" error! Although I can see the printer, setup and modify it's configuration, cups cannot print, not even a test page.The errors I have are:
Code:
Unable to execute /usr/lib64/cups/filter/hpcups: No such file or directory
Regarding the 1st error, I "solved" it by using the hplip-qt3 package from KDE_3 repository. And when I used that version of hplip, (3.10.9-4.2, instead of the 3.10.9-31.1 of the Printing repository), I had no more filter related problems (foomatic etc).For the second one, it is obvious that the problem is related to the location of the 64bit filters.The /var/log/cups/error.log has the following lines:
Code:
I [13/Jan/2011:20:50:52 +0200] [Job 60] Started filter /usr/lib64/cups/filter/pstops (PID 30039)
I [13/Jan/2011:20:50:52 +0200] [Job 60] Started filter /usr/lib64/cups/filter/pstoraster (PID 30040)
code....
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!
I am no longer able to run K3B. I get an error "Executable: k3b PID: 8469 Signal: 11 (Segmentation fault)". I tried uninstalling and reinstalling K3B but still the same. I googled the error message and have not come up with any results other than it seemed to be a bug with earlier versions of Linux than mine. One change I have made to my system is updating the kernel to 2.6.35-30 generic
View 3 Replies View RelatedI 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 RelatedI 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 RelatedVLC 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] ....
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]....
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
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.
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:
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]....
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 RelatedI 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:
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
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 RelatedI 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.