[Bug 1322263] [NEW] ODBC library / MySQL driver crashes under high load

Martin Haase martin.haase at daasi.de
Thu May 22 16:02:46 UTC 2014


Public bug reported:

This might be a bug of either unixodbc or libmyodbc package.

Context: 
* Ubuntu 12.04.3 Server 64bit
* mySQL cluster accessed with HaProxy
* Distribution-supplied  unixodbc and libmyodbc packages
* Application: package shibboleth v.2.5.x from http://pkg.switch.ch/switchaai/ubuntu repository (see https://www.switch.ch/aai/docs/shibboleth/SWITCH/2.5/sp/deployment/?os=ubuntu)

Output:
shibd: pthread_mutex_lock.c:62: _pthread_mutex_lock: Assertion `mutex->data._owner == 0' failed.
Aborted

Strack trace:
#0 0x00007ffff6b31425 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007ffff6b34b8b in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x00007ffff6b2a0ee in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#3 0x00007ffff6b2a192 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
#4 0x00007ffff6ec3efb in pthread_mutex_lock ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#5 0x00007fffef30bac6 in SQLDriverConnect ()
from /usr/lib/x86_64-linux-gnu/libodbc.so.1
#6 0x00007fffef565109 in ?? () from /usr/lib/shibboleth/odbc-store.so
#7 0x00007fffef567743 in ?? () from /usr/lib/shibboleth/odbc-store.so
#8 0x00007fffef568840 in ?? () from /usr/lib/shibboleth/odbc-store.so
#9 0x00007ffff7abcfba in ?? () from /usr/lib/libshibsp.so.6
#10 0x00007ffff7af1af8 in shibsp::ListenerService::receive(shibsp::DDF&, std::ostream&) () from /usr/lib/libshibsp.so.6
#11 0x00007ffff7af4450 in shibsp::ServerThread::job() ()
from /usr/lib/libshibsp.so.6
#12 0x00007ffff7af5948 in shibsp::ServerThread::run() ()
from /usr/lib/libshibsp.so.6
#13 0x00007ffff7af5a01 in server_thread_fn(void*) ()
from /usr/lib/libshibsp.so.6
#14 0x00007ffff6ec1e9a in start_thread ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#15 0x00007ffff6beeccd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#16 0x0000000000000000 in ?? ()

Also cf. https://issues.shibboleth.net/jira/browse/SSPCPP-602 where this
has been reported before.

** Affects: unixodbc (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to unixodbc in Ubuntu.
https://bugs.launchpad.net/bugs/1322263

Title:
  ODBC library / MySQL driver crashes under high load

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unixodbc/+bug/1322263/+subscriptions



More information about the Ubuntu-server-bugs mailing list