[PHP-BUG] Bug #64763 [NEW]: unbuffered queries connection problems are not handled by mysqlnd

2013-05-02 Thread ihanick at gmail dot com
From: ihanick at gmail dot com
Operating system: CentOS release 6.4
PHP version:  master-Git-2013-05-02 (snap)
Package:  MySQL related
Bug Type: Bug
Bug description:unbuffered queries connection problems are not handled by 
mysqlnd

Description:

Partially finished unbuffered query for mysql doesn't return any errors.
The problem persists for all current versions of mysqlnd but everything
find with 
old libmysqlclient code for all mysql extensions: mysql, mysqli,
pdo-mysql.

If I have 100k rows in query and connection dropped at 50k point, there is
no 
simple way to see this error in application and handle the problem.

Test script:
---
1) create a big table to have several seconds for select * from table
execution time
2) run php script
3) kill connection from php to mysql or kill mysqld

https://bugs.php.net/bug.php?id=64763&edit=1
-- 
Try a snapshot (PHP 5.4):   
https://bugs.php.net/fix.php?id=64763&r=trysnapshot54
Try a snapshot (PHP 5.3):   
https://bugs.php.net/fix.php?id=64763&r=trysnapshot53
Try a snapshot (trunk): 
https://bugs.php.net/fix.php?id=64763&r=trysnapshottrunk
Fixed in SVN:   https://bugs.php.net/fix.php?id=64763&r=fixed
Fixed in release:   https://bugs.php.net/fix.php?id=64763&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=64763&r=needtrace
Need Reproduce Script:  https://bugs.php.net/fix.php?id=64763&r=needscript
Try newer version:  https://bugs.php.net/fix.php?id=64763&r=oldversion
Not developer issue:https://bugs.php.net/fix.php?id=64763&r=support
Expected behavior:  https://bugs.php.net/fix.php?id=64763&r=notwrong
Not enough info:
https://bugs.php.net/fix.php?id=64763&r=notenoughinfo
Submitted twice:
https://bugs.php.net/fix.php?id=64763&r=submittedtwice
register_globals:   https://bugs.php.net/fix.php?id=64763&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64763&r=php4
Daylight Savings:   https://bugs.php.net/fix.php?id=64763&r=dst
IIS Stability:  https://bugs.php.net/fix.php?id=64763&r=isapi
Install GNU Sed:https://bugs.php.net/fix.php?id=64763&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=64763&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=64763&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=64763&r=mysqlcfg



#35238 [NEW]: pdf.c:(.text+0x6cb): undefined reference to `PDF_open_fp'

2005-11-16 Thread ihanick at gmail dot com
From: ihanick at gmail dot com
Operating system: Gentoo Linux 1.12.0_pre9
PHP version:  4CVS-2005-11-16 (CVS)
PHP Bug Type: Compile Failure
Bug description:  pdf.c:(.text+0x6cb): undefined reference to `PDF_open_fp'

Description:

cvs version of php-4.4 cann't be compiled with 
--with-pdflib option enabled.
pdflib-6.0.1

If I replace php pdf extension with cvs version from pecl the compilation
passed normaly.

Reproduce code:
---
./configure --with-pdflib && make

Actual result:
--
ext/pdf/pdf.lo: In function `zif_pdf_open':
pdf.c:(.text+0x6cb): undefined reference to `PDF_open_fp'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
make: *** Waiting for unfinished jobs
/usr/lib/gcc/i686-pc-linux-gnu/4.0.2/../../../../i686-pc-linux-gnu/bin/ld:
warning: creating a DT_TEXTREL in object.

-- 
Edit bug report at http://bugs.php.net/?id=35238&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=35238&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=35238&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=35238&r=trysnapshot51
Fixed in CVS:http://bugs.php.net/fix.php?id=35238&r=fixedcvs
Fixed in release:http://bugs.php.net/fix.php?id=35238&r=alreadyfixed
Need backtrace:  http://bugs.php.net/fix.php?id=35238&r=needtrace
Need Reproduce Script:   http://bugs.php.net/fix.php?id=35238&r=needscript
Try newer version:   http://bugs.php.net/fix.php?id=35238&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=35238&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=35238&r=notwrong
Not enough info: 
http://bugs.php.net/fix.php?id=35238&r=notenoughinfo
Submitted twice: 
http://bugs.php.net/fix.php?id=35238&r=submittedtwice
register_globals:http://bugs.php.net/fix.php?id=35238&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=35238&r=php3
Daylight Savings:http://bugs.php.net/fix.php?id=35238&r=dst
IIS Stability:   http://bugs.php.net/fix.php?id=35238&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=35238&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=35238&r=float
No Zend Extensions:  http://bugs.php.net/fix.php?id=35238&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=35238&r=mysqlcfg