Re: mysql restarts when creating UDF.

2004-07-12 Thread Philippe Poelvoorde
Hi,
I've got approx. the same pb. Try the MySQL package provided by you 
favorite distro, recompile, and see if it works. I have no clue where 
the problem comes from.

Prem Soman wrote:
hi,
i have a very serious problem, when i try to
reinitialise the database and start my application. 

By reinitilisation i would remove the database i
created along with the UDF functions i created. Then
when i try to start my application, which creates the
database tables and the UDf, MySQL Restarts .
The following error was logged in the error log : 
Number of processes running now: 0
040712 18:26:33  mysqld restarted
040712 18:26:33  InnoDB: Database was not shut down
normally.
InnoDB: Starting recovery from log files...
InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 0 44378
InnoDB: Doing recovery: scanned up to log sequence
number 0 44378
040712 18:26:33  InnoDB: Flushing modified pages from
the buffer pool...
040712 18:26:33  InnoDB: Started
/abc/MySQL4.0.15/mysql-standard-4.0.15-pc-linux-i686/bin/mysqld:
ready for connections.
Version: '4.0.15-standard-log'  socket:
'/var/lib/mysql/mysql.sock'  port: 3306
040712 20:13:51  mysqld started
/advent/MySQL4.0.15/mysql-standard-4.0.15-pc-linux-i686/bin/mysqld:
ready for connections.
Version: '4.0.15-standard-log'  socket:
'/var/lib/mysql/mysql.sock'  port: 3306
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
max_used_connections=2
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 K
bytes of memory
Hope that's ok; if not, decrease some variables in the
equation.
thd=0x84a6aa0
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=0xbff3ef48, backtrace may
not be correct.
Stack range sanity check OK, backtrace follows:
0x8070640
0x8288108
0x82c2a56
0x82e3cab
0x82c50df
0x82c460a
0x82c5362
0x8283fd6
0x82c460a
0x82842d6
0x8284005
0x80ddf44
0x807d5ad
0x807e895
0x8079e03
0x807985d
0x807904f
0x82858bc
0x82bb07a
New value of fp=(nil) failed sanity check, terminating
stack trace!
Please read
http://www.mysql.com/doc/en/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 0x84af4f8 = create function getData
returns integer soname "sharedObject.so"
thd->thread_id=19
The manual page at
http://www.mysql.com/doc/en/Crashing.html contains
information that should help you find out what is
causing the crash.
When the application is started for first time, mysql
restarts and the database and UDF's are not created,
but however when it was started for the second time,
the database and the UDF's are getin created.
please help me .
this is found to appear only on mysql 4.0.* , while it
works fine in 3.23.*






___ALL-NEW Yahoo! Messenger - 
so many all-new ways to express yourself http://uk.messenger.yahoo.com

--
Philippe Poelvoorde
COS Trading Ltd.
+44.(0)20.7376.2401
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


mysql restarts when creating UDF.

2004-07-12 Thread Prem Soman
hi,

i have a very serious problem, when i try to
reinitialise the database and start my application. 

By reinitilisation i would remove the database i
created along with the UDF functions i created. Then
when i try to start my application, which creates the
database tables and the UDf, MySQL Restarts .

The following error was logged in the error log : 
Number of processes running now: 0
040712 18:26:33  mysqld restarted
040712 18:26:33  InnoDB: Database was not shut down
normally.
InnoDB: Starting recovery from log files...
InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 0 44378
InnoDB: Doing recovery: scanned up to log sequence
number 0 44378
040712 18:26:33  InnoDB: Flushing modified pages from
the buffer pool...
040712 18:26:33  InnoDB: Started
/abc/MySQL4.0.15/mysql-standard-4.0.15-pc-linux-i686/bin/mysqld:
ready for connections.
Version: '4.0.15-standard-log'  socket:
'/var/lib/mysql/mysql.sock'  port: 3306
040712 20:13:51  mysqld started
/advent/MySQL4.0.15/mysql-standard-4.0.15-pc-linux-i686/bin/mysqld:
ready for connections.
Version: '4.0.15-standard-log'  socket:
'/var/lib/mysql/mysql.sock'  port: 3306
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
max_used_connections=2
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 K
bytes of memory
Hope that's ok; if not, decrease some variables in the
equation.

thd=0x84a6aa0
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=0xbff3ef48, backtrace may
not be correct.
Stack range sanity check OK, backtrace follows:
0x8070640
0x8288108
0x82c2a56
0x82e3cab
0x82c50df
0x82c460a
0x82c5362
0x8283fd6
0x82c460a
0x82842d6
0x8284005
0x80ddf44
0x807d5ad
0x807e895
0x8079e03
0x807985d
0x807904f
0x82858bc
0x82bb07a
New value of fp=(nil) failed sanity check, terminating
stack trace!
Please read
http://www.mysql.com/doc/en/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 0x84af4f8 = create function getData
returns integer soname "sharedObject.so"
thd->thread_id=19
The manual page at
http://www.mysql.com/doc/en/Crashing.html contains
information that should help you find out what is
causing the crash.


When the application is started for first time, mysql
restarts and the database and UDF's are not created,
but however when it was started for the second time,
the database and the UDF's are getin created.

please help me .

this is found to appear only on mysql 4.0.* , while it
works fine in 3.23.*











___ALL-NEW Yahoo! Messenger - 
so many all-new ways to express yourself http://uk.messenger.yahoo.com

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]