Bug#481737: [php-maint] Bug#481737: Bug#481737: PHP 5.2.6 with suhosin 0.9.6.2 causes bus errors

2008-06-30 Thread sean finney
hi everyone, i just ran a build last night with the modified patch, which unfortunately failed. *however*, it failed later than before, and looking at the crash it looks like there's at least a third place where unaligned access is occurring: (gdb) run Starting program: /home/seanius/php5-5.2

Bug#481737: [php-maint] Bug#481737: PHP 5.2.6 with suhosin 0.9.6.2 causes bus errors

2008-06-29 Thread Stefan Esser
Hi, sorry for the late response... I see that meanwhile a backtrace was posted. And like I thought it is exactly the problem I thought it is: It crashes in the following macro *+# define SUHOSIN_MM_END_CANARY_PTR(block) \ +(size_t*)(((char*)(ZEND_MM_DATA_OF(block))) + ((zend_mm_block*)(b

Bug#481737: [php-maint] Bug#481737: PHP 5.2.6 with suhosin 0.9.6.2 causes bus errors

2008-06-15 Thread Raphael Geissert
Hello, On Sunday 15 June 2008, Stefan Esser wrote: > Hello, > > if I see correctly you are using an old GCC on a sparc. And Suhosin > crashs with a bus error. I probably was not very clear on my previous message, my bad. As you can see in [1] it crashes in arm, armel, ia64, and sparc, so it is n

Bug#481737: PHP 5.2.6 with suhosin 0.9.6.2 causes bus errors

2008-06-15 Thread Stefan Esser
Hello, if I see correctly you are using an old GCC on a sparc. And Suhosin crashs with a bus error. Well that is no suprise. Older GCC on sparc for some reason optimizes a memcpy() away into direct memory access. Of course this is illegal, because this results in not aligned memory address.