Derived table bug

Derived table bug

am 26.11.2002 06:56:33 von Matt Parlane

uname -srm
Linux 2.4.19 i686

mysqladmin -v
Server version 4.1.0-alpha

gcc -v
gcc version 2.95.3 20010315 (release)

MySQL 4.1.0-alpha checked out 2002-11-26 11:10:00 NZST (2002-11-25
23:00:10 GMT)

Anything with a derived table does this. Server is running fine otherwise.

Configure line was:
../configure --prefix=/usr/local/mysql4.1/ --without-innodb --without-isam

How-To-Repeat:
umm... do a select on a derived table... ?

Anything else you want?

~~~~~~~~~~~~~~~~~~~~~~~~~~~
SELECT * FROM (SELECT 1)

mysqld got signal 11;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help
diagnose
the problem, but since we have already crashed, something is definitely
wrong
and this may fail.

key_buffer_size=8388600
read_buffer_size=131072
sort_buffer_size=2097144
max_used_connections=21
max_connections=100
threads_connected=2
It is possible that mysqld could use up to key_buffer_size +
(read_buffer_size + sort_buffer_size)*max_connections = 225791 Kbytes of
memory
Hope that's ok; if not, decrease some variables in the equation.

thd=0x82bd290
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
Cannot determine thread, fp=0xbf3fec58, backtrace may not be correct.
Stack range sanity check OK, backtrace follows:
0x80d71d9
0x40026144
0x81a7847
0x80e6cac
0x80f0a73
0x80e5e3b
0x80e1245
0x80e7404
0x80e059e
0x4002310c
0x401b283a
New value of fp=(nil) failed sanity check, terminating stack trace!
Please read http://www.mysql.com/doc/U/s/Using_stack_trace.html and
follow instructions on how to resolve the stack trace. Resolved stack
trace is much more helpful in diagnosing the problem, so please do
resolve it
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort...
thd->query at 0x82c5f80 = SELECT * FROM (SELECT 1)
thd->thread_id=6804

Successfully dumped variables, if you ran with --log, take a look at the
details of what thread 6804 did to cause the crash. In some cases of
really
bad corruption, the values shown above may be invalid.

The manual page at http://www.mysql.com/doc/C/r/Crashing.html contains
information that should help you find out what is causing the crash.

Number of processes running now: 0
021126 17:49:27 mysqld restarted
/usr/local/mysql4.1//libexec/mysqld: ready for connections




------------------------------------------------------------ ---------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)

To request this thread, e-mail bugs-thread13116@lists.mysql.com
To unsubscribe, e-mail

Re: Derived table bug

am 26.11.2002 10:17:39 von Sanja Byelkin

Hi!

On Tue, Nov 26, 2002 at 06:56:33PM +1300, Matt Parlane wrote:
> uname -srm
> Linux 2.4.19 i686
>
> mysqladmin -v
> Server version 4.1.0-alpha
>
> gcc -v
> gcc version 2.95.3 20010315 (release)
>
> MySQL 4.1.0-alpha checked out 2002-11-26 11:10:00 NZST (2002-11-25
> 23:00:10 GMT)
>
> Anything with a derived table does this. Server is running fine otherwise.
>
> Configure line was:
> ./configure --prefix=/usr/local/mysql4.1/ --without-innodb --without-isam
>
> How-To-Repeat:
> umm... do a select on a derived table... ?
>
> Anything else you want?
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~
> SELECT * FROM (SELECT 1)

Thank you for bugreport, but I can't reproduce this on last bk tree
repository copy:

mysql> SELECT * FROM (SELECT 1);
+---+
| 1 |
+---+
| 1 |
+---+
1 row in set (0.00 sec)

Can you check that you use last bk tree repository?

--
Regards,
Alexander

------------------------------------------------------------ ---------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)

To request this thread, e-mail bugs-thread13117@lists.mysql.com
To unsubscribe, e-mail

Re: Derived table bug

am 26.11.2002 11:13:52 von Jocelyn Fournier

Hi,

Perhaps because --without-innodb --without-isam flags are used ?

Regards,
Jocelyn
----- Original Message -----
From: "Sanja Byelkin"
To: "Matt Parlane"
Cc:
Sent: Tuesday, November 26, 2002 9:17 AM
Subject: Re: Derived table bug


> Hi!
>
> On Tue, Nov 26, 2002 at 06:56:33PM +1300, Matt Parlane wrote:
> > uname -srm
> > Linux 2.4.19 i686
> >
> > mysqladmin -v
> > Server version 4.1.0-alpha
> >
> > gcc -v
> > gcc version 2.95.3 20010315 (release)
> >
> > MySQL 4.1.0-alpha checked out 2002-11-26 11:10:00 NZST (2002-11-25
> > 23:00:10 GMT)
> >
> > Anything with a derived table does this. Server is running fine
otherwise.
> >
> > Configure line was:
> >
../configure --prefix=/usr/local/mysql4.1/ --without-innodb --without-isam
> >
> > How-To-Repeat:
> > umm... do a select on a derived table... ?
> >
> > Anything else you want?
> >
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > SELECT * FROM (SELECT 1)
>
> Thank you for bugreport, but I can't reproduce this on last bk tree
> repository copy:
>
> mysql> SELECT * FROM (SELECT 1);
> +---+
> | 1 |
> +---+
> | 1 |
> +---+
> 1 row in set (0.00 sec)
>
> Can you check that you use last bk tree repository?
>
> --
> Regards,
> Alexander
>
> ------------------------------------------------------------ ---------
> Before posting, please check:
> http://www.mysql.com/manual.php (the manual)
> http://lists.mysql.com/ (the list archive)
>
> To request this thread, e-mail bugs-thread13117@lists.mysql.com
> To unsubscribe, e-mail
>
>
>
>


------------------------------------------------------------ ---------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)

To request this thread, e-mail bugs-thread13118@lists.mysql.com
To unsubscribe, e-mail

Re: Derived table bug

am 26.11.2002 12:24:54 von Sanja Byelkin

Hi!

On Tue, Nov 26, 2002 at 10:13:52AM -0000, Jocelyn Fournier wrote:
> Hi,
>
> Perhaps because --without-innodb --without-isam flags are used ?

I have built MySQL with "--without-innodb --without-isam" just now.
But can not receive mysqld crash on this query, still it is:

mysql> SELECT * FROM (SELECT 1);
+---+
| 1 |
+---+
| 1 |
+---+
1 row in set (0.00 sec)


--
For technical support contracts, visit https://order.mysql.com/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Oleksandr Byelkin
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Full-Time Developer
/_/ /_/\_, /___/\___\_\___/ Lugansk, Ukraine
<___/ www.mysql.com

------------------------------------------------------------ ---------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)

To request this thread, e-mail bugs-thread13119@lists.mysql.com
To unsubscribe, e-mail