MySQL Forums
Forum List  »  UDF

Connect to mysql from UDF
Posted by: Victor S
Date: June 25, 2012 01:43PM

Hello

When I execute mysql_use_result in my UDF the message is:

19:44:54 UTC - 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=16777216
read_buffer_size=131072
max_used_connections=2
max_threads=151
thread_count=2
connection_count=2
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 346684 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x2df8db0
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...
stack_bottom = 7f5e72f17e48 thread_stack 0x30000
/usr/sbin/mysqld(my_print_stacktrace+0x35)[0x7c0fc5]
/usr/sbin/mysqld(handle_fatal_signal+0x4a4)[0x68f364]
/lib/libpthread.so.0(+0xf8f0)[0x7f5e72b958f0]
/usr/lib/libmysqlclient.so.18(mysql_use_result+0xb)[0x7f5e5d027f7b]
/usr/lib/plugin/checkValTab.so(checkValTab+0x1a6)[0x7f5e6020c8e8]

Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (2e5af90): SELECT checkValTab(1,2,3,4)
Connection ID (thread ID): 1
Status: NOT_KILLED

How can I fix this?
Thank you.

Options: ReplyQuote


Subject
Views
Written By
Posted
Connect to mysql from UDF
3003
June 25, 2012 01:43PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.