[Touch-packages] [Bug 1671952] Re: python program gets segmentation fault
[Expired for python3-defaults (Ubuntu) because there has been no activity for 60 days.] ** Changed in: python3-defaults (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, 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: Expired 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1671952] Re: python program gets segmentation fault
** Changed in: python3-defaults (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, 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: Incomplete 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
Re: [Touch-packages] [Bug 1671952] Re: python program gets segmentation fault
I don't think I can do that. All signs point to a problem that is directly related to the size of the journal. You don't want my 100GB database, and I don't want to fool around finding a script that creates one from scratch hoping it will trigger the same problem. If you can't work from a core dump, it's going to be hard to solve this. On Tue, Oct 10, 2017 at 4:20 AM, Serhiy Storchaka < 1671...@bugs.launchpad.net> wrote: > 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 subscribed to the bug > report. > 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 > -- Kevin O'Gorman #define QUESTION ((bb) || (!bb)) /* Shakespeare */ Please consider the environment before printing this email. ** Attachment added: "unnamed" https://bugs.launchpad.net/bugs/1671952/+attachment/4979055/+files/unnamed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, 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 2
[Touch-packages] [Bug 1671952] Re: python program gets segmentation fault
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 Touch seeded packages, 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1671952] Re: python program gets segmentation fault
I modified the code to issue commit() calls, which it had not been doing. It ran to completion, having made over 3 million changes to the database. Perhaps a really big journal does not work well? Even if so, I would consider a segmentation fault a bug. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp