Public bug reported: 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) ** Affects: python3-defaults (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug xenial ** Attachment added: "screen-scraped console session including the failure and some postmortem investigation" https://bugs.launchpad.net/bugs/1671952/+attachment/4835555/+files/20170310-core-script -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1671952 Title: python program gets segmentation fault To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/1671952/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs