On Thu, December 26, 2013 22:25, Jan Ehrhardt wrote: > Jan Ehrhardt in php.windows (Thu, 26 Dec 2013 21:24:39 +0100): > >> Fatal error: Undefined class constant 'MYSQL_ATTR_USE_BUFFERED_QUERY' >> in includes\database\mysql\database.inc on line 46 > > False alarm, this had something to do with the extension_dir settings. I > have php 5.7 x86 TS now running as mod_php within Apache VC11 Win32 and am > getting the following results from GDB: > > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 872.0xb44] > 0x6fdfdf9f in zend_mm_set_custom_handlers () > from D:\phpdev\php57.x86\php5ts.dll (gdb) bt > #0 0x6fdfdf9f in zend_mm_set_custom_handlers () > from D:\phpdev\php57.x86\php5ts.dll #1 0x6fdfd090 in zend_strndup () from > D:\phpdev\php57.x86\php5ts.dll > #2 0x0a9615b0 in ?? () > Backtrace stopped: previous frame inner to this frame (corrupt stack?) > (gdb) > > > This is abracadabra for me, but maybe Anatol or Dmitri can make sense of > it... > Ok, so with the missing constant one issue less :) Now I get - you probably use some mingw or cygwin gdb builds. Usually this http://www.microsoft.com/en-us/download/details.aspx?id=40336 should be used. gdb will for sure work not correct and many cases and is unusable for us. Also, if it's your build, don't forget to use --with-debug-pack or use debug build, that will give some better BT infos. Probably Dmitry is the one who should be looking at this :) Regards anatol -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php