[Bug 1620754] Re: hash(datetime.datetime(...)) fails with python3.5 on armhf (on an arm64 host) with a bus error
** Changed in: python Status: New => 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/1620754 Title: hash(datetime.datetime(...)) fails with python3.5 on armhf (on an arm64 host) with a bus error To manage notifications about this bug go to: https://bugs.launchpad.net/python/+bug/1620754/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1620754] Re: hash(datetime.datetime(...)) fails with python3.5 on armhf (on an arm64 host) with a bus error
This bug was fixed in the package python3.5 - 3.5.2-2~16.04 --- python3.5 (3.5.2-2~16.04) xenial-proposed; urgency=medium * SRU: LP: #1620754: Fix invalid code in pyhash/siphash24. Issue #28055. -- Matthias KloseSat, 10 Sep 2016 10:21:44 +0200 ** 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/1620754 Title: hash(datetime.datetime(...)) fails with python3.5 on armhf (on an arm64 host) with a bus error To manage notifications about this bug go to: https://bugs.launchpad.net/python/+bug/1620754/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1620754] Re: hash(datetime.datetime(...)) fails with python3.5 on armhf (on an arm64 host) with a bus error
This bug was fixed in the package python3.4 - 3.4.3-1ubuntu1~14.04.4 --- python3.4 (3.4.3-1ubuntu1~14.04.4) trusty-proposed; urgency=medium * SRU: LP: #1620754: Fix invalid code in pyhash/siphash24. Issue #28055. -- Matthias KloseSat, 10 Sep 2016 10:26:44 +0200 ** Changed in: python3.4 (Ubuntu Trusty) 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/1620754 Title: hash(datetime.datetime(...)) fails with python3.5 on armhf (on an arm64 host) with a bus error To manage notifications about this bug go to: https://bugs.launchpad.net/python/+bug/1620754/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1620754] Re: hash(datetime.datetime(...)) fails with python3.5 on armhf (on an arm64 host) with a bus error
the updated binaries don't crash with bus errors anymore in xenial- proposed and trusty-proposed. ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1620754 Title: hash(datetime.datetime(...)) fails with python3.5 on armhf (on an arm64 host) with a bus error To manage notifications about this bug go to: https://bugs.launchpad.net/python/+bug/1620754/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1620754] Re: hash(datetime.datetime(...)) fails with python3.5 on armhf (on an arm64 host) with a bus error
** No longer affects: python3.4 (Ubuntu) ** No longer affects: python-cryptography (Ubuntu Trusty) ** No longer affects: python3.5 (Ubuntu Trusty) ** Changed in: python3.4 (Ubuntu Trusty) Importance: Undecided => High ** Changed in: python3.5 (Ubuntu Xenial) Importance: Undecided => High ** Changed in: python3.5 (Ubuntu) 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/1620754 Title: hash(datetime.datetime(...)) fails with python3.5 on armhf (on an arm64 host) with a bus error To manage notifications about this bug go to: https://bugs.launchpad.net/python/+bug/1620754/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1620754] Re: hash(datetime.datetime(...)) fails with python3.5 on armhf (on an arm64 host) with a bus error
Hello Matthias, or anyone else affected, Accepted python3.5 into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/python3.5/3.5.2-2~16.04 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 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 to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. 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 Xenial) Status: New => 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/1620754 Title: hash(datetime.datetime(...)) fails with python3.5 on armhf (on an arm64 host) with a bus error To manage notifications about this bug go to: https://bugs.launchpad.net/python/+bug/1620754/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1620754] Re: hash(datetime.datetime(...)) fails with python3.5 on armhf (on an arm64 host) with a bus error
Hello Matthias, or anyone else affected, Accepted python3.4 into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/python3.4/3.4.3-1ubuntu1~14.04.4 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 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 to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. 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! ** Also affects: python3.4 (Ubuntu Trusty) Importance: Undecided Status: New ** Also affects: python-cryptography (Ubuntu Trusty) Importance: Undecided Status: New ** Also affects: python3.5 (Ubuntu Trusty) Importance: Undecided Status: New ** Changed in: python3.4 (Ubuntu) Status: New => Invalid ** Changed in: python3.4 (Ubuntu Trusty) Status: New => Fix Committed ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1620754 Title: hash(datetime.datetime(...)) fails with python3.5 on armhf (on an arm64 host) with a bus error To manage notifications about this bug go to: https://bugs.launchpad.net/python/+bug/1620754/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1620754] Re: hash(datetime.datetime(...)) fails with python3.5 on armhf (on an arm64 host) with a bus error
This bug was fixed in the package python3.5 - 3.5.2-4ubuntu2 --- python3.5 (3.5.2-4ubuntu2) yakkety; urgency=low * Disable the Pgen cache tests; not shipping the pickled grammar files. -- Matthias KloseSat, 10 Sep 2016 10:43:12 +0200 ** Changed in: python3.5 (Ubuntu) Status: New => 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/1620754 Title: hash(datetime.datetime(...)) fails with python3.5 on armhf (on an arm64 host) with a bus error To manage notifications about this bug go to: https://bugs.launchpad.net/python/+bug/1620754/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1620754] Re: hash(datetime.datetime(...)) fails with python3.5 on armhf (on an arm64 host) with a bus error
python-cryptography now successfully built again ** Changed in: python-cryptography (Ubuntu) Status: New => 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/1620754 Title: hash(datetime.datetime(...)) fails with python3.5 on armhf (on an arm64 host) with a bus error To manage notifications about this bug go to: https://bugs.launchpad.net/python/+bug/1620754/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1620754] Re: hash(datetime.datetime(...)) fails with python3.5 on armhf (on an arm64 host) with a bus error
** Also affects: python-cryptography (Ubuntu Trusty) Importance: Undecided Status: New ** Also affects: python3.5 (Ubuntu Trusty) Importance: Undecided Status: New ** Also affects: python-cryptography (Ubuntu Xenial) Importance: Undecided Status: New ** Also affects: python3.5 (Ubuntu Xenial) Importance: Undecided Status: New ** Also affects: python-cryptography (Ubuntu Precise) Importance: Undecided Status: New ** Also affects: python3.5 (Ubuntu Precise) Importance: Undecided Status: New ** No longer affects: python-cryptography (Ubuntu Precise) ** No longer affects: python-cryptography (Ubuntu Trusty) ** No longer affects: python-cryptography (Ubuntu Xenial) ** Also affects: python3.4 (Ubuntu) Importance: Undecided Status: New ** Also affects: python3.2 (Ubuntu) Importance: Undecided Status: New ** No longer affects: python3.5 (Ubuntu Precise) ** No longer affects: python3.5 (Ubuntu Trusty) ** No longer affects: python3.2 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1620754 Title: hash(datetime.datetime(...)) fails with python3.5 on armhf (on an arm64 host) with a bus error To manage notifications about this bug go to: https://bugs.launchpad.net/python/+bug/1620754/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1620754] Re: hash(datetime.datetime(...)) fails with python3.5 on armhf (on an arm64 host) with a bus error
** Changed in: python Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1620754 Title: hash(datetime.datetime(...)) fails with python3.5 on armhf (on an arm64 host) with a bus error To manage notifications about this bug go to: https://bugs.launchpad.net/python/+bug/1620754/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1620754] Re: hash(datetime.datetime(...)) fails with python3.5 on armhf (on an arm64 host) with a bus error
** Bug watch added: Python Roundup #28055 http://bugs.python.org/issue28055 ** Also affects: python via http://bugs.python.org/issue28055 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1620754 Title: hash(datetime.datetime(...)) fails with python3.5 on armhf (on an arm64 host) with a bus error To manage notifications about this bug go to: https://bugs.launchpad.net/python/+bug/1620754/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1620754] Re: hash(datetime.datetime(...)) fails with python3.5 on armhf (on an arm64 host) with a bus error
the datetime type is defined as #define _PyTZINFO_HEAD \ PyObject_HEAD \ Py_hash_t hashcode; \ char hastzinfo; /* boolean flag */ typedef struct { _PyTZINFO_HEAD unsigned char data[_PyDateTime_DATE_DATASIZE]; } PyDateTime_Date; and data is used to calculate the hash of the object, not being 4 byte aligned, you get the bus error. Inserting three fill bytes, are making the data member 4-byte aligned solves the issue, however introducing an ABI change makes the new datetime ABI incompatible. For now I don't know a solution to make that change and keep the ABI compatible. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1620754 Title: hash(datetime.datetime(...)) fails with python3.5 on armhf (on an arm64 host) with a bus error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-cryptography/+bug/1620754/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1620754] Re: hash(datetime.datetime(...)) fails with python3.5 on armhf (on an arm64 host) with a bus error
>>> int(0xf74e6fcd) 4149112781 so indeed an unaligned pointer. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1620754 Title: hash(datetime.datetime(...)) fails with python3.5 on armhf (on an arm64 host) with a bus error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-cryptography/+bug/1620754/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1620754] Re: hash(datetime.datetime(...)) fails with python3.5 on armhf (on an arm64 host) with a bus error
no difference with gcc-5/gcc-6. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1620754 Title: hash(datetime.datetime(...)) fails with python3.5 on armhf (on an arm64 host) with a bus error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-cryptography/+bug/1620754/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1620754] Re: hash(datetime.datetime(...)) fails with python3.5 on armhf (on an arm64 host) with a bus error
with a -O0 build: Program received signal SIGBUS, Bus error. 0x001a761e in siphash24 (src=0xf74e6fcd, src_sz=10) at ../Python/pyhash.c:384 384 uint64_t mi = _le64toh(*in); (gdb) info locals mi = 12884829592 k0 = 2790264422508071935 k1 = 4214380634785109344 b = 720575940379279360 in = 0xf74e6fcd v0 = 6185254077475221130 v1 = 6778778058880104973 v2 = 5386417098822285726 v3 = 5627556395274645523 t = 1 pt = 0xf74b0320 "" m = 0x1 (gdb) info args src = 0xf74e6fcd src_sz = 10 where _le64toh is defined as # define _le64toh(x) ((uint64_t)(x)) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1620754 Title: hash(datetime.datetime(...)) fails with python3.5 on armhf (on an arm64 host) with a bus error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-cryptography/+bug/1620754/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs