[Bug 1671952] Re: python program gets segmentation fault
Serhiy Storchaka
1671952 at bugs.launchpad.net
Tue Oct 10 11:20:22 UTC 2017
Please file a bug on the Python bug tracker (https://bugs.python.org/)
and provide a minimal script that reproduces a crash.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python3-defaults in Ubuntu.
https://bugs.launchpad.net/bugs/1671952
Title:
python program gets segmentation fault
Status in python3-defaults package in Ubuntu:
New
Bug description:
Running a Python 3 / sqlite3 script that develops a database
representing a game tree, a segmentation fault occurred.
The program had written 4,910,495 lines of output when it crashed, redirected to a file. It
appears normal, and its size is about right for the job being performed. There's nothing
suspicious at the end.
This is a hobby project, so I can share the entire database and any of the code you need, but much of it is included in the screen-scraped console session attached herewith. In particular:
- the command-line
- a gdb stack backtrace of the core dump
- the program being run
- a run of the sqlite3 "pragma integrity_check" that shows the database is sound
- database .schema output
CPU is Core i-7, 32 GB RAM.
Code is recursive, but limited by the nature of the problem and parameters to depth of about 10 calls. Code has been used before, albeit on a problem with smaller recursive depth and shorter
expected run-time.
db is 18GB on a 12TB RAID partition; plenty of space
kernel is X86-64 4.4.0-66-generic un-fooled-around-with
Python and the sqlite3 package is 3.5.2, straight from the repositories
I have a backup of the database right after this crash (being
performed as I write this)
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: python3 3.5.1-3
ProcVersionSignature: Ubuntu 4.4.0-66.87-generic 4.4.44
Uname: Linux 4.4.0-66-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
CurrentDesktop: XFCE
Date: Fri Mar 10 13:47:54 2017
InstallationDate: Installed on 2016-08-08 (214 days ago)
InstallationMedia: Xubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
SourcePackage: python3-defaults
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/1671952/+subscriptions
More information about the foundations-bugs
mailing list