472,958 Members | 2,191 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Fatal Python error: Inconsistent interned string state

Anyone run into this before?

I have a python app that has been reliable, running for days on end
without a crash. Suddenly, It repeatedly crashes with the following
message:

"Fatal Python error: Inconsistent interned string state.
abnormal program termination"

Some background:

Platform is W2K.

My app receives data (short strings, 25 - 40 character in length) from
a telnet connection, using telnetlib. The strings are placed in a
queue (I am using Queue.Queue(). The telnet session runs in a thread.
A second thread gets strings from the queue and does stuff with the
contents, involving queries to a mysql database. The main thread just
watches for keyboard input for a shutdown command. Other than that, it
prints to console and logs to a file.

I cannot find any place in my code that overtly uses the concept of an
interned string (I had never before heard of an interned string). The
crashes began after I started using the following simple construct, to
trap a particular value in the data:

if line[0] == '2': (do something)

Naturally, I assume that the problem may have something to do with
this change, but I cannot fathom how it could cause this problem

Byron Morgan
Jul 18 '05 #1
1 2430
bm*****@usa.net (Byron Morgan) writes:
Anyone run into this before?

I have a python app that has been reliable, running for days on end
without a crash. Suddenly, It repeatedly crashes with the following
message:


Is this reproducable? What extension modules are you using?

It sounds like you have a memory scribble somewhere, good luck.

Cheers,
mwh

--
MARVIN: What a depressingly stupid machine.
-- The Hitch-Hikers Guide to the Galaxy, Episode 7
Jul 18 '05 #2

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

Similar topics

5
by: Haoyu Zhang | last post by:
Dear Friends, Python assignment is a reference assignment. However, I really can't explain the difference in the following example. When the object is a list, the assignment seems to be a...
1
by: Jon | last post by:
I've seen the previous msg about this error, and how it's only been reported once. (Twice now) And I have some other circumstances. I'm also receiving this error, on a windows 2000 platform. ...
3
by: =?Utf-8?B?UGF1bA==?= | last post by:
in event log:.NET Runtime version 2.0.50727.312 - Fatal Execution Engine Error (7A062A61) (80131506) We have an application that seems to be throwing this error, but I can't seem to work out why...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...

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.