Hi: it seems due to EXPLAIN , since other normal sql has a valid catalog .
and I found it also generate a segfault when linked against mysqlnd the most difficult part is, when the catalog in field struct is not valid, it is not a NULL pointer,,, I can't distinguish this from a valid catalog string pointer. (gdb) p *field $2 = {name = 0x10007d0 "possible_keys", org_name = 0x10007e0 "", table = 0x10007c0 "", org_table = 0x10007c8 "", db = 0x10007b8 "", catalog = 0x20200a3e6e6f6974 <Address 0x20200a3e6e6f6974 out of bounds>, def = 0x0, length = 4096, max_length = 0, name_length = 537542259, org_name_length = 1818311712, table_length = 1047748969, org_table_length = 762278761, db_length = 959789112, catalog_length = 792474157, def_length = 1634298977, flags = 0, decimals = 31, charsetnr = 8, type = MYSQL_TYPE_VAR_STRING, extension = 0x61696c612f3c3130} thanks 2011/9/10 Pierre Joye <pierre....@gmail.com>: > hi, > > Can you discuss that in the bug tracker please? so we have a BT :) > > On Sat, Sep 10, 2011 at 4:15 PM, Laruence <larue...@php.net> wrote: >> Hi: >> got, thanks, :-) >> >> and I found the seg fault is cause by "catalog", which was >> introduced by >> http://svn.php.net/viewvc/php/php-src/trunk/ext/mysqli/mysqli_api.c?r1=307475&r2=307532 >> >> I am not sure, the catalog is for what? >> >> thanks >> >> 2011/9/10 Kalle Sommer Nielsen <ka...@php.net>: >>> Hi Laruence >>> >>> 2011/9/10 Laruence <larue...@php.net>: >>>> Hi: >>>> somebody of mysqli plz look at #55661, #55662 >>>> >>>> they are test failed , and a segfault when use mysqli linked >>>> against libmysql in Linux redhat(64bit) >>> >>> Assign such bugs to "mysql" (the username) and the MySQL guys will >>> normally get to it pretty quickly :) >>> >>> -- >>> regards, >>> >>> Kalle Sommer Nielsen >>> ka...@php.net >>> >> >> >> >> -- >> Laruence Xinchen Hui >> http://www.laruence.com/ >> >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> > > > > -- > Pierre > > @pierrejoye | http://blog.thepimp.net | http://www.libgd.org > -- Laruence Xinchen Hui http://www.laruence.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php