Losing 32 bits of a void pointer
sumo
sumitraja at gmail.com
Tue Feb 18 18:42:31 PST 2014
On Wednesday, 19 February 2014 at 02:39:39 UTC, sumo wrote:
> I am using D & epoll on Fedora 3.12.10-300.fc20.x86_64 and am
> running into a very odd issue.
For giggles the D kevent version on FreeBSD has no problems
(80079af00 is pointer to the event object):
Before kevent:
0x800799f40: 0x0000000000000007 0x000000000005ffff
0x800799f50: 0x0000000000000000 0x000000080079af00 <---
0x800799f60: 0x00000000004fdca0 0x0000000000000000
0x800799f70: 0x000000080079af80 0x0000000000000000
0x800799f80: 0x00000000004fcc60 0x0000000000000000
0x800799f90: 0x0000000000000000 0x0000000000000000
0x800799fa0: 0x0000000000508ae0 0x0000000000000000
0x800799fb0: 0x00000000d2040200 0x0000000000000000
0x800799fc0: 0x00000000005141a0 0x0000000000000000
0x800799fd0: 0x0000000800798fc0 0x0000000801817070
After kevent:
0x7fffffffd778: 0x0000000000000007 0x000000000000ffff
0x7fffffffd788: 0x0000000000000001 0x000000080079af00 <---
0x7fffffffd798: 0x0000000800798f40 0x00007fffffffd7c0
0x7fffffffd7a8: 0x000000000041deb0 0x000000080079af80
0x7fffffffd7b8: 0x0000000800798f40 0x00007fffffffd850
0x7fffffffd7c8: 0x00000000004222a3 0x0000000000405990
0x7fffffffd7d8: 0x00007fffffffd82f 0x0000000800798f40
0x7fffffffd7e8: 0x0000000000000000 0x0000000000422440
0x7fffffffd7f8: 0x000000080079af80 0x0000000000000000
0x7fffffffd808: 0x0000000000422380 0x0000000001807000
I couldn't get gdb to print the actual structure - <incomplete
type>
More information about the Digitalmars-d
mailing list