[New-bugs-announce] [issue30478] Python 2.7 crashes in Linux environment

HuyK report at bugs.python.org
Thu May 25 21:48:32 EDT 2017


New submission from HuyK:

Hi all,

I have a python script to run  as a Weather Station application. The python script runs on Raspberry Pi 3 board. It gets weather data from OpenWeatherMap website and sends result to a remote touch-screen device via COM port to display

It uses two main libraries to handle the task:
https://pypi.python.org/pypi/ftd2xx
https://github.com/csparpa/pyowm

I got the python script just exits without any error after sometimes. Checking the return code with the command "echo $?" in Pi's console window and got 139 which means a Segmentation Fault

We tried to generate coredump system when the python script crashes and we got this:
"Core was generated by 'python weather_station.py'
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x0005b614 in complex_subtype_from_string (type=0x746150, v=0x72616843) at ../Objects/complexobject.c:1075"

I tried to update to Python 2.7.13 but the crashes still happens.

My question is if the segmentation fault related to complexobject.c has been reported and fixed?

Best regards,
HuyK

----------
components: Interpreter Core
files: python_crashes.png
messages: 294520
nosy: HuyK
priority: normal
severity: normal
status: open
title: Python 2.7 crashes in Linux environment
type: crash
versions: Python 2.7
Added file: http://bugs.python.org/file46903/python_crashes.png

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30478>
_______________________________________


More information about the New-bugs-announce mailing list