ODBC library / MySQL driver crashes under high load

Bug #1322263 reported by Martin Haase
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unixodbc (Ubuntu)
New
Undecided
Unassigned

Bug Description

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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.