CentOS 5 :: Segfault Error 6 - Bash Script

Jul 14, 2009

I've got problem with one bash scrip which can run for random time (12h+) and then segfault:

clusterapp[17029]: segfault at 00007fff23100d00 rip 0000003da22426b4 rsp 00007fff23100cd0 error 6
clusterapp[14659]: segfault at 00007fff45cc3f50 rip 0000003da22426b4 rsp 00007fff45cc3f20 error 6

bash script:

updateMaster() {
echo 10.100.123.11 > /tmp/master
sleep 5
updateMaster
}
updateMaster

View 1 Replies


ADVERTISEMENT

CentOS 5 :: How To Diagnose Bind Segfault Error

Jul 9, 2010

I downloaded bind 9 on my machine, but when I try to start the service "service named start" it fails. I found the logs by grep named /var/log/messages

Jul 8 22:10:49 localhost named[27072]: starting BIND 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 -u named -D -t /var/named/chroot
Jul 8 22:10:49 localhost named[27072]: adjusted limit on open files from 1024 to 1048576
Jul 8 22:10:49 localhost named[27072]: found 2 CPUs, using 2 worker threads
Jul 8 22:10:49 localhost named[27072]: using up to 4096 sockets
Jul 8 22:10:49 localhost named[27072]: loading configuration from '/etc/named.conf'
Jul 8 22:10:49 localhost named[27072]: using default UDP/IPv4 port range: [1024, 65535]
Jul 8 22:10:49 localhost named[27072]: using default UDP/IPv6 port range: [1024, 65535]
Jul 8 22:10:49 localhost named[27072]: listening on IPv4 interface lo, 127.0.0.1#53
Jul 8 22:10:49 localhost named[27072]: listening on IPv4 interface wlan0, 192.168.1.3#53
Jul 8 22:10:49 localhost named[27072]: command channel listening on 127.0.0.1#953
Jul 8 22:10:49 localhost named[27072]: command channel listening on ::1#953
Jul 8 22:10:49 localhost named[27072]: the working directory is not writable
Jul 8 22:10:49 localhost named[27072]: zone admin.myhost.remcycle.net/IN: loaded serial 2010070700
Jul 8 22:10:49 localhost named[27072]: zone admin.myhost.remcycle.net/IN: sending notifies (serial 2010070700)
Jul 8 22:10:49 localhost kernel: named[27073]: segfault at 00002aaaac0000d8 rip 00002aaaac0000d8 rsp 0000000040e78f58 error 15

I hear that "The working directory is not writable" is nothing to worry about and is just something that is complains about for no reason, but I can not decipher.
"Jul 8 22:10:49 localhost kernel: named[27073]: segfault at 00002aaaac0000d8 rip 00002aaaac0000d8 rsp 0000000040e78f58 error 15 "
I know segfault is having some memory problem at 00002aaaac0000d8 but does rip mean insertion point? What is rsp? Where do I find out what error 15 means?

View 12 Replies View Related

CentOS 5 :: Npviewer.bin Crash With The Segfault?

Jul 7, 2009

when open an pdf and close the tab/windows at firefox I get the error at syslog: kernel: npviewer.bin[21396]: segfault at 0000001000000000 rip 00000030abe2646c rsp 00007fffb0978ca0 error 4

I use the last Acrobat Reader.CentOS 5.3 x86_64

View 6 Replies View Related

CentOS 5 :: Mod-php Causing Apache To Segfault?

Sep 22, 2010

I have a newly installed centos 5.5 x86_64 running as a guest on a xen environment. I've installed httpd, mysql, php, mod-php, cacti and some how mod-php i causing apache to exit with segmentation fault. I don't understand whats causing the problem, I have similar boxes with the same setup that works.

[Wed Sep 22 09:19:47 2010] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Wed Sep 22 09:20:11 2010] [notice] child pid 3040 exit signal Segmentation fault (11)

View 1 Replies View Related

Fedora :: Memory Dumps - Segfault At 00000008 Eip 084ed6a5 Esp 003340d0 Error 4

Apr 2, 2010

I am using Fedora 7 for making a server. I have installed Kaspersky mail gateway solution on that. but the solution is not working. I found an error in the message log file that is Mar 30 20:29:28 srfed kernel: mailgwd[2452]: segfault at 00000008 eip 084ed6a5 esp 003340d0 error 4 It means that the process for mail gateway dropped for some reason. I need to see the memory dumps and save them for future use.

View 1 Replies View Related

Fedora X86/64bit :: Compiz[3329]: Segfault At 3d9786e288 Ip 0000003d93c3a4b2 Sp 00007fff332d0f10 Error 4 In Libglib-2.0

Feb 4, 2009

I am seeing this in my dmesg ouput:

Code:

compiz[3329]: segfault at 3d9786e288 ip 0000003d93c3a4b2 sp 00007fff332d0f10 error 4 in libglib-2.0.so.0.1800.4[3d93c00000+e0000]
I have an nVidia Quadro FX 570M card and I am using nVidia's 177.82 drivers:

Code:

NVRM: loading NVIDIA UNIX x86_64 Kernel Module 177.82 Tue Nov 4 16:50:05 PST 2008 I believe error 4 is "Interrupted system call".

View 3 Replies View Related

CentOS 5 :: Bash: /bin/grep: Cannot Execute Binary File CentOS 5.4

Jun 4, 2011

I am facing problem on executing commands like df -h,ls-l,grep etc in /bin.

it is showing below errors:--
----------------------------------------------------------------------------------
login as: root
root@220.226.102.217's password:
Last login: Sat Jun 4 11:14:20 2011 from 220.227.54.149
-bash: /bin/egrep: cannot execute binary file

[code]....

View 2 Replies View Related

Ubuntu :: Create New Directory But Keep Getting Same Error - Bash: Syntax Error Near Unexpected Token `newline'

Jan 13, 2010

I'm trying to create a new directory using the mkdir command.

Code:

home@ubuntu:~$ mkdir <aicoursework>
bash: syntax error near unexpected token `newline'

that's the error that i keep getting, what am i doing wrong?

View 5 Replies View Related

Ubuntu :: ERROR --bash: Syntax Error Near Unexpected Token 2

Feb 4, 2010

The following problem occurs to me, I'm creating a distribution (as a class project) for my school (I'm studying telecommunications and computer systems). I am following, in order to create the distribution, the manual that you can find on this page: [URL] But when I get to write:

[Code]...

View 3 Replies View Related

General :: Bash Error - Syntax Error Near Unexpected Token `{

Mar 4, 2010

I am new to shell scripting, bash specifically.

I am trying to run the following script:

Code:

When trying to execute I always get this error:

Code:

In case you need to know the permissions. Here is it:

Code:

I run the script using the following command:

Code:

View 1 Replies View Related

OpenSUSE :: Automount: Segfault At ... In Lookup_hosts.so?

Feb 4, 2010

automount[9052]: segfault at 60 ip 00007f75c15bcd7c sp 00007f75c0753c30 error 4 in lookup_hosts.so[7f75c15b6000+1b000]/etc/hosts...10.226.219.46 zbv6 zbv6.gud.s.atcd /net/zbv6/home

View 2 Replies View Related

Ubuntu Multimedia :: PSX Crashes With A Segfault?

Feb 19, 2010

When attempting to run pSX on Ubuntu 9.04 (and the 9.10 livecd), it crashes with a segfault. I -have- read [URL] and tried shutting down pulseaudio as recommended there. However:

Code:
$ sudo /etc/init.d/pulseaudio stop
* PulseAudio configured for per-user sessions
$ sudo killall pulseaudio

[Code]....

How do I get pSX working? I tried copying the psx.ini file from another machine because the thread says pSX works fine after you change the sound device used, but it still segfaults when I try running it.

View 2 Replies View Related

Ubuntu :: Compiz SegFault Randomly In 11.04?

May 6, 2011

I am on a fresh install of Narwal. I've switched to classic because unity wasn't mature enough IMO. Just installed ccsm and now my display will crash randomly after running for a short while.

Code:
daniel@orange:~$ compiz --replace --debug
compiz (core) - Debug: Could not stat() file /home/daniel/.compiz-1/plugins/libcore.so :

[code]....

View 2 Replies View Related

Software :: How To Debug Ns-2 Code For Segfault

Jun 14, 2010

Code:
$ cat segfault.c
int main(void)
{
char *s = "hello world";
*s = 'H';

[Code]....

So, now we know where exactly the problem occures. I know only these three commands to debug using gdb. But in case of ns-2 code, I don't know how to use gdb.

I changed a routing protocol's C++ code in ns-2 and successfully recompiled ns-2 but when I run any tcl script with that particular protocol, I get 'segmentation fault'. Now I want to trace what part of the code is causing this. I have tried using 'printf's at suspectable places. Is this possible to debug ns-2 code with gdb just like the segfault.c above? I am useing fedora 9.

View 14 Replies View Related

Programming :: C - Malloc Causing Segfault?

Mar 20, 2010

Code:
#include <stdio.h>
#include <stdlib.h>

[code]...

View 3 Replies View Related

Programming :: C - Segfault During Malloc. How To Use The Pointers

Mar 23, 2010

So the place where I'm having a problem is here:

Code:
typedef struct {
void **Mem_Chunk;

[code]...

View 10 Replies View Related

Programming :: Segfault In Program Using Pthreads

Mar 16, 2010

I am trying to write a peer to peer application in C++ using pthreads library. There are few types of nodes that run in the program. The 'beacon' nodes form the core of the network. The ordinary nodes 'join' the network by sending join requests to the beacon node. So, my program runs till the join requests and responses are received. When I try to 'connect' using connect function from the socket library, I get a segfault. I am not sure if the segfault occurs for the connect function, because sometimes the program just runs to completion. It could be an issue related to threads or memory allocation.

When I run gdb, it shows me the following:
Code:
(gdb) run b2-n00.ini
Starting program: sv_node b2-n00.ini
servant:12600> [New LWP 1]
[New LWP 2]
[New LWP 3]
[New LWP 4]
[New LWP 5]
[New LWP 6]
Before Exiting[LWP 1 exited]
procfs: fetch_registers, get_gregs line 3768, /proc/23952/lwp/1: No such file or directory.

View 6 Replies View Related

Slackware :: Gs Segfault When Joining Pdf Files?

Dec 28, 2010

I usually use the following command to join several PDF files in one :gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=output.pdf input1.pdf input2.pdfHadn't have to do it for a while but today, I needed it and thus fired my script.lam! gs segfaults.A quick internet search and I found this :https://bugs.archlinux.org/task/22006Though Arch related, while I'm running slackware64-current, the behaviour was exactly the same as mine.In the above thread, one guy linked to a bug report which seems to be theculprit :http://bugs.ghostscript.com/show_bug.cgi?id=691831gcc 4.5.1, gs 9.00, x86_64, indeed, slackware64 seems to be exactly in that situation.

View 2 Replies View Related

Slackware :: Execute Skype 2.1.0.81 Getting Segfault

Apr 28, 2010

Has anyone had any luck getting a slackbuild to work with the newest version of skype 2.1.0.81? I tried with the static binary but when I go to execute skype I get a segfault. I also tried with a different slackbuild and it doesn't work either.

View 9 Replies View Related

Slackware :: Upgrade To 13.1 Causes Segfault In Program That Ran Under 13.0

Mar 10, 2011

I have a custom program that has been running on Slackware since about 2004. It was running fine on Slackware 13.0, but an upgrade (following the procedure in UPGRADE.TXT) to 13.1 causes the program to segfault on a read/write op to the serial port (details here).

what might have changed between 13.0 and 13.1 that might affect serial port programming? I've been through CHANGES_AND_HINTS but nothing is jumping out at me.

View 14 Replies View Related

Slackware :: XDM Segfault After Upgrading To RC1 1337

Mar 10, 2011

I encountered "xdm segfault" error due to libXt upgrade. startx worked, but xdm failed. Should be same bug as this link: [URL]

View 3 Replies View Related

Debian :: Colord-sane Segfault During Boot

Sep 6, 2015

I just saw this message in the syslog and wondered if it could have anything to do with my previous problems with LXDE crashing:

Code: Select allSepĀ  6 08:03:34 MyComputer kernel: [ 1003.788502] colord-sane[3381]: segfault at 21 ip b4de95ba sp b5609fb8 error 6 in libdbus-1.so.3.7.2[b4dbe000+4a000]

I have read a number of bug reports regarding this issue and it appears to go back about two years. It was supposedly fixed but that does not appear to be the case unless there is something peculiar with my Wheezy 7.8 installation.I just found this on a Ubuntu bug report. It is related to a colord-sane but not necessarily exactly the same as what I am experiencing.This is a libsane bug, not a colord bug. If you want to to work around it, change /etc/colord.conf to have UseSANE=false

View 2 Replies View Related

Fedora :: Ardour Fails To Start With Segfault

Dec 27, 2010

I recently changed my system from Ubuntu/Suse to Fedora14. Starting Ardour2 or Ardour3 (both build from SVN) or Ardour from the Repo-Package I get this:

[code]...

Ardours Dev Paul Davis thinks, this is an issue with libxml2 but upgrading libxml2 and even downgrading it did not work either. With the fresh install of Fed14 2 weeks ago the Package from the repo did work very much OK. is there anything I can do?

View 3 Replies View Related

Ubuntu :: Unable To Access KDE Desktop Due To Segfault

Apr 16, 2010

For the past few weeks my system has been exhibiting some strange behavior. The first of these instances has been in the form of a total system lockup necessitating a power cycle -- ie. no kernel panic or oops, but cessation of all on-screen activity and an unresponsive mouse and keyboard. ( The first lockup occurred when the monitor was powered down)

Just a few days ago, I started noticing something else : Launching Firefox (3.6.4pre) resulted in it locking up near start-up especially if I was logged into Gmail. After that I experienced a total system lockup and then another one which has placed me in the situation as suggested in the title.

Specifically, KDM and the KDM login manager will start-up and I will be allowed to type my password. Immediately after that when the first of the icons in the KDE start-up animation starts to come into focus the screen goes black and I am returned to the KDM login manager -- I can enter my password again and continue this process ad infinitum.

Trying to diagnose the issue, I attached GDB to KDM. It seems that after I enter my password one or more of the KDE start-up processes dies with signal 1 or to be more specific :

Code:

Program received signal SIGUSR1, User defined signal 1.
0x00007f4ae742d3c3 in select () from /lib/libc.so.6
(gdb) bt full

[code]...

View 3 Replies View Related

Ubuntu :: Get A Segfault Whenever Running Programs With OpenGL?

Oct 24, 2010

I'm running Ubuntu 10.04, and for some reason I get a segfault whenever running programs with OpenGL. I ran "lspci | grep VGA" in the terminal and this is the output:

Code:
02:00.0 VGA compatible controller: ATI Technologies Inc M92 [Mobility Radeon HD 4500 Series]

View 2 Replies View Related

Ubuntu Multimedia :: X11 Segfault With Tri Monitor Dual Gpu

Jul 31, 2011

I have tried to setup a workstation with 3 monitors on two ati videocards, the goal being to span the desktop across all of them.

The process was not difficult at all, but after login X11 crashes and I am left with a console. I am fortunately able to login in safe mode, but I would like to ask for help in debugging this issue.

Here I will try to give as much detail as possible, starting with my system specifications:

Code:

The first card, the ATI Radeon HD 4650 is capable of running two monitors at the same time. The monitors, for all it matters, are three identical ACER P206HV 20" connected with their analog interface (due to missing cables which I will buy soon). Resolution 1600x900 each. My motherboard is an AsRock 870 Extreme3 mounting an AMD Athlon II X4 640 3 GHz processor and 8 GB of RAM.

When asked by Ubuntu, I installed the ATI Caralyst driver version 11.6 and set it up for using Xinerama.

As I said, this setup works fine if I login in safe mode, but crashes X11 otherwise (even in classical mode - no Unity). By inspecting the logs (attached) I found this (notice the segfault)

Code:

As a test, I tryed to configure Catalyst without Xinerama, an this works, but of course I end up with two separate desktop, which is not what I want. In this mode, xrandr seems to work correctly

Code:

After some research I found that XRandR does not support desktop spanning over multiple GPUs, so Xinerama is the only way to go in my case. Since the two are not compatible with each other, after login in safe mode I see that XRandR is disabled

Code:

One more test consisted in disabling the XRandR module in the config files, as found in some posts: edits in /etc/X11/xorg.conf

Code:

configuring the ati driver:

Code:

View 3 Replies View Related

Debian Configuration :: Nautilus Segfault Preventing Login By Gdm

Mar 5, 2010

I removed my .gnome and .nautilus folders and .notifier file. it is working now. I do not know exactly which of these 3 fixed it but I hope this might help someone else!I have some major issue with nautilus which is preventing me from loogging in into my system which is kind of criticle this weekend.I'm running Squeeze with latest updates.

The problem:Today gnome gave some problems caus my taskbar was suddently gone. I couldn't get it back to i reinstall gnome-desktop and updated my whole system. At the update some yes/no questions on a blue screen asking me to restart cups etc had corrupted yes/no buttons. Weird character sets were shown. Well that can happen sometimes i thought.After reinstalling gnome i can't login anymore. My screen keeps flashing while it shows the loading icon of the mouse.Anyone got suggestions? I can't find similar problems on the internet, only problems that happen while already logged in. In my case the segfault prevents gdm starting!
Maurice

View 1 Replies View Related

Debian Multimedia :: Segfault In Libxcb.so.1.1.0 Loading Plasma5

Sep 6, 2015

I'm having some trouble after the day 31 upgrade. Using the lightdm, kdm or sddm I'm unable to start a plasma session. Through dmesg I'm seeing that something is wrong with libxcb:

Code: Select all[ 3036.768102] drkonqi[5137]: segfault at 0 ip 00007fe39dce1a74 sp 00007ffce440bbb0 error 4 in libxcb.so.1.1.0[7fe39dcd7000+21000]
[ 3036.866658] drkonqi[5140]: segfault at 0 ip 00007fb637258a74 sp 00007ffe73d9cdd0 error 4 in libxcb.so.1.1.0[7fb63724e000+21000]
[ 3038.292760] drkonqi[5146]: segfault at 0 ip 00007efe584c8a74 sp 00007fff76ee5d70 error 4 in libxcb.so.1.1.0[7efe584be000+21000]
[ 3038.395858] drkonqi[5149]: segfault at 0 ip 00007f0fbc309a74 sp 00007ffc45fc0e20 error 4 in libxcb.so.1.1.0[7f0fbc2ff000+21000]

And I'm getting this in xsession-errors:

Code: Select allXsession: X session started for cris at Dom SetĀ  6 12:17:01 WEST 2015
localuser:cris being added to access control list
startkde: Starting up...
kdeinit5: preparing to launch 'libkdeinit5_klauncher'
kdeinit5: Launched KLauncher, pid = 5789, result = 0
Qt: Session management error: networkIdsList argument is NULL

[Code] .....

View 1 Replies View Related

Ubuntu Multimedia :: All Music Players Crash - Segfault?

Feb 4, 2011

Rhythmbox crashes on startup, Clementine crashes once I try to play any file, Banshee crashes after the first second of any file. Totem actually still works, but it's not a very satisfying media player. :P This occurred suddenly after working fine for, well, months. I read that I should check whether I have the standard up-to-date gstreamer/pulseaudio/liborc versions installed, this seems to be the case.

Here the terminal output for all crashes:

Quote:

Quote:

Quote:

View 2 Replies View Related

Ubuntu :: GTK Win Decorator Segfault When Clicking On Menu Icon

May 25, 2011

I am running 11.04, and was running under Unity, and then moved back to Gnome 2.23.1. I am having a segfault occur any time I click on the window menu icon for any window. Once this occurs all the menu bars disappearing and I cannot move any of the windows, minimise/maximise, and while I am able to close most windows via their menu's it is really annoying! To get it back up I have to call gtk-window-decorator from the command line. This is how I found out it was a segfault.

Code:
** (gtk-window-decorator:18789): CRITICAL **: Could not find frame info xd0u0012x8fu0008u0001 in frame type table
Segmentation fault

View 4 Replies View Related







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