php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1002 Mysql Crashes using PHP mysql_numrows($result)
Submitted: 1998-12-23 08:11 UTC Modified: 1998-12-23 09:33 UTC
From: maverick at im2 dot im dot tku dot edu dot tw Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 3.0.5 OS: FreeBSD 3.0-RELEASE Apache_1.3.3
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: maverick at im2 dot im dot tku dot edu dot tw
New email:
PHP Version: OS:

 

 [1998-12-23 08:11 UTC] maverick at im2 dot im dot tku dot edu dot tw
$result=mysql($database,"select tcode from thenet $index $index1");
$datanum=mysql_numrows($result);

when $resule nothing
then mysql_numrows($result) whill  crash mysqld
system display  this error message
pid 24903 (mysqld), uid 0: exited on signal 11

use php-3.0.5 & 3.0.6 have the same problem
mysql-3.21.33 & 3.22.13

i compiled mysql use freebsds threads lib like this
--with-named-thread-libs=-lc_r

is this touch off this problem ??

or i should mit-threads......

thanks..


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-12-23 09:33 UTC] rasmus
This cannot possibly be a PHP bug.  Sounds to me like a question for the MySQL people and not something that should be submitted as a bug in PHP.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 06 15:01:35 2025 UTC