Bug #81696 [Fbk->Opn]: crash on mysqly::query -- mysqli_query

From: Date: Sat, 04 Dec 2021 14:49:07 +0000
Subject: Bug #81696 [Fbk->Opn]: crash on mysqly::query -- mysqli_query
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-238163@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=81696&edit=1 ID: 81696 User updated by: info at infreschilab dot it Reported by: info at infreschilab dot it Summary: crash on mysqly::query -- mysqli_query -Status: Feedback +Status: Open Type: Bug Package: MySQLi related Operating System: Slackware 15 PHP Version: 8.1.0 Assigned To: cmb Block user comment: N Private report: N New Comment: The official php Slackware package is compiled without debugging symbols, but the test in easily to reproduce. The mysqli driver is unusable. Previous Comments: ------------------------------------------------------------------------ [2021-12-03 17:14:42] cmb@php.net Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php for *NIX and http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32 Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. ------------------------------------------------------------------------ [2021-12-03 16:41:29] info at infreschilab dot it Description: ------------ mysqli_query(mysqli $mysql, string $query) crash Test script: --------------- $mysqli = new mysqli("localhost", "my_user", "my_password", "my_db"); $result = $mysqli->query("SELECT * FROM my_table"); Expected result: ---------------- Select queries return a resultset Actual result: -------------- Segmentation fault ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=81696&edit=1

« previous php.bugs (#238163) next »