Ubuntu Servers :: Oci8 Causing Segmentation Fault In PHP?
Apr 1, 2010
I'm having a problem with the oci8 module in PHP. I have been running this server for over a year with this configuration and never had an issue... I had been away since last Thursday, and suddenly this started happening this morning. I'm the only one who has server access, which has me baffled.
I've narrowed it down to the oci8 module because:
* I created a PHP script that does nothing except call oci_login(), which seg faults.
* Any web page that uses the oci functions fails... it asks you to download the PHP file, which is empty (likely because the oci_login call done before anything in PHP is printed).
View 1 Replies
ADVERTISEMENT
Dec 29, 2010
Running a clean install of Ubuntu 10.10 under VMWare Player on a Thinkpad with Win7. Have previously used Perl/TK for GUI apps to run under both Windows & Linux. Latest Activestate Perl (Windows) does not support Perl/Tk, recommends Tkx, so I wanted to see if Tkx would work under Ubuntu. Tried to install Tkx using cpan, got obscure failure indicating dependency problem. Found a recommendation to apt-get install tcl8.5-dev, and then cpan installed Tkx.
Note, perl 5.10.1 is installed in Maverick by default. apt-get upgrade says I have the latest perl, Tcl and TK. I installed Tkx version 1.09 (using cpan). Couldn't find any info on what perl / Tkx versions are compatible. Now Tkx is installed, but any attempt to run a script that uses Tkx causes a segmentation fault. apt-get installed pmtools to investigate. Even examining Tkx with pmtools can cause a seg fault, for example:
$ pmvers Tkx
Segmentation fault
Is Tkx known to work (or not work) under Ubuntu,version 10.10 or other versions? Any suggestions about what to try next?It's hard to find info about Perl Tkx because so many people put "Can u help, tkx in advance" or similar in postings about anything under the sun. I've read a lot of them.
View 1 Replies
View Related
Jan 8, 2011
I'm working on some code which suddenly is causing a segmentation on vsprintf. This was working before, so I cut and pasted some code from vsprintf function at the cplusplus site and even this is causing a problem. Anyway the example is
Code:
void PrintFError (const char * format, ...)
{
char buffer[256];
va_list args;
[code]....
View 5 Replies
View Related
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
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
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
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
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
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
Feb 4, 2010
When I install GNU Common Lisp, and run (help), it suggest that as a next step I run (HELP 'CONS). This halts with a segmentation fault.<br>When I attempt to install the CVS version, the installer compains and bails, also with a segmentation fault.<br>If the fault in my hardware, or is it a program bug that should be reported to someone? If hardware, how do I force a full fsck on /dev/sda when I boot up?<br>Instinct tells me the problem is in gcl (GNU Common Lisp, stable or CVS either one), because I'm not seeing problems otherwise.<br>
View 1 Replies
View Related
Feb 19, 2010
Using Ubuntu 9.10 & Pidgin 2.5.5 (upgraded from 2.5.2 while writing this post, but it did not fix the problem)This problem appeared after closing pidgin and trying to run it again i.e. restarting it (I have to restart it at some point after a long runtime, but that is another issue), it fully loads up (at least, it looks like it) and then instantly crashes with segmentation fault message. Judging from the first glance on the log, the crash has something to do with the windows live protocol.Of course, I have tried searching the web and this forum for an answer, but could not find any suitable one. There is one solution I have found, that is: (re)moving the .purple folder, but that "solution" is not really an option.
View 4 Replies
View Related
Aug 24, 2010
When I open up epiphany, it prompts me to either recover or don't recover my session.
No matter what the decision, it outputs a segmentation fault. I can load it with a -p switch, as well as loading it as sudo (just to test) so I'm kind of thinking if i can re set the session to default, then I will be able to get around it?
I haven't been able to test this though because I cant find where the config files for epiphany are! It doesn't output anything useful other than segmentation fault. As for openshot, I JUST installed it, and it installed with no errors, but when I try and run it, this is the output
Code:
OpenShot (version 1.1.3)
Process no longer exists: 27456. Creating new pid lock file.
A new frmMain has been created
Segmentation fault
View 9 Replies
View Related
Sep 16, 2010
I am unable to successfully start either the XFCE or Gnome desktops, in Gnome the my wallpaper is displayed but that is all. This problem appeared yesterday night after my hard disk filled up, then all Gnome programs began to crash, also "df" failed to terminate. I was able to clear some space from the terminal (around 2 GB).
I was able to run an xterm so I attempted to load the components of Gnome manually from the terminal, to see which were problematic. I found that every application which uses Gnome fails to execute, producing a segmentation fault. A Java crash informed me that a "problematic frame" producing SIGSEGV was libgnomevfs-2.so.0. I ran md5sum on all libraries matching the pattern /usr/lib/*gnome*, the checksums are identical to those on a working Ubuntu installation, so it is unlikely to be corruption of a library.
I have managed to determine that the problem is not in GLib or GTK+ as I wrote a simple (hello world) GTK+ application which executes without problem.Furthermore (due to a lack of Gnome's network manager) I am without a network connection on the problematic computer.
View 1 Replies
View Related
Oct 3, 2010
I have been a Windows user for many years but heard lots of good things about Ubuntu and wanted to give it a shot. I have a VMware ESXi 4.1 server so I created a new VM (Ubuntu desktop 32-bit), downloaded the Ubuntu 10.4 32-bit desktop image, mounted it, and started the installation. Everything worked fine and I got a working Ubuntu system. I created a snapshot just in case I need to get back to this position.
I then saw a prompt from Update Manager and decided to update everything it told me to, which is 300 updates. At the end, I was asked to restart and I did. At that point, the system was not willing to start again. Here is what I get (... stands for omitted text):
Segmentation Fault
Gave up waiting for root device. Common problems:
- Boot args (cat /proc/cmdline)
- check root delay ...
- check root ....
[Code]....
I have no clue what to do at this point. I tried going back to the snapshot a few times but always ended up in the same state after installing updates. I tried installing VMware tools before the running the update but it didn't make a difference.
View 9 Replies
View Related
Oct 25, 2010
My update-manager in ubuntu 10.10 is seg faulting this morning:alan@linux-1000:~$ sudo update-managerSegmentation faultThe UI flashes open for a fraction of a second before it crashes.I also tried apt-get:alan@linux-1000:~$ sudo apt-get install -feading package lists... DoneSegmentation faulty tree... 50%
View 4 Replies
View Related
Jan 31, 2011
I had a bad surprise today as I tried to start my Kubuntu: plasma-desktop segfaults when I try to start a graphical session (and I get into a black screen with a mouse that I can move, and I do get a notification for new updates appearing at the top of the screen, but that's all)... I can still login to console, but startx won't solve the issue. That's quite a serious issue and I can't find a workaround for now.
View 1 Replies
View Related
Apr 18, 2011
My computer sporadically gets segmentation faults multiple times daily, but when I try to upgrade, it consistently faults on the download. I've runCode:sudo rm /var/cache/apt/*.binbut it still faults. I'm at a loss with this, is there something else I can do to solve the segmentation faulting
View 2 Replies
View Related
May 25, 2011
I recently installed Ubuntu Lucid 10.04 64-bit on my desktop. I was trying to install the ATI Drivers for my graphics card (ATI Radeon HD5850) by using the guide: Search on google for "Ubuntu Lucid Installation Guide", from [URL]... Unfortunately I cannot post links yet. I was using the manual install guide. I followed the guide step by step and everything went OK without any errors, until I get to this step: fglrxinfo. And it returns with a "Segmentation Fault"
[code]...
View 6 Replies
View Related
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
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
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
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
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
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
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
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
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
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
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
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