You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 15, 2019. It is now read-only.
Assignee: Tommi
Status: Resolved (closed on 2014-03-03 19:37:33 +00:00)
Target Version: 1.11
Last Update: 2014-12-08 14:47:03 +00:00 (in Redmine)
Icinga Version: 1.10.0
OS Version: any
when starting ido2db on solaris a SEGV happened. Analysing points me to the proxy_free function, which is not checking if there was really a proxy object supplied and tries than to use it
(dbx) run -c ido2db-oracle.cfg -f
Running: ido2db -c ido2db-oracle.cfg -f
(process id 10876)
Reading libociei.so
Committing...
t@1 (l@1) signal SEGV (no mapping at the fault address) in mutex_lock_impl at 0xffffffff7e4cf888
0xffffffff7e4cf888: mutex_lock_impl+0x007c: ldub [%i4 + 5], %l0
Current function is ido2db_proxy_free
1102 pthread_mutex_lock(&(proxy->mutex));
(dbx) where
current thread: t@1
[1] mutex_lock_impl(0xffffffff7e600200, 0x0, 0x16e7e8, 0x0, 0x0, 0xffffffff7e64a240), at 0xffffffff7e4cf888
=>[2] ido2db_proxy_free(proxy = (nil)), line 1102 in "ido2db.c"
[3] ido2db_wait_for_connections(), line 1421 in "ido2db.c"
[4] main(argc = 4, argv = 0xffffffff7ffff798), line 318 in "ido2db.c"
static void ido2db_proxy_free(ido2db_proxy *proxy) {
int refs;
pthread_mutex_lock(&(proxy->mutex));
proxy->refs--;
refs = proxy->refs;
pthread_mutex_unlock(&(proxy->mutex));
if (refs == 0) {
pthread_mutex_destroy(&(proxy->mutex));
free(proxy);
}
This issue has been migrated from Redmine: https://dev.icinga.com/issues/5687
Created by Tommi on 2014-02-21 11:04:00 +00:00
Assignee: Tommi
Status: Resolved (closed on 2014-03-03 19:37:33 +00:00)
Target Version: 1.11
Last Update: 2014-12-08 14:47:03 +00:00 (in Redmine)
when starting ido2db on solaris a SEGV happened. Analysing points me to the proxy_free function, which is not checking if there was really a proxy object supplied and tries than to use it
Solution: add a check
Changesets
2014-02-21 16:51:22 +00:00 by Tommi 7ead192
2014-03-03 19:08:19 +00:00 by Tommi 0c8bc63
2014-03-03 21:34:07 +00:00 by (unknown) 2e60399
2014-03-27 22:53:44 +00:00 by (unknown) 4ae54be
The text was updated successfully, but these errors were encountered: