-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Dan,

I recommend that you put a

#undef  _USE_LOCKMGR

at about line 100 of <bacula>/src/version.h

or alternatively,

you comment out every case of

#  define _USE_LOCKMGR

The traceback is not useful other than that it is possible that there is a problem in pthread_getprio().

Best regards,
Kern

On 04/03/2014 03:30 AM, Dan Langille wrote:
> In case this helps
>
> Begin forwarded message:
>
>>
>> [New Thread 80597a400 (LWP 101439/bacula-dir)]
>> [New Thread 8048cf800 (LWP 100222/bacula-dir)]
>> [New Thread 80597a800 (LWP 101483/bacula-dir)]
>> [New Thread 803d13400 (LWP 101968/bacula-dir)]
>> [New Thread 803808400 (LWP 101947/bacula-dir)]
>> [New Thread 803808000 (LWP 101918/bacula-dir)]
>> [New Thread 803807c00 (LWP 101852/bacula-dir)]
>> [New Thread 803807400 (LWP 101356/bacula-dir)]
>> [Switching to Thread 80597a400 (LWP 101439/bacula-dir)]
>> 0x0000000802723a5a in wait4 () from /lib/libc.so.7
>> $1 = '\0' <repeats 29 times>
>> $2 = 0x8038170a8 "bacula-dir"
>> $3 = 0x8038190a8 "/usr/home/dan/src/Bacula7RegressionTesting-TRUNK/regress/bin/bacula-dir"
>> $4 = 0x8038c4468 "PostgreSQL"
>> $5 = 0x8011234b8 "7.0.2 (02 April 2014)"
>> $6 = 0x8011234e5 "x86_64-unknown-freebsd9.2"
>> $7 = 0x8011234ff "freebsd"
>> $8 = 0x8011234d6 "9.2-RELEASE-p3"
>> $9 = "pg93.unixathome.org", '\0' <repeats 30 times>
>> $10 = 0x8011234ce "freebsd 9.2-RELEASE-p3"
>> $11 = 0
>> TestName = tls-duplicate-job-test
>> #0  0x0000000802723a5a in wait4 () from /lib/libc.so.7
>> #1  0x000000080155b0be in waitpid () from /lib/libthr.so.3
>> #2  0x000000080110d12b in signal_handler (sig=11) at signal.c:234
>> #3  0x000000080155d516 in pthread_sigmask () from /lib/libthr.so.3
>> #4  0x000000080155d5fc in pthread_sigmask () from /lib/libthr.so.3
>> #5  0x00007ffffffff193 in ?? ()
>> #6  0x000000080155d520 in pthread_sigmask () from /lib/libthr.so.3
>> #7  0x0000000000000000 in ?? ()
>> #8  0x0000000000000000 in ?? ()
>> #9  0x0000000000000000 in ?? ()
>> #10 0x0000000000000000 in ?? ()
>> #11 0x00000008038ea358 in ?? ()
>> #12 0x0000000804828fd8 in ?? ()
>> #13 0x0000000000000000 in ?? ()
>> #14 0x0000000804872828 in ?? ()
>> #15 0x0000000000000178 in ?? ()
>> #16 0x0000000000000000 in ?? ()
>> #17 0x0000000000000000 in ?? ()
>> #18 0x0000000804873328 in ?? ()
>> #19 0x0000000000000000 in ?? ()
>> #20 0x0000000000000000 in ?? ()
>> #21 0x0000000000000001 in ?? ()
>> #22 0x0000000804828fd8 in ?? ()
>> #23 0x000000000067d920 in res_incexe ()
>> #24 0x000000000000000a in ?? ()
>> #25 0x00007ffffe9f4ec0 in ?? ()
>> #26 0x001b00130000000c in ?? ()
>> #27 0x00000000000000b4 in ?? ()
>> #28 0x003b003b00000001 in ?? ()
>> #29 0x0000000000000004 in ?? ()
>> #30 0x0000000000427b0f in jobq_server (arg=Variable "arg" is not available.
>> ) at jobq.c:770
>> #31 0x0000000000000000 in ?? ()
>> #32 0x0000000000000000 in ?? ()
>> #33 0x0000000000000000 in ?? ()
>> #34 0x0000000000000000 in ?? ()
>> #35 0x0000000000000000 in ?? ()
>> #36 0x0000000000000000 in ?? ()
>> #37 0x0000000000000000 in ?? ()
>> #38 0x0000000000000000 in ?? ()
>> #39 0x0000000000000000 in ?? ()
>> #40 0x0000000000000000 in ?? ()
>> #41 0x0000000000000000 in ?? ()
>> #42 0x0000000000000000 in ?? ()
>> #43 0x0000000000000000 in ?? ()
>> #44 0x0000000000000000 in ?? ()
>> #45 0x0000000000000000 in ?? ()
>> #46 0x0000000000000000 in ?? ()
>> #47 0x0000000000000000 in ?? ()
>> #48 0x0000000000000000 in ?? ()
>> #49 0x0000000000000000 in ?? ()
>> #50 0x0000000000000000 in ?? ()
>> #51 0x0000000000000000 in ?? ()
>> #52 0x0000000000000000 in ?? ()
>> #53 0x0000000000000000 in ?? ()
>> #54 0x0000000000000000 in ?? ()
>> #55 0x0000000000000000 in ?? ()
>> #56 0x0000000000000000 in ?? ()
>> #57 0x0000000000000000 in ?? ()
>> #58 0x0000000000000000 in ?? ()
>> #59 0x0000000000000000 in ?? ()
>> #60 0x0000000000000000 in ?? ()
>> #61 0x0000000000000000 in ?? ()
>> #62 0x0000000000000000 in ?? ()
>> #63 0x0000000000000000 in ?? ()
>> #64 0x0000000000000000 in ?? ()
>> #65 0x0000000000000000 in ?? ()
>> #66 0x0000000000000000 in ?? ()
>> #67 0x00000008006bd0c0 in ?? ()
>> #68 0x0000000000000000 in ?? ()
>> #69 0x0000000000000000 in ?? ()
>> #70 0x0000000000000000 in ?? ()
>> #71 0x0000000000000000 in ?? ()
>> #72 0x0000000000000000 in ?? ()
>> #73 0x0000000000000000 in ?? ()
>> #74 0x0000000000000000 in ?? ()
>> #75 0x0000000000000000 in ?? ()
>> #76 0x0000000000000000 in ?? ()
>> #77 0x0000000000000000 in ?? ()
>> #78 0x0000000000000004 in ?? ()
>> #79 0x0000000000000000 in ?? ()
>> #80 0x0000000000000000 in ?? ()
>> #81 0x0000000000000000 in ?? ()
>> #82 0x0000000000000000 in ?? ()
>> #83 0x000000000000000b in ?? ()
>> #84 0x0000000000000001 in ?? ()
>> #85 0x0000000000000000 in ?? ()
>> #86 0x00000000000000b4 in ?? ()
>> #87 0x0000000000000000 in ?? ()
>> #88 0x000000000000000c in ?? ()
>> #89 0x0000000000000000 in ?? ()
>> #90 0x0000000000000000 in ?? ()
>> #91 0x0000000000000000 in ?? ()
>> #92 0x0000000000000000 in ?? ()
>> #93 0x0000000000018c3f in ?? ()
>> #94 0x0000000000000000 in ?? ()
>> #95 0x0000000803bcf028 in ?? ()
>> #96 0x0000000000000178 in ?? ()
>> #97 0x000000000067d920 in res_incexe ()
>> #98 0x000000080111be9a in lmgr_p (m=Variable "m" is not available.
>> ) at lockmgr.c:93
>> #99 0x000000080111bf83 in bthread_mutex_lock_p (m=0x0, file=0x0, line=-1515890086) at lockmgr.c:934
>> #100 0x00000000004273e2 in jobq_server (arg=Variable "arg" is not available.
>> ) at jobq.c:518
>> #101 0x000000080111cc3d in lmgr_thread_launcher (x=0x8048f43a8) at lockmgr.c:1091
>> #102 0x00000008015590a4 in pthread_getprio () from /lib/libthr.so.3
>> #103 0x00007ffffe7f5000 in ?? ()
>> Error accessing memory address 0x7ffffe9f5000: Bad address.
>>
>> Thread 8 (Thread 803807400 (LWP 101356/bacula-dir)):
>> #0  0x000000080279044c in nanosleep () from /lib/libc.so.7
>> #1  0x000000080155b9d5 in nanosleep () from /lib/libthr.so.3
>> #2  0x00000008010ed106 in bmicrosleep (sec=60, usec=0) at bsys.c:167
>> #3  0x00000000004324c6 in wait_for_next_job (_one_shot_job_to_run_=0x0) at scheduler.c:118
>> #4  0x000000000040f4bc in main (argc=Variable "argc" is not available.
>> ) at dird.c:336
>>
>> Thread 7 (Thread 803807c00 (LWP 101852/bacula-dir)):
>> #0  0x000000080279044c in nanosleep () from /lib/libc.so.7
>> #1  0x000000080155b9d5 in nanosleep () from /lib/libthr.so.3
>> #2  0x00000008010ed106 in bmicrosleep (sec=30, usec=0) at bsys.c:167
>> #3  0x000000080111cd70 in check_deadlock () at lockmgr.c:715
>> #4  0x00000008015590a4 in pthread_getprio () from /lib/libthr.so.3
>> #5  0x0000000000000000 in ?? ()
>> Error accessing memory address 0x7fffffbfe000: Bad address.
>>
>> Thread 6 (Thread 803808000 (LWP 101918/bacula-dir)):
>> #0  0x00000008027afcbc in select () from /lib/libc.so.7
>> #1  0x000000080155b4e4 in select () from /lib/libthr.so.3
>> #2  0x00000008010ef7b5 in bnet_thread_server (addr_list=0x803818448, max_clients=20, client_wq=0x67daa0, handle_client_request=0x44e9e0 <handle_UA_client_request>)
>>    at bnet_server.c:168
>> #3  0x000000000044e9dc in connect_thread (arg=0x803818448) at ua_server.c:69
>> #4  0x000000080111cc3d in lmgr_thread_launcher (x=0x8038c42e8) at lockmgr.c:1091
>> #5  0x00000008015590a4 in pthread_getprio () from /lib/libthr.so.3
>> #6  0x0000000000000000 in ?? ()
>> Error accessing memory address 0x7fffff9fd000: Bad address.
>>
>> Thread 5 (Thread 803808400 (LWP 101947/bacula-dir)):
>> #0  0x000000080156087c in pthread_kill () from /lib/libthr.so.3
>> #1  0x000000080155ab25 in pthread_getschedparam () from /lib/libthr.so.3
>> #2  0x0000000801562c8d in pthread_cond_signal () from /lib/libthr.so.3
>> #3  0x000000080111b281 in bthread_cond_timedwait_p (cond=0x801332720, m=0x801332718, abstime=0x7fffff7fbf10, file=0x801126b22 "watchdog.c", line=309) at lockmgr.c:976
>> #4  0x0000000801115d0b in watchdog_thread (arg=Variable "arg" is not available.
>> ) at watchdog.c:309
>> #5  0x000000080111cc3d in lmgr_thread_launcher (x=0x8038c4268) at lockmgr.c:1091
>> #6  0x00000008015590a4 in pthread_getprio () from /lib/libthr.so.3
>> #7  0x0000000000000000 in ?? ()
>> Error accessing memory address 0x7fffff7fc000: Bad address.
>>
>> Thread 4 (Thread 803d13400 (LWP 101968/bacula-dir)):
>> #0  0x000000080279044c in nanosleep () from /lib/libc.so.7
>> #1  0x000000080155b9d5 in nanosleep () from /lib/libthr.so.3
>> #2  0x00000008010ed106 in bmicrosleep (sec=0, usec=200000) at bsys.c:167
>> #3  0x000000000043354b in wait_cmd (ua=0x8048ce428, cmd=Variable "cmd" is not available.
>> ) at ua_cmds.c:1706
>> #4  0x0000000000434a65 in do_a_command (ua=0x8048ce428) at ua_cmds.c:227
>> #5  0x000000000044ea88 in handle_UA_client_request (arg=Variable "arg" is not available.
>> ) at ua_server.c:133
>> #6  0x0000000801116409 in workq_server (arg=Variable "arg" is not available.
>> ) at workq.c:323
>> #7  0x000000080111cc3d in lmgr_thread_launcher (x=0x803d110e8) at lockmgr.c:1091
>> #8  0x00000008015590a4 in pthread_getprio () from /lib/libthr.so.3
>> #9  0x0000000000000000 in ?? ()
>> Error accessing memory address 0x7fffff5fb000: Bad address.
>>
>> Thread 3 (Thread 80597a800 (LWP 101483/bacula-dir)):
>> #0  0x000000080156087c in pthread_kill () from /lib/libthr.so.3
>> #1  0x000000080155aa6c in pthread_getschedparam () from /lib/libthr.so.3
>> #2  0x000000080155f1bc in pthread_mutex_getprioceiling () from /lib/libthr.so.3
>> #3  0x000000080155f24b in pthread_mutex_lock () from /lib/libthr.so.3
>> #4  0x000000080111be9a in lmgr_p (m=Variable "m" is not available.
>> ) at lockmgr.c:93
>> #5  0x000000080111bf7a in bthread_mutex_lock_p (m=0x67d920, file=0x4606b0 "jobq.c", line=452) at lockmgr.c:933
>> #6  0x0000000000426dd0 in jobq_server (arg=Variable "arg" is not available.
>> ) at jobq.c:452
>> #7  0x000000080111cc3d in lmgr_thread_launcher (x=0x8048f43e8) at lockmgr.c:1091
>> #8  0x00000008015590a4 in pthread_getprio () from /lib/libthr.so.3
>> #9  0x00007ffffedf8000 in ?? ()
>> Error accessing memory address 0x7ffffeff8000: Bad address.
>>
>> Thread 2 (Thread 8048cf800 (LWP 100222/bacula-dir)):
>> #0  0x000000080156087c in pthread_kill () from /lib/libthr.so.3
>> #1  0x000000080155ab25 in pthread_getschedparam () from /lib/libthr.so.3
>> #2  0x0000000801562c8d in pthread_cond_signal () from /lib/libthr.so.3
>> #3  0x000000080111b281 in bthread_cond_timedwait_p (cond=0x67d928, m=0x67d920, abstime=0x7ffffe7f3f10, file=0x4606b0 "jobq.c", line=393) at lockmgr.c:976
>> #4  0x00000000004279fb in jobq_server (arg=Variable "arg" is not available.
>> ) at jobq.c:393
>> #5  0x000000080111cc3d in lmgr_thread_launcher (x=0x8048f42a8) at lockmgr.c:1091
>> #6  0x00000008015590a4 in pthread_getprio () from /lib/libthr.so.3
>> #7  0x00007ffffe5f4000 in ?? ()
>> Error accessing memory address 0x7ffffe7f4000: Bad address.
>>
>> Thread 1 (Thread 80597a400 (LWP 101439/bacula-dir)):
>> #0  0x0000000802723a5a in wait4 () from /lib/libc.so.7
>> #1  0x000000080155b0be in waitpid () from /lib/libthr.so.3
>> #2  0x000000080110d12b in signal_handler (sig=11) at signal.c:234
>> #3  0x000000080155d516 in pthread_sigmask () from /lib/libthr.so.3
>> #4  0x000000080155d5fc in pthread_sigmask () from /lib/libthr.so.3
>> #5  0x00007ffffffff193 in ?? ()
>> #6  0x000000080155d520 in pthread_sigmask () from /lib/libthr.so.3
>> #7  0x0000000000000000 in ?? ()
>> #8  0x0000000000000000 in ?? ()
>> #9  0x0000000000000000 in ?? ()
>> #10 0x0000000000000000 in ?? ()
>> #11 0x00000008038ea358 in ?? ()
>> #12 0x0000000804828fd8 in ?? ()
>> #13 0x0000000000000000 in ?? ()
>> #14 0x0000000804872828 in ?? ()
>> #15 0x0000000000000178 in ?? ()
>> #16 0x0000000000000000 in ?? ()
>> #17 0x0000000000000000 in ?? ()
>> #18 0x0000000804873328 in ?? ()
>> #19 0x0000000000000000 in ?? ()
>> #20 0x0000000000000000 in ?? ()
>> #21 0x0000000000000001 in ?? ()
>> #22 0x0000000804828fd8 in ?? ()
>> #23 0x000000000067d920 in res_incexe ()
>> #24 0x000000000000000a in ?? ()
>> #25 0x00007ffffe9f4ec0 in ?? ()
>> #26 0x001b00130000000c in ?? ()
>> #27 0x00000000000000b4 in ?? ()
>> #28 0x003b003b00000001 in ?? ()
>> #29 0x0000000000000004 in ?? ()
>> #30 0x0000000000427b0f in jobq_server (arg=Variable "arg" is not available.
>> ) at jobq.c:770
>> #31 0x0000000000000000 in ?? ()
>> #32 0x0000000000000000 in ?? ()
>> #33 0x0000000000000000 in ?? ()
>> #34 0x0000000000000000 in ?? ()
>> #35 0x0000000000000000 in ?? ()
>> #36 0x0000000000000000 in ?? ()
>> #37 0x0000000000000000 in ?? ()
>> #38 0x0000000000000000 in ?? ()
>> #39 0x0000000000000000 in ?? ()
>> #40 0x0000000000000000 in ?? ()
>> #41 0x0000000000000000 in ?? ()
>> #42 0x0000000000000000 in ?? ()
>> #43 0x0000000000000000 in ?? ()
>> #44 0x0000000000000000 in ?? ()
>> #45 0x0000000000000000 in ?? ()
>> #46 0x0000000000000000 in ?? ()
>> #47 0x0000000000000000 in ?? ()
>> #48 0x0000000000000000 in ?? ()
>> #49 0x0000000000000000 in ?? ()
>> #50 0x0000000000000000 in ?? ()
>> #51 0x0000000000000000 in ?? ()
>> #52 0x0000000000000000 in ?? ()
>> #53 0x0000000000000000 in ?? ()
>> #54 0x0000000000000000 in ?? ()
>> #55 0x0000000000000000 in ?? ()
>> #56 0x0000000000000000 in ?? ()
>> #57 0x0000000000000000 in ?? ()
>> #58 0x0000000000000000 in ?? ()
>> #59 0x0000000000000000 in ?? ()
>> #60 0x0000000000000000 in ?? ()
>> #61 0x0000000000000000 in ?? ()
>> #62 0x0000000000000000 in ?? ()
>> #63 0x0000000000000000 in ?? ()
>> #64 0x0000000000000000 in ?? ()
>> #65 0x0000000000000000 in ?? ()
>> #66 0x0000000000000000 in ?? ()
>> #67 0x00000008006bd0c0 in ?? ()
>> #68 0x0000000000000000 in ?? ()
>> #69 0x0000000000000000 in ?? ()
>> #70 0x0000000000000000 in ?? ()
>> #71 0x0000000000000000 in ?? ()
>> #72 0x0000000000000000 in ?? ()
>> #73 0x0000000000000000 in ?? ()
>> #74 0x0000000000000000 in ?? ()
>> #75 0x0000000000000000 in ?? ()
>> #76 0x0000000000000000 in ?? ()
>> #77 0x0000000000000000 in ?? ()
>> #78 0x0000000000000004 in ?? ()
>> #79 0x0000000000000000 in ?? ()
>> #80 0x0000000000000000 in ?? ()
>> #81 0x0000000000000000 in ?? ()
>> #82 0x0000000000000000 in ?? ()
>> #83 0x000000000000000b in ?? ()
>> #84 0x0000000000000001 in ?? ()
>> #85 0x0000000000000000 in ?? ()
>> #86 0x00000000000000b4 in ?? ()
>> #87 0x0000000000000000 in ?? ()
>> #88 0x000000000000000c in ?? ()
>> #89 0x0000000000000000 in ?? ()
>> #90 0x0000000000000000 in ?? ()
>> #91 0x0000000000000000 in ?? ()
>> #92 0x0000000000000000 in ?? ()
>> #93 0x0000000000018c3f in ?? ()
>> #94 0x0000000000000000 in ?? ()
>> #95 0x0000000803bcf028 in ?? ()
>> #96 0x0000000000000178 in ?? ()
>> #97 0x000000000067d920 in res_incexe ()
>> #98 0x000000080111be9a in lmgr_p (m=Variable "m" is not available.
>> ) at lockmgr.c:93
>> #99 0x000000080111bf83 in bthread_mutex_lock_p (m=0x0, file=0x0, line=-1515890086) at lockmgr.c:934
>> #100 0x00000000004273e2 in jobq_server (arg=Variable "arg" is not available.
>> ) at jobq.c:518
>> #101 0x000000080111cc3d in lmgr_thread_launcher (x=0x8048f43a8) at lockmgr.c:1091
>> #102 0x00000008015590a4 in pthread_getprio () from /lib/libthr.so.3
>> #103 0x00007ffffe7f5000 in ?? ()
>> Error accessing memory address 0x7ffffe9f5000: Bad address.
>> #0  0x0000000802723a5a in wait4 () from /lib/libc.so.7
>> No symbol table info available.
>> #1  0x000000080155b0be in waitpid () from /lib/libthr.so.3
>> No symbol table info available.
>> #2  0x000000080110d12b in signal_handler (sig=11) at signal.c:234
>> warning: Source file is more recent than executable.
>>
>> 234             waitpid(pid, &chld_status, 0);   /* wait for child to produce dump */
>> Current language:  auto; currently c++
>> sigdefault = {__sigaction_u = {__sa_handler = 0, __sa_sigaction = 0}, sa_flags = 0, sa_mask = {__bits = {4294967295, 4294967295, 4294967295, 4294967295}}}
>> buf = '\0' <repeats 80 times>, "\030\000\000\0000\000\000\000>îr\002\b\000\000\000@D\237þÿ\177\000\000ÂK\237þÿ\177\000\000\023\000\000\000\000\000\000\000j\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000j\000\000\000\000\000\000\000 E\237þÿ\177\000\000 I\237þÿ\177\000\000\000\000\000\000\000\000\000\000ò\rs\002\b\000\000\000\000\000\000\000P\033Ë\030\000\000\000\000\000\000\000\000ðÐÆ\006\b\000\000\000", '\\' <repeats 28 times>, "&®o[\000\000\000\000\000\000\000\000`ÑÆ\006\b", '\0' <repeats 15 times>, "P\033Ë\030\000\000\000\000\000\000\000\000ðÐÆ\006\b\000\000\000", '\\' <repeats 28 times>, "\020'Ø"...
>> pid = 91461
>> exelen = /usr/home/dan/src/Bacula7RegressionTesting-TRUNK/regress/bin/btraceback.gdb:20: Error in sourced command file:
>> Variable "exelen" is not available.
>
>
>
> ------------------------------------------------------------------------------
>
>
> _______________________________________________
> Bacula-devel mailing list
> Bacula-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-devel


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlM9EskACgkQNgfoSvWqwEgwPgCeNApyzDMrwGhhJ0NaYCofXugc
4/8AoPbb5tggB1sYH1drPvZWMWNFi8Qx
=VG9i
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to