Reported on IRC by fakesatoshi. This crash seems to happen randomly while clicking:
0[16419.562321] bitcoin-qt[1892]: segfault at 0 ip 00007fa82a53da1c sp 00007fffc4391810 error 4 in bitcoin-qt[7fa829fcf000+1e2e000]
1[17045.871471] bitcoin-qt[2061]: segfault at 0 ip 00007f3b4b694a1c sp 00007ffc0739bd50 error 4 in bitcoin-qt[7f3b4b126000+1e2e000]
2[20753.833830] bitcoin-qt[2891]: segfault at 0 ip 00007f7bfbff1a1c sp 00007ffd5ffe2880 error 4 in bitcoin-qt[7f7bfba83000+1e2e000]
This is offset 0x56ea1c in the 64-bit bitcoin-qt executable. Addr2line (on a non-stripped version of the executable) gives us:
0addr2line -aCf -e bitcoin-0.12.0/bin/bitcoin-qt 0x56ea1c
10x000000000056ea1c
2QXcbScreen::mapFromNative(QPoint const&) const
3:?
Operating system: Debian Jessie
0Linux vbox 3.16.0-4-amd64 [#1](/bitcoin-bitcoin/1/) SMP Debian 3.16.7-ckt20-1+deb8u3 (2016-01-17) x86_64 GNU/Linux
No full traceback is available as it doesn’t seem to be reproducible in gdb.
From at the assembly around the crash eip it looks like the first argument, the implicit this
argument is 0.
0000000000056ea10 <_ZNK10QXcbScreen13mapFromNativeERK6QPoint>:
1 56ea10: 55 push %rbp
2 56ea11: 48 89 f5 mov %rsi,%rbp
3 56ea14: 53 push %rbx
4 56ea15: 48 89 fb mov %rdi,%rbx
5 56ea18: 48 83 ec 08 sub $0x8,%rsp
6 56ea1c: 48 8b 07 mov (%rdi),%rax
What could cause an XcbScreen to be 0? @theuni any idea?