Message136904
> It looks like the crash occurs on r[0].data in testPair() of test_kqueue. Can you confirm this? Comment the line in test_kqueue.py to check if it works around the crash.
Yes, it does not crash if I comment this line.
> What is the size of intptr_t and "long long" types on your host?
size of intptr_t and "long long" is : 8.
> Can you try to get the definition of the kevent structure? It should be in /usr/include/sys/event.h. And/or the offset of each field using the following C script (not tested).
I have replaced this line of your program (because it failed to build):
#define DUMP(field) printf("offset of " #field ": %u\n", offsetof(ev, field))
by
#define DUMP(field) printf("offset of " #field ": %u\n", offsetof(struct kevent, field))
and I have:
offset of ident: 0
offset of filter: 4
offset of flags: 6
offset of fflags: 8
offset of data: 12
offset of udata: 16
Thanks a lot for your help,
Remi. |
|
Date |
User |
Action |
Args |
2011-05-25 21:46:34 | rpointel | set | recipients:
+ rpointel, mark.dickinson, vstinner, neologix |
2011-05-25 21:46:34 | rpointel | set | messageid: <1306359994.59.0.961681327959.issue12181@psf.upfronthosting.co.za> |
2011-05-25 21:46:34 | rpointel | link | issue12181 messages |
2011-05-25 21:46:34 | rpointel | create | |
|