crash-me fails on simple expresion for 4.0.15

Andrej <[email protected]>
Newsgroups gmane.comp.db.mysql.bugs
Message-ID <[email protected]>
bug description:
================

running crash-me test on the hpux11.11-parisc20 and linux-ia64 mysqld coredumps 
on the one request (below).

select 1+(1+(1+(......))));
(full query in attachment)

environment:
============

hardware: L2000 / PA-RISC2.0 / 64bit
OS	: HPUX 11.11 + Patch Bundle June 2003
MySQL	: 4.0.15-hp-hpux11.11-hppa2.0w-64bit
	  taken from mysql.org in binary format

cd /usr/local/mysql-debug-4.0.15-hp-hpux11.11-hppa2.0w-64bit
bin/mysqld \
	--skip-grant-tables \
	--debug=d:t:i:o,/tmp/debug.trace \
	--skip-networking --socket=/tmp/m.sock \
	--datadir=/tmp/mysql --pid-file=/tmp/m.pid \
	--skip-innodb \
	--log-error=/tmp/mysqld.log \
	--one-thread \
	--safe-mode

mysql --socket=/tmp/m.sock < /tmp/query.sql
ERROR 2013 at line 1: Lost connection to MySQL server during query

Files debug.trace and mysqld.log are attached.

The same query on linux-ia64 and mysql version 4.0.15 (taken as binary from 
mysql.org) coredumps mysqld as well.

In case of questions I will be happy to perform any additional tests.

Regards, Andrej

PS.

I have wrote about similar problem and got following answer:

Lenz Grimmer wrote
 > running crash-me test on the ia64-linux mysqld coredumps on the one
 > request (below). This query was executed on each ia64-linux server
 > available for me with the same result. As you can see, all actual
 > releases have mentioned problem.
 >
 > At the same time, when server (3.23) was executed with --one-thread
 > flag, query was successfully processed.
 >
 > In case of ideas or suggestions, I am ready to perform any additional tests.

Thanks for spotting this - Monty just pushed a fix for this bug, so it
should be fixed for the next release:

[email protected], 2003-03-26 14:11:17+02:00, [email protected]
   Fix for glibc with small stack size (fixes bug when running crash-me)

-- 
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe:    http://lists.mysql.com/[email protected]
mysql-error-report.tgz (application/x-gtar, 4.4 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.