[Bug 1711724] Re: Segfaults with dict

2017-09-18 Thread Launchpad Bug Tracker
This bug was fixed in the package python3.5 - 3.5.2-2ubuntu0~16.04.2

---
python3.5 (3.5.2-2ubuntu0~16.04.2) xenial; urgency=medium

  * SRU: LP: #1711724 Fix dict segfault. Issue #27945.

 -- Clint Byrum   Fri, 18 Aug 2017 10:48:00 -0700

** Changed in: python3.5 (Ubuntu Xenial)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1711724

Title:
  Segfaults with dict

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.5/+bug/1711724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1711724] Re: Segfaults with dict

2017-09-18 Thread Launchpad Bug Tracker
This bug was fixed in the package python3.5 - 3.5.3-1ubuntu0~17.04.0

---
python3.5 (3.5.3-1ubuntu0~17.04.0) zesty; urgency=medium

  * SRU: LP: #1711724 Fix dict segfault. Issue #27945.

 -- Clint Byrum   Thu, 07 Sep 2017 09:23:57 -0700

** Changed in: python3.5 (Ubuntu Zesty)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1711724

Title:
  Segfaults with dict

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.5/+bug/1711724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1711724] Re: Segfaults with dict

2017-09-18 Thread Launchpad Bug Tracker
This bug was fixed in the package python3.6 - 3.6.1-1ubuntu0~17.04.0

---
python3.6 (3.6.1-1ubuntu0~17.04.0) zesty; urgency=medium

  * SRU: LP: #1711724 Fix dict segfault. Issue #27945.

 -- Clint Byrum   Thu, 07 Sep 2017 09:36:03 -0700

** Changed in: python3.6 (Ubuntu Zesty)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1711724

Title:
  Segfaults with dict

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.5/+bug/1711724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1711724] Re: Segfaults with dict

2017-09-15 Thread Łukasz Zemczak
The xenial upload looks good. I'll be accepting it once I release the
previous python3.5 package that's in -proposed (I'll do that on Monday
since Friday releases to -updates are never a good idea).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1711724

Title:
  Segfaults with dict

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.5/+bug/1711724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1711724] Re: Segfaults with dict

2017-09-08 Thread Simon Déziel
On Zesty, before with python3.5:

$ python3.5 /tmp/bpo-27945.py
Segmentation fault

After applying 3.5.3-1ubuntu0~17.04.0:

$ python3.5 /tmp/bpo-27945.py 
Traceback (most recent call last):
  File "/tmp/bpo-27945.py", line 7, in 
for result in d.items():
RuntimeError: dictionary changed size during iteration

** Tags removed: verification-needed verification-needed-zesty
** Tags added: verification-done verification-done-zesty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1711724

Title:
  Segfaults with dict

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.5/+bug/1711724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1711724] Re: Segfaults with dict

2017-09-08 Thread Brian Murray
Hello Clint, or anyone else affected,

Accepted python3.5 into zesty-proposed. The package will build now and
be available at
https://launchpad.net/ubuntu/+source/python3.5/3.5.3-1ubuntu0~17.04.0 in
a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-zesty to verification-done-zesty. If it does not fix
the bug for you, please add a comment stating that, and change the tag
to verification-failed-zesty. In either case, details of your testing
will help us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: python3.5 (Ubuntu Zesty)
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1711724

Title:
  Segfaults with dict

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.5/+bug/1711724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1711724] Re: Segfaults with dict

2017-09-07 Thread Simon Déziel
On Zesty, before with python3.6:

$ python3.6 /tmp/bpo-27945.py 
Segmentation fault

After applying 3.6.1-1ubuntu0~17.04.0:

$ python3.6 /tmp/bpo-27945.py 
Traceback (most recent call last):
  File "/tmp/bpo-27945.py", line 7, in 
for result in d.items():
RuntimeError: dictionary changed size during iteration
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in 
apport_excepthook
from apport.fileutils import likely_packaged, get_recent_crashes
  File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in 
from apport.report import Report
  File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in 
import apport.fileutils
  File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in 

from apport.packaging_impl import impl as packaging
  File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 24, in 

import apt
  File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in 
import apt_pkg
ModuleNotFoundError: No module named 'apt_pkg'

Original exception was:
Traceback (most recent call last):
  File "/tmp/bpo-27945.py", line 7, in 
for result in d.items():
RuntimeError: dictionary changed size during iteration

The except hook error is unrelated.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1711724

Title:
  Segfaults with dict

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.5/+bug/1711724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1711724] Re: Segfaults with dict

2017-09-07 Thread Simon Déziel
On Xenial, before:

$ python3.5 bpo-27945.py 
Segmentation fault

After applying 3.5.2-2ubuntu0~16.04.2:

$ python3.5 bpo-27945.py 
Traceback (most recent call last):
  File "bpo-27945.py", line 7, in 
for result in d.items():
RuntimeError: dictionary changed size during iteration


** Tags removed: verification-needed-xenial
** Tags added: verification-done-xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1711724

Title:
  Segfaults with dict

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.5/+bug/1711724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1711724] Re: Segfaults with dict

2017-09-07 Thread Brian Murray
Hello Clint, or anyone else affected,

Accepted python3.6 into zesty-proposed. The package will build now and
be available at
https://launchpad.net/ubuntu/+source/python3.6/3.6.1-1ubuntu0~17.04.0 in
a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-zesty to verification-done-zesty. If it does not fix
the bug for you, please add a comment stating that, and change the tag
to verification-failed-zesty. In either case, details of your testing
will help us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: python3.6 (Ubuntu Zesty)
   Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-zesty

** Changed in: python3.5 (Ubuntu Xenial)
   Status: In Progress => Fix Committed

** Tags added: verification-needed-xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1711724

Title:
  Segfaults with dict

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.5/+bug/1711724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1711724] Re: Segfaults with dict

2017-09-07 Thread Clint Byrum
Uploaded to python3.6 for zesty too.

** Changed in: python3.6 (Ubuntu Zesty)
   Status: New => In Progress

** Changed in: python3.6 (Ubuntu Zesty)
   Importance: Undecided => High

** Changed in: python3.6 (Ubuntu Zesty)
 Assignee: (unassigned) => Clint Byrum (clint-fewbar)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1711724

Title:
  Segfaults with dict

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.5/+bug/1711724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1711724] Re: Segfaults with dict

2017-09-07 Thread Clint Byrum
Uploaded for zesty as well.

** Changed in: python3.5 (Ubuntu Zesty)
   Importance: Undecided => High

** Changed in: python3.5 (Ubuntu Zesty)
   Status: New => In Progress

** Changed in: python3.5 (Ubuntu Zesty)
 Assignee: (unassigned) => Clint Byrum (clint-fewbar)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1711724

Title:
  Segfaults with dict

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.5/+bug/1711724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1711724] Re: Segfaults with dict

2017-09-07 Thread Clint Byrum
I've uploaded just this fix to xenial and zesty, without the other bug
which isn't SRU-ready yet. Thanks for your review raof!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1711724

Title:
  Segfaults with dict

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.5/+bug/1711724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1711724] Re: Segfaults with dict

2017-08-18 Thread Clint Byrum
** Changed in: python3.5 (Ubuntu Xenial)
   Status: New => In Progress

** Changed in: python3.5 (Ubuntu Xenial)
 Assignee: (unassigned) => Clint Byrum (clint-fewbar)

** Changed in: python3.5 (Ubuntu Xenial)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1711724

Title:
  Segfaults with dict

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.5/+bug/1711724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1711724] Re: Segfaults with dict

2017-08-18 Thread Monty Taylor
The quilt patch (and upstream bugfix) adds unit test
test_fromkeys_operator_modifying_dict_operand which demonstrate a
reproducer which has been verified to fail on xenial 3.5.2 and to work
after applying the patch.

** Attachment added: "Python script showing 
test_fromkeys_operator_modifying_dict_operand reproduction case"
   
https://bugs.launchpad.net/ubuntu/+source/python3.5/+bug/1711724/+attachment/4934876/+files/test_fromkeys_operator_modifying_dict_operand.py

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1711724

Title:
  Segfaults with dict

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.5/+bug/1711724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1711724] Re: Segfaults with dict

2017-08-18 Thread Clint Byrum
The attached patch is also included in Python 3.6.2 upstream, which is
released in artful.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1711724

Title:
  Segfaults with dict

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.5/+bug/1711724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1711724] Re: Segfaults with dict

2017-08-18 Thread Clint Byrum
This python script reproduces the segfault when run via python3.5

** Attachment added: "bpo-27945.py"
   
https://bugs.launchpad.net/ubuntu/+source/python3.5/+bug/1711724/+attachment/4934875/+files/bpo-27945.py

** Description changed:

  In certain situations python3.5 will segfault. This bug is confirmed and
  fixed upstream in Python 3.5.4
  
  http://bugs.python.org/issue27945
+ 
+ [Test Case]
+ 1. download attached bpo-27945.py
+ 2. run: python3.5 bpo-27945.py
+ 
+ If it does not segfault, the bug is fixed.
+ 
+ [Regression Potential]
+ The fix has been shown to introduce a minor performance hit for dictionaries 
in general.

** Also affects: python3.5 (Ubuntu Zesty)
   Importance: Undecided
   Status: New

** Changed in: python3.5 (Ubuntu)
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1711724

Title:
  Segfaults with dict

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.5/+bug/1711724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1711724] Re: Segfaults with dict

2017-08-18 Thread Clint Byrum
Python3.5 has been removed from artful, and thus does not need to be
fixed.

** Also affects: python3.6 (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: python3.6 (Ubuntu)
   Status: New => Fix Released

** Changed in: python3.6 (Ubuntu Xenial)
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1711724

Title:
  Segfaults with dict

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.5/+bug/1711724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1711724] Re: Segfaults with dict

2017-08-18 Thread Monty Taylor
Patch to apply fix for bpo-27945 to 3.5.2.

** Patch added: "dict-segfault-fix.diff"
   
https://bugs.launchpad.net/ubuntu/+source/python3.5/+bug/1711724/+attachment/4934874/+files/dict-segfault-fix.diff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1711724

Title:
  Segfaults with dict

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.5/+bug/1711724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs