[Serusers] bus error in ser 0.8.99-dev19/openbsd/sparc32/mysql

msg michael.grigoni at cybertheque.org
Wed Dec 1 08:25:37 CET 2004


Greetings:

Please see my previous posts regarding a bus error in 'dbt_tb.c'; since
dbtext wasn't working I thought I'd try mysql.so. For OpenBSD/sparc 3.2 
the MySQL package binary distribution is release 3.23.49.  Script
'ser_mysql.sh' successfully created the tables; 'serctl add'
successfully added a user. The same 'ser.cfg' as used for 'dbtext'
testing (attached to previous post) changed to load mysql.so and
reference the proper db_url parses ok.

The SIGBUS happens in a library routine in libmysqlclient.so.10.0 which
is not compiled with debugging symbols.

The core file is about 36MB.  Please let me know if I should send a
tarball of the works to someone.

Again, all help is much appreciated.

Michael

--------------------------------------------------------------------------

Here is the log (after the aliases listing):

stateless - initializing
  0(0) Maxfwd module- initializing
mysql - initializing

Here is the backtrace:

Program terminated with signal 10, Bus error.
Reading symbols from /usr/lib/libc.so.28.5...done.
Reading symbols from /usr/libexec/ld.so...done.
Reading symbols from /usr/local/lib/ser/modules/mysql.so...done.
Reading symbols from /usr/local/lib/libmysqlclient.so.10.0...done.
Reading symbols from /usr/lib/libz.so.1.4...done.
Reading symbols from /usr/lib/libm.so.0.1...done.
Reading symbols from /usr/local/lib/ser/modules/sl.so...done.
Reading symbols from /usr/local/lib/ser/modules/tm.so...done.
Reading symbols from /usr/local/lib/ser/modules/rr.so...done.
Reading symbols from /usr/local/lib/ser/modules/maxfwd.so...done.
Reading symbols from /usr/local/lib/ser/modules/usrloc.so...done.
Reading symbols from /usr/local/lib/ser/modules/registrar.so...done.
Reading symbols from /usr/local/lib/ser/modules/textops.so...done.
Reading symbols from /usr/local/lib/ser/modules/auth.so...done.
Reading symbols from /usr/local/lib/ser/modules/auth_db.so...done.
#0  0x86562b0 in simple_command ()
(gdb) bt
#0  0x86562b0 in simple_command ()
#1  0x865807b in mysql_real_query ()
#2  0x8657eb3 in mysql_query ()
#3  0x8522127 in submit_query (_h=0x2c03c8,
     _s=0x8632770 "select table_version from version where 
table_name='subscribe
'") at dbase.c:90
#4  0x8525267 in db_query () at dbase.c:305
#5  0x10d503 in table_version (dbf=0x93f8308, connection=0x2c03c8,
     table=0xf7fff3a8) at db/db.c:176
#6  0x92f3c73 in auth_db_ver () at authorize.c:340
#7  0x92f1d73 in str_fixup (param=0x2c1650, param_no=2) at authdb_mod.c:238
#8  0x73007 in fix_actions (a=0x2c1638) at route.c:239
#9  0x71e0f in fix_expr (exp=0x2c1688) at route.c:133
#10 0x715eb in fix_expr (exp=0x2c16cc) at route.c:101
#11 0x72c57 in fix_actions (a=0x2c19c0) at route.c:217
#12 0x72cb3 in fix_actions (a=0x2c1c10) at route.c:221
#13 0x72cb3 in fix_actions (a=0x2c05c8) at route.c:221
#14 0x75413 in fix_rls () at route.c:695
#15 0x4514b in main (argc=7, argv=0xf7fff87c) at main.c:1433
#16 0x1610f in ___start ()







More information about the sr-users mailing list