[Bug 1620754] Re: python-cryptography ftbfs for 3.5 on armhf with a bus error

2016-09-09 Thread James Page
Even simpler reproducer: >>> import datetime >>> print(hash(datetime.datetime(2015, 1, 1, 1, 1))) Bus error (core dumped) ** Also affects: python3.5 (Ubuntu) Importance: Undecided Status: New ** Summary changed: - python-cryptography ftbfs for 3.5 on armhf with a bus error +

[Bug 1620754] Re: python-cryptography ftbfs for 3.5 on armhf with a bus error

2016-09-09 Thread James Page
Even simpler reproducer: >>> import datetime >>> print(hash(datetime.datetime(2015, 1, 1, 1, 1))) Bus error (core dumped) ** Also affects: python3.5 (Ubuntu) Importance: Undecided Status: New ** Summary changed: - python-cryptography ftbfs for 3.5 on armhf with a bus error +

[Bug 1620754] Re: python-cryptography ftbfs for 3.5 on armhf with a bus error

2016-09-09 Thread James Page
(gdb) info registers r0 0xf748947d 4148728957 r1 0x0 0 r2 0xea5e42a5 3932045989 r3 0x553d1b9f 1430068127 r4 0xfd4e48bb 4249766075 r5 0x45370d9c 1161235868 r6 0xe11b8913

[Bug 1620754] Re: python-cryptography ftbfs for 3.5 on armhf with a bus error

2016-09-09 Thread James Page
[17328709.319625] python3[7312]: syscall 384 [17328709.319634] Code: 4607b4f0 46114608 e89c461a df78 (f510bcf0) [17328709.319639] CPU: 0 PID: 7312 Comm: python3 Not tainted 3.13.0-77-generic #121-Ubuntu [17328709.319643] task: ffc3a4c18b00 ti: ffc009398000 task.ti: ffc009398000

[Bug 1620754] Re: python-cryptography ftbfs for 3.5 on armhf with a bus error

2016-09-09 Thread James Page
[17328643.359809] Unhandled fault: alignment fault (0x9221) at 0xf748947d -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to python-cryptography in Ubuntu. https://bugs.launchpad.net/bugs/1620754 Title: python-cryptography

[Bug 1620754] Re: python-cryptography ftbfs for 3.5 on armhf with a bus error

2016-09-09 Thread James Page
[17328643.359809] Unhandled fault: alignment fault (0x9221) at 0xf748947d -- 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: python-cryptography ftbfs for 3.5 on armhf with a

[Bug 1620754] Re: python-cryptography ftbfs for 3.5 on armhf with a bus error

2016-09-09 Thread James Page
Dump of assembler code for function siphash24: 0x000d40a0 <+0>: stmdb sp!, {r4, r5, r6, r7, r8, r9, r10, r11, lr} 0x000d40a4 <+4>: movwr3, #64168 ; 0xfaa8 0x000d40a8 <+8>: sub sp, #156; 0x9c 0x000d40aa <+10>:movtr3, #48 ; 0x30 0x000d40ae

[Bug 1620754] Re: python-cryptography ftbfs for 3.5 on armhf with a bus error

2016-09-09 Thread James Page
[17328709.319625] python3[7312]: syscall 384 [17328709.319634] Code: 4607b4f0 46114608 e89c461a df78 (f510bcf0) [17328709.319639] CPU: 0 PID: 7312 Comm: python3 Not tainted 3.13.0-77-generic #121-Ubuntu [17328709.319643] task: ffc3a4c18b00 ti: ffc009398000 task.ti: ffc009398000

[Bug 1620754] Re: python-cryptography ftbfs for 3.5 on armhf with a bus error

2016-09-09 Thread James Page
Dump of assembler code for function siphash24: 0x000d40a0 <+0>: stmdb sp!, {r4, r5, r6, r7, r8, r9, r10, r11, lr} 0x000d40a4 <+4>: movwr3, #64168 ; 0xfaa8 0x000d40a8 <+8>: sub sp, #156; 0x9c 0x000d40aa <+10>:movtr3, #48 ; 0x30 0x000d40ae

[Bug 1620754] Re: python-cryptography ftbfs for 3.5 on armhf with a bus error

2016-09-09 Thread James Page
(gdb) info registers r0 0xf748947d 4148728957 r1 0x0 0 r2 0xea5e42a5 3932045989 r3 0x553d1b9f 1430068127 r4 0xfd4e48bb 4249766075 r5 0x45370d9c 1161235868 r6 0xe11b8913

[Bug 1620754] Re: python-cryptography ftbfs for 3.5 on armhf with a bus error

2016-09-09 Thread James Page
Note that this only occurs when running in an armhf schroot on a arm64 host; running on a armhf host the tests pass OK (including the reproducer). -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to python-cryptography in Ubuntu.

[Bug 1620754] Re: python-cryptography ftbfs for 3.5 on armhf with a bus error

2016-09-09 Thread James Page
backtrace from bus error on arm64 host with armhf schroot. ** Attachment added: "debug.log" https://bugs.launchpad.net/ubuntu/+source/python-cryptography/+bug/1620754/+attachment/4737453/+files/debug.log -- You received this bug notification because you are a member of Ubuntu Server Team,

[Bug 1620754] Re: python-cryptography ftbfs for 3.5 on armhf with a bus error

2016-09-09 Thread James Page
backtrace from bus error on arm64 host with armhf schroot. ** Attachment added: "debug.log" https://bugs.launchpad.net/ubuntu/+source/python-cryptography/+bug/1620754/+attachment/4737454/+files/debug.log -- You received this bug notification because you are a member of Ubuntu Server Team,

[Bug 1620754] Re: python-cryptography ftbfs for 3.5 on armhf with a bus error

2016-09-09 Thread James Page
Note that this only occurs when running in an armhf schroot on a arm64 host; running on a armhf host the tests pass OK (including the reproducer). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1620754

[Bug 1620754] Re: python-cryptography ftbfs for 3.5 on armhf with a bus error

2016-09-09 Thread James Page
backtrace from bus error on arm64 host with armhf schroot. ** Attachment added: "debug.log" https://bugs.launchpad.net/ubuntu/+source/python-cryptography/+bug/1620754/+attachment/4737453/+files/debug.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1620754] Re: python-cryptography ftbfs for 3.5 on armhf with a bus error

2016-09-09 Thread James Page
backtrace from bus error on arm64 host with armhf schroot. ** Attachment added: "debug.log" https://bugs.launchpad.net/ubuntu/+source/python-cryptography/+bug/1620754/+attachment/4737454/+files/debug.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1620754] Re: python-cryptography ftbfs for 3.5 on armhf with a bus error

2016-09-06 Thread James Page
This should reproduce the bus error: ``` import datetime from cryptography import x509 def test_hash(): invalid1 = x509.InvalidityDate(datetime.datetime(2015, 1, 1, 1, 1)) invalid2 = x509.InvalidityDate(datetime.datetime(2015, 1, 1, 1, 1)) invalid3 =

[Bug 1620754] Re: python-cryptography ftbfs for 3.5 on armhf with a bus error

2016-09-06 Thread James Page
This should reproduce the bus error: ``` import datetime from cryptography import x509 def test_hash(): invalid1 = x509.InvalidityDate(datetime.datetime(2015, 1, 1, 1, 1)) invalid2 = x509.InvalidityDate(datetime.datetime(2015, 1, 1, 1, 1)) invalid3 =

[Bug 1620754] Re: python-cryptography ftbfs for 3.5 on armhf with a bus error

2016-09-06 Thread James Page
A little more detail: ../../../tests/test_x509_ext.py::TestInvalidityDate::test_invalid_invalidity_date PASSED ../../../tests/test_x509_ext.py::TestInvalidityDate::test_eq PASSED ../../../tests/test_x509_ext.py::TestInvalidityDate::test_ne PASSED

[Bug 1620754] Re: python-cryptography ftbfs for 3.5 on armhf with a bus error

2016-09-06 Thread James Page
A little more detail: ../../../tests/test_x509_ext.py::TestInvalidityDate::test_invalid_invalidity_date PASSED ../../../tests/test_x509_ext.py::TestInvalidityDate::test_eq PASSED ../../../tests/test_x509_ext.py::TestInvalidityDate::test_ne PASSED