(gdb) print pd->start_routine 
$1 = (void *(*)(void *)) 0x7f48700b60bd <log_thread>
(gdb) frame 2
#2  0x00007f48700b611b in log_thread (et=0x0) at log_pthread.c:57
57                      flush_logqueue();
(gdb) list
52              while (1) {
53                      pthread_mutex_lock(logev_lock);
54                      pthread_cond_wait(logev_cond, logev_lock);
55                      pthread_mutex_unlock(logev_lock);
56      
57                      flush_logqueue();
58              }
59              return NULL;
60      }
61      
(gdb) frame 1
#1  0x00007f48700b606e in flush_logqueue () at log_pthread.c:39
39                      pthread_mutex_lock(logq_lock);
(gdb) list
34      static void flush_logqueue (void)
35      {
36              int empty;
37      
38              do {
39                      pthread_mutex_lock(logq_lock);
40                      empty = log_dequeue(la->buff);
41                      pthread_mutex_unlock(logq_lock);
42                      if (!empty)
43                              log_syslog(la->buff);
(gdb) print logq_lock
$2 = (pthread_mutex_t *) 0x0
(gdb) frame 2
#2  0x00007f48700b611b in log_thread (et=0x0) at log_pthread.c:57
57                      flush_logqueue();
(gdb) print logev_lock
$3 = (pthread_mutex_t *) 0x0
(gdb) print logev_cond
$4 = (pthread_cond_t *) 0x0

>From pthread implementation:

/* Lock a mutex. */ 
extern int pthread_mutex_lock (pthread_mutex_t *__mutex) 
__THROWNL __nonnull ((1)); 

# define __THROWNL      __attribute__ ((__nothrow__)) 
# define __nonnull(params) __attribute__ ((__nonnull__ params))

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1687004

Title:
  multipath crash generating core dump

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1687004/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to