471,310 Members | 1,471 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,310 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 1347
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by sivignon | last post: by
3 posts views Thread by diyanat | last post: by
16 posts views Thread by laberth | last post: by
5 posts views Thread by Fra-it | last post: by
18 posts views Thread by Digital Puer | last post: by
27 posts views Thread by Paminu | last post: by
7 posts views Thread by pycraze | last post: by
3 posts views Thread by madunix | last post: by
6 posts views Thread by DanielJohnson | last post: by
reply views Thread by rosydwin | last post: by

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.