Hello again, this time I write to this list to report a bug, a segmentation fault. Couldn't find any lead to this bug anywhere else. And because of so many related packages, I dont know where to post it. Did I find the right place?
The following PHP code exits in "segmentation fault". <?php function error_handler() { throw new Exception; } set_error_handler('error_handler'); mysql_list_dbs(); ?> No segmentation fault if I do either of these things: 1) disable xdebug 2) don't set_error_handler 3) don't throw exception 4) throw exception after mysql_list_dbs but outside of error_handler As I only wanted to use mysql_list_dbs() for testing purposes I don't need an alternative solution. I know that this function is deprecated in PHP5.4. Some technical details: $ strace php test.php 2>&1 |tail -n 3 read(3, "\7\0\0\2\0\0\0\2\0\0\0", 16384) = 11 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ $ php -v PHP 5.4.4-14 (cli) (built: Mar 4 2013 14:08:43) Copyright (c) 1997-2012 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies with Xdebug v2.2.1, Copyright (c) 2002-2012, by Derick Rethans $ cat /etc/apt/sources.list deb http://ftp2.de.debian.org/debian/ sid main non-free deb-src http://ftp2.de.debian.org/debian/ sid main non-free # (apt-get update && apt-get upgrade)|tail -n 1 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. # uname -a Linux baldur 3.2.0-4-amd64 #1 SMP Debian 3.2.39-2 x86_64 GNU/Linux Best regards Sven. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/5145c329.6060...@web.de