473,246 Members | 1,528 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,246 software developers and data experts.

Segmentation fault..

Hi..
I run a my script and 3-4 minutes later give me an error "segmentation
fault".
What is the reason of this error ?

I use in my script:
Threading
Psycopg2
open & write to txt
urlopen

My platform is ubuntu linux.

I'm sorry my bad english.
King regards..

Oct 6 '07 #1
4 1429
Abandoned wrote:
Hi..
I run a my script and 3-4 minutes later give me an error "segmentation
fault".
What is the reason of this error ?

I use in my script:
Threading
Psycopg2
open & write to txt
urlopen

My platform is ubuntu linux.

I'm sorry my bad english.
King regards..
Without seeing any code, it is hard to say anything. But the answer to the
ultimate question is "42".

Show the group some code and I'm sure people will help.
Oct 6 '07 #2
Jorge Godoy a écrit :
Abandoned wrote:
>Hi..
I run a my script and 3-4 minutes later give me an error "segmentation
fault".
What is the reason of this error ?

I use in my script:
Threading
Psycopg2
open & write to txt
urlopen

My platform is ubuntu linux.

I'm sorry my bad english.
King regards..

Without seeing any code, it is hard to say anything. But the answer to the
ultimate question is "42".
Indeed. Err, what was the question, exactly ?-)
Show the group some code and I'm sure people will help.
To be more precise: post the minimal working code reproducing the
problem, and the full traceback.
Oct 6 '07 #3
Bruno Desthuilliers wrote:
Jorge Godoy a écrit :
>Without seeing any code, it is hard to say anything. But the answer to
the ultimate question is "42".

Indeed. Err, what was the question, exactly ?-)
As soon as calculations are finished, you'll know. :-)
Oct 6 '07 #4
Abandoned wrote:
I run a my script and 3-4 minutes later give me an error
"segmentation fault".
What is the reason of this error ?
The reason is that the process tries to write to a memory address it
outside of its allocated segments.

Regards,
Björn

--
BOFH excuse #20:

divide-by-zero error

Oct 7 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: sivignon | last post by:
Hi, I'm writing a php script which deals with 3 ORACLE databases. This script is launch by a script shell on an linux machine like this : /../php/bin/php ./MySript.php (PHP 4.3.3) My script...
3
by: diyanat | last post by:
i am writing a cgi script in C using the CGIC library, the script fails to run, i am using apache on linux error report from apache : internal server error Premature end of script headers:...
16
by: laberth | last post by:
I've got a segmentation fault on a calloc and I don'tunderstand why? Here is what I use : typedef struct noeud { int val; struct noeud *fgauche; struct noeud *fdroit; } *arbre; //for those...
3
by: Zheng Da | last post by:
Program received signal SIGSEGV, Segmentation fault. 0x40093343 in _int_malloc () from /lib/tls/libc.so.6 (gdb) bt #0 0x40093343 in _int_malloc () from /lib/tls/libc.so.6 #1 0x40094c54 in malloc...
5
by: Fra-it | last post by:
Hi everybody, I'm trying to make the following code running properly, but I can't get rid of the "SEGMENTATION FAULT" error message when executing. Reading some messages posted earlier, I...
18
by: Digital Puer | last post by:
Hi, I'm coming over from Java to C++, so please bear with me. In C++, is there a way for me to use exceptions to catch segmentation faults (e.g. when I access a location off the end of an array)?...
27
by: Paminu | last post by:
I have a wierd problem. In my main function I print "test" as the first thing. But if I run the call to node_alloc AFTER the printf call I get a segmentation fault and test is not printed! ...
7
by: pycraze | last post by:
I would like to ask a question. How do one handle the exception due to Segmentation fault due to Python ? Our bit operations and arithmetic manipulations are written in C and to some of our...
3
by: madunix | last post by:
My Server is suffering bad lag (High Utlization) I am running on that server Oracle10g with apache_1.3.35/ php-4.4.2 Web visitors retrieve data from the web by php calls through oci cobnnection...
6
by: DanielJohnson | last post by:
int main() { printf("\n Hello World"); main; return 0; } This program terminate just after one loop while the second program goes on infinitely untill segmentation fault (core dumped) on...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.