Greetings:
Allow me to summarize the results of testing the mysql module on 0.8.99-dev19 -- OpenBSD/sparc32:
1. Compiled and linked against libmysqlclient.so.10.0: SIGBUS happens in libmysqlclient.so simple_command() (no symbols so can't debug). Lately, no SIGBUS but 'ser' simply exits with no debug messages (debug=9) after the loading module message.
2. Compiled and linked against libmysqlclient.so.14.0 (built locally with '-g'): 'ser' loads the file, reports the following error and then exits (debug=9): 0(9791) loading module /usr/local/lib/ser/modules/mysql.so.4.1.7.new 0(9791) ERROR: no version info in module </usr/local/lib/ser/modules/mysql.so.4.1.7.new>: Can't open file
3. Compiled and linked against libmysqlclient.so.14.0 (built locally without '-g' flag: same behavior as (2.) above lately (but yesterday would SIGBUS in advanced_command() in libmysqlclient.so.14.0)
4. Compiled and linked agains libmysqlclient.so.14.0 (built locally, with '-g') and with -Wcast_align removed from Makefile: (same behavior as (2) above.)
MySQL 4.1.7 client built locally (on the same host) works properly (uses libmysqlclient.so.14.0) aginst the mysqld running on the same host; ser_mysql.sh builds the databases (NOTE: field 'table_version' in 'version' is created incorrectly as field 'version' in the shell script) and serctl manipulates them properly.
I would appreciate someone working with me on this problem; perhaps some advice on breakpoints, extra debugging code, etc.?
Regards,
Michael Grigoni Cybertheque Museum
On 03-12 22:23, msg wrote:
Greetings:
Allow me to summarize the results of testing the mysql module on 0.8.99-dev19 -- OpenBSD/sparc32:
Compiled and linked against libmysqlclient.so.10.0: SIGBUS happens in libmysqlclient.so simple_command() (no symbols so can't debug). Lately, no SIGBUS but 'ser' simply exits with no debug messages (debug=9) after the loading module message.
Compiled and linked against libmysqlclient.so.14.0 (built locally with '-g'): 'ser' loads the file, reports the following error and then exits (debug=9):
0(9791) loading module /usr/local/lib/ser/modules/mysql.so.4.1.7.new 0(9791) ERROR: no version info in module </usr/local/lib/ser/modules/mysql.so.4.1.7.new>: Can't open file
This is strange, there should be "module_version" symbol in the library, try:
nm mysql.so | grep module_version
Jan.
Compiled and linked against libmysqlclient.so.14.0 (built locally without '-g' flag: same behavior as (2.) above lately (but yesterday would SIGBUS in advanced_command() in libmysqlclient.so.14.0)
Compiled and linked agains libmysqlclient.so.14.0 (built locally, with '-g') and with -Wcast_align removed from Makefile: (same behavior as (2) above.)
MySQL 4.1.7 client built locally (on the same host) works properly (uses libmysqlclient.so.14.0) aginst the mysqld running on the same host; ser_mysql.sh builds the databases (NOTE: field 'table_version' in 'version' is created incorrectly as field 'version' in the shell script) and serctl manipulates them properly.
I would appreciate someone working with me on this problem; perhaps some advice on breakpoints, extra debugging code, etc.?
Regards,
Michael Grigoni Cybertheque Museum
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
On Dec 03, 2004 at 22:23, msg michael.grigoni@cybertheque.org wrote:
Greetings:
Allow me to summarize the results of testing the mysql module on 0.8.99-dev19 -- OpenBSD/sparc32:
Compiled and linked against libmysqlclient.so.10.0: SIGBUS happens in libmysqlclient.so simple_command() (no symbols so can't debug). Lately, no SIGBUS but 'ser' simply exits with no debug messages (debug=9) after the loading module message.
Compiled and linked against libmysqlclient.so.14.0 (built locally with '-g'): 'ser' loads the file, reports the following error and then exits (debug=9):
0(9791) loading module /usr/local/lib/ser/modules/mysql.so.4.1.7.new 0(9791) ERROR: no version info in module </usr/local/lib/ser/modules/mysql.so.4.1.7.new>: Can't open file
Compiled and linked against libmysqlclient.so.14.0 (built locally without '-g' flag: same behavior as (2.) above lately (but yesterday would SIGBUS in advanced_command() in libmysqlclient.so.14.0)
Compiled and linked agains libmysqlclient.so.14.0 (built locally, with '-g') and with -Wcast_align removed from Makefile: (same behavior as (2) above.)
MySQL 4.1.7 client built locally (on the same host) works properly (uses libmysqlclient.so.14.0) aginst the mysqld running on the same host; ser_mysql.sh builds the databases (NOTE: field 'table_version' in 'version' is created incorrectly as field 'version' in the shell script) and serctl manipulates them properly.
I would appreciate someone working with me on this problem; perhaps some advice on breakpoints, extra debugging code, etc.?
Could you send me a diff with the changes you've made to the head version? I tried to reproduce your problems on a netbsd/sparc64 and solaris/sparc64, but everything worked ok for me so far.
Andrei