On Sunday 28 November 2010 15:01:07 Dan Langille wrote: > Does this help? It arrived this morning from my inbox
I see quite a few dumps like this one -- basically SQLite3 has a number of problems and will seg fault on various systems. I have stopped using it even for testing -- it just isn't stable. > > -------- Original Message -------- > > [New Thread 8024e9ac0 (LWP 100928)] > [New Thread 802339580 (LWP 100181)] > [New Thread 8025a5ac0 (LWP 101360)] > [New Thread 802339740 (LWP 101359)] > [New Thread 802339900 (LWP 101348)] > [New Thread 802339c80 (LWP 101319)] > [New Thread 802339ac0 (LWP 101313)] > [New Thread 801e9ec80 (LWP 100638)] > [New Thread 801c501c0 (LWP 100606)] > [New Thread 801c0ae40 (LWP 100446)] > [New Thread 801c50380 (LWP 100443)] > [New Thread 801c041c0 (LWP 100252)] > [Switching to Thread 8024e9ac0 (LWP 100928)] > 0x00000008019fe98a in read () from /lib/libc.so.7 > $1 = '\0' <repeats 29 times> > $2 = 0x801c0c068 "bacula-dir" > $3 = 0x801c0d0a8 > "/usr/home/dan/src/BaculaRegressionTesting-TRUNK/regress/bin/bacula-dir" > $4 = 0x801c97a28 "SQLite3" > $5 = 0x800b2da26 "5.1.7 (24 July 2010)" > $6 = 0x800b2da4e "x86_64-unknown-freebsd8.1" > $7 = 0x800b2da68 "freebsd" > $8 = 0x800b2da43 "8.1-STABLE" > $9 = "sqlite34.example.org", '\0' <repeats 26 times> > $10 = 0x800b2da3b "freebsd 8.1-STABLE" > $11 = 0 > TestName = 2drive-incremental-2disk > #0 0x00000008019fe98a in read () from /lib/libc.so.7 > #1 0x0000000800ec0760 in read () from /lib/libthr.so.3 > #2 0x0000000800afc659 in read_nbytes (bsock=0x802661c68, > ptr=0x7ffffe1f1924 "[", nbytes=4) at bnet.c:80 > #3 0x0000000800affd0b in BSOCK::recv (this=0x802661c68) at bsock.c:470 > #4 0x000000000041cbcf in bget_dirmsg (bs=0x802661c68) at getmsg.c:136 > #5 0x0000000000428f83 in start_storage_daemon_job (jcr=0x802256628, > rstore=0x0, wstore=0x8023545d8, send_bsr=false) at msgchan.c:299 > #6 0x0000000000411d94 in do_backup (jcr=0x802256628) at backup.c:358 > #7 0x00000000004200d4 in job_thread (arg=Variable "arg" is not available. > ) at job.c:313 > #8 0x000000000042322b in jobq_server (arg=Variable "arg" is not available. > ) at jobq.c:450 > #9 0x0000000800b2796d in lmgr_thread_launcher (x=0x80228d428) > at lockmgr.c:939 > #10 0x0000000800ebe511 in pthread_getprio () from /lib/libthr.so.3 > #11 0x0000000000000000 in ?? () > Error accessing memory address 0x7ffffe1f2000: Bad address. > > Thread 12 (Thread 801c041c0 (LWP 100252)): > #0 0x00000008019e3b4c in nanosleep () from /lib/libc.so.7 > #1 0x0000000800ec0965 in nanosleep () from /lib/libthr.so.3 > #2 0x0000000800afb596 in bmicrosleep (sec=60, usec=0) at bsys.c:63 > #3 0x000000000042d31a in wait_for_next_job (one_shot_job_to_run=0x0) > at scheduler.c:131 > #4 0x000000000040e590 in main (argc=0, argv=0x7fffffffe628) at dird.c:338 > > Thread 11 (Thread 801c50380 (LWP 100443)): > #0 0x00000008019e3b4c in nanosleep () from /lib/libc.so.7 > #1 0x0000000800ec0965 in nanosleep () from /lib/libthr.so.3 > #2 0x0000000800afb596 in bmicrosleep (sec=30, usec=0) at bsys.c:63 > #3 0x0000000800b279df in check_deadlock () at lockmgr.c:574 > #4 0x0000000800ebe511 in pthread_getprio () from /lib/libthr.so.3 > #5 0x0000000000000000 in ?? () > Error accessing memory address 0x7fffffbff000: Bad address. > > Thread 10 (Thread 801c0ae40 (LWP 100446)): > #0 0x00000008019fe90c in select () from /lib/libc.so.7 > #1 0x0000000800ec0574 in select () from /lib/libthr.so.3 > #2 0x0000000800afd946 in bnet_thread_server (addrs=0x801c0b3f8, > max_clients=20, client_wq=0x5721c0, > handle_client_request=0x445b20 <handle_UA_client_request>) > at bnet_server.c:161 > #3 0x0000000000445b1c in connect_thread (arg=0x801c0b3f8) at > ua_server.c:82 #4 0x0000000800b2796d in lmgr_thread_launcher > (x=0x801c973e8) > at lockmgr.c:939 > #5 0x0000000800ebe511 in pthread_getprio () from /lib/libthr.so.3 > #6 0x0000000000000000 in ?? () > Error accessing memory address 0x7fffff9fe000: Bad address. > > Thread 9 (Thread 801c501c0 (LWP 100606)): > #0 0x0000000800ec82ac in __error () from /lib/libthr.so.3 > #1 0x0000000800ec63a5 in pthread_cond_signal () from /lib/libthr.so.3 > #2 0x0000000800b267a1 in bthread_cond_timedwait_p (cond=0x800c3be80, > m=0x800c3be78, abstime=0x7fffff7fcf00, file=0x800b30ca2 "watchdog.c", > line=321) at lockmgr.c:824 > #3 0x0000000800b22296 in watchdog_thread (arg=Variable "arg" is not > available. > ) at watchdog.c:321 > #4 0x0000000800b2796d in lmgr_thread_launcher (x=0x801c0ce68) > at lockmgr.c:939 > #5 0x0000000800ebe511 in pthread_getprio () from /lib/libthr.so.3 > #6 0x0000000000000000 in ?? () > Error accessing memory address 0x7fffff7fd000: Bad address. > > Thread 8 (Thread 801e9ec80 (LWP 100638)): > #0 0x00000008019e3b4c in nanosleep () from /lib/libc.so.7 > #1 0x0000000800ec0965 in nanosleep () from /lib/libthr.so.3 > #2 0x0000000800afb596 in bmicrosleep (sec=1, usec=0) at bsys.c:63 > #3 0x000000000042e289 in wait_cmd (ua=0x80226e128, cmd=Variable "cmd" > is not available. > ) at ua_cmds.c:1801 > #4 0x00000000004302bb in do_a_command (ua=0x80226e128) at ua_cmds.c:244 > #5 0x0000000000445bdf in handle_UA_client_request (arg=Variable "arg" > is not available. > ) at ua_server.c:146 > #6 0x0000000800b2290a in workq_server (arg=Variable "arg" is not > available. ) at workq.c:346 > #7 0x0000000800b2796d in lmgr_thread_launcher (x=0x801e7fee8) > at lockmgr.c:939 > #8 0x0000000800ebe511 in pthread_getprio () from /lib/libthr.so.3 > #9 0x0000000000000000 in ?? () > Error accessing memory address 0x7fffff5fc000: Bad address. > > Thread 7 (Thread 802339ac0 (LWP 101313)): > #0 0x0000000800ec82ac in __error () from /lib/libthr.so.3 > #1 0x0000000800ec63a5 in pthread_cond_signal () from /lib/libthr.so.3 > #2 0x0000000800b267a1 in bthread_cond_timedwait_p (cond=0x572068, > m=0x572060, abstime=0x7fffff3faf00, file=0x455cd0 "jobq.c", line=405) > at lockmgr.c:824 > #3 0x0000000000423a5e in jobq_server (arg=Variable "arg" is not available. > ) at jobq.c:405 > #4 0x0000000800b2796d in lmgr_thread_launcher (x=0x80228d3a8) > at lockmgr.c:939 > #5 0x0000000800ebe511 in pthread_getprio () from /lib/libthr.so.3 > #6 0x0000000000000000 in ?? () > Error accessing memory address 0x7fffff3fb000: Bad address. > > Thread 6 (Thread 802339c80 (LWP 101319)): > #0 0x0000000801975edc in wait4 () from /lib/libc.so.7 > #1 0x0000000800ec016e in waitpid () from /lib/libthr.so.3 > #2 0x0000000800b197f4 in signal_handler (sig=11) at signal.c:229 > #3 <signal handler called> > #4 0x000000080198719f in free () from /lib/libc.so.7 > #5 0x0000000800d7fb9b in unixClose () from /usr/local/lib/libsqlite3.so.8 > #6 0x0000000800d81d87 in sqlite3PagerClose () > from /usr/local/lib/libsqlite3.so.8 > #7 0x0000000800d6c18d in sqlite3BtreeClose () > from /usr/local/lib/libsqlite3.so.8 > #8 0x0000000800d9c142 in sqlite3VdbeFreeCursor () > from /usr/local/lib/libsqlite3.so.8 > #9 0x0000000800d9c22f in closeAllCursors () > from /usr/local/lib/libsqlite3.so.8 > #10 0x0000000800d9c368 in sqlite3VdbeHalt () > from /usr/local/lib/libsqlite3.so.8 > #11 0x0000000800d97ff4 in sqlite3VdbeExec () > from /usr/local/lib/libsqlite3.so.8 > #12 0x0000000800d9adab in sqlite3_step () from > /usr/local/lib/libsqlite3.so.8 > #13 0x0000000800da384a in sqlite3_exec () from > /usr/local/lib/libsqlite3.so.8 > #14 0x0000000800d90297 in sqlite3_get_table () > from /usr/local/lib/libsqlite3.so.8 > #15 0x00000008007cbcac in my_sqlite_query (mdb=0x802288da8, > cmd=0x801c15740 "SELECT > MediaId,VolumeName,VolJobs,VolFiles,VolBlocks,VolBytes,VolMounts,VolErrors, >VolWrites,MaxVolBytes,VolCapacityBytes,MediaType,VolStatus,PoolId,VolRetenti >on,VolUseDuration,MaxVolJobs,MaxVolFiles,R"...) at sqlite.c:458 > #16 0x00000008007c0b3f in QueryDB (file=0x8007d4758 "sql_find.c", line=366, > jcr=0x802257228, mdb=0x802288da8, > cmd=0x801c15740 "SELECT > MediaId,VolumeName,VolJobs,VolFiles,VolBlocks,VolBytes,VolMounts,VolErrors, >VolWrites,MaxVolBytes,VolCapacityBytes,MediaType,VolStatus,PoolId,VolRetenti >on,VolUseDuration,MaxVolJobs,MaxVolFiles,R"...) at sql.c:243 > #17 0x00000008007c5412 in db_find_next_volume (jcr=0x802257228, > mdb=0x802288da8, item=1, InChanger=192, mr=0x7fffff1f9300) > at sql_find.c:366 > #18 0x0000000000429a0f in find_next_volume_for_append (jcr=0x802257228, > mr=0x7fffff1f9300, index=1, create=true, prune=true) at next_vol.c:79 > #19 0x00000000004141e5 in catalog_request (jcr=0x802257228, bs=0x8024a4da8) > at catreq.c:146 > #20 0x000000000041cdb8 in bget_dirmsg (bs=0x8024a4da8) at getmsg.c:230 > #21 0x0000000000428f83 in start_storage_daemon_job (jcr=0x802257228, > rstore=0x0, wstore=0x802354178, send_bsr=false) at msgchan.c:299 > #22 0x0000000000411d94 in do_backup (jcr=0x802257228) at backup.c:358 > #23 0x00000000004200d4 in job_thread (arg=Variable "arg" is not available. > ) at job.c:313 > #24 0x000000000042322b in jobq_server (arg=Variable "arg" is not available. > ) at jobq.c:450 > #25 0x0000000800b2796d in lmgr_thread_launcher (x=0x80228d368) > at lockmgr.c:939 > #26 0x0000000800ebe511 in pthread_getprio () from /lib/libthr.so.3 > #27 0x0000000000000000 in ?? () > Error accessing memory address 0x7fffff1fa000: Bad address. > > Thread 5 (Thread 802339900 (LWP 101348)): > #0 0x0000000800ec82ac in __error () from /lib/libthr.so.3 > #1 0x0000000800ec63a5 in pthread_cond_signal () from /lib/libthr.so.3 > #2 0x0000000800b267a1 in bthread_cond_timedwait_p (cond=0x572068, > m=0x572060, abstime=0x7ffffeff8f00, file=0x455cd0 "jobq.c", line=405) > at lockmgr.c:824 > #3 0x0000000000423a5e in jobq_server (arg=Variable "arg" is not available. > ) at jobq.c:405 > #4 0x0000000800b2796d in lmgr_thread_launcher (x=0x80228d2e8) > at lockmgr.c:939 > #5 0x0000000800ebe511 in pthread_getprio () from /lib/libthr.so.3 > #6 0x0000000000000000 in ?? () > Error accessing memory address 0x7ffffeff9000: Bad address. > > Thread 4 (Thread 802339740 (LWP 101359)): > #0 0x0000000800ec82ac in __error () from /lib/libthr.so.3 > #1 0x0000000800ec63a5 in pthread_cond_signal () from /lib/libthr.so.3 > #2 0x0000000800b267a1 in bthread_cond_timedwait_p (cond=0x572068, > m=0x572060, abstime=0x7ffffebf6f00, file=0x455cd0 "jobq.c", line=405) > at lockmgr.c:824 > #3 0x0000000000423a5e in jobq_server (arg=Variable "arg" is not available. > ) at jobq.c:405 > #4 0x0000000800b2796d in lmgr_thread_launcher (x=0x80228d1e8) > at lockmgr.c:939 > #5 0x0000000800ebe511 in pthread_getprio () from /lib/libthr.so.3 > #6 0x0000000000000000 in ?? () > Error accessing memory address 0x7ffffebf7000: Bad address. > > Thread 3 (Thread 8025a5ac0 (LWP 101360)): > #0 0x0000000800ec82ac in __error () from /lib/libthr.so.3 > #1 0x0000000800ec63a5 in pthread_cond_signal () from /lib/libthr.so.3 > #2 0x0000000800b267a1 in bthread_cond_timedwait_p (cond=0x572068, > m=0x572060, abstime=0x7ffffe9f5f00, file=0x455cd0 "jobq.c", line=405) > at lockmgr.c:824 > #3 0x0000000000423a5e in jobq_server (arg=Variable "arg" is not available. > ) at jobq.c:405 > #4 0x0000000800b2796d in lmgr_thread_launcher (x=0x80228d1e8) > at lockmgr.c:939 > #5 0x0000000800ebe511 in pthread_getprio () from /lib/libthr.so.3 > #6 0x0000000000000000 in ?? () > Error accessing memory address 0x7ffffe9f6000: Bad address. > > Thread 2 (Thread 802339580 (LWP 100181)): > #0 0x00000008019e3b4c in nanosleep () from /lib/libc.so.7 > #1 0x0000000800ec0965 in nanosleep () from /lib/libthr.so.3 > #2 0x0000000800afb596 in bmicrosleep (sec=2, usec=0) at bsys.c:63 > #3 0x00000000004238cd in jobq_server (arg=Variable "arg" is not available. > ) at jobq.c:596 > #4 0x0000000800b2796d in lmgr_thread_launcher (x=0x80228d168) > at lockmgr.c:939 > #5 0x0000000800ebe511 in pthread_getprio () from /lib/libthr.so.3 > #6 0x0000000000000000 in ?? () > Error accessing memory address 0x7ffffe7f5000: Bad address. > > Thread 1 (Thread 8024e9ac0 (LWP 100928)): > #0 0x00000008019fe98a in read () from /lib/libc.so.7 > #1 0x0000000800ec0760 in read () from /lib/libthr.so.3 > #2 0x0000000800afc659 in read_nbytes (bsock=0x802661c68, > ptr=0x7ffffe1f1924 "[", nbytes=4) at bnet.c:80 > #3 0x0000000800affd0b in BSOCK::recv (this=0x802661c68) at bsock.c:470 > #4 0x000000000041cbcf in bget_dirmsg (bs=0x802661c68) at getmsg.c:136 > #5 0x0000000000428f83 in start_storage_daemon_job (jcr=0x802256628, > rstore=0x0, wstore=0x8023545d8, send_bsr=false) at msgchan.c:299 > #6 0x0000000000411d94 in do_backup (jcr=0x802256628) at backup.c:358 > #7 0x00000000004200d4 in job_thread (arg=Variable "arg" is not available. > ) at job.c:313 > #8 0x000000000042322b in jobq_server (arg=Variable "arg" is not available. > ) at jobq.c:450 > #9 0x0000000800b2796d in lmgr_thread_launcher (x=0x80228d428) > at lockmgr.c:939 > #10 0x0000000800ebe511 in pthread_getprio () from /lib/libthr.so.3 > #11 0x0000000000000000 in ?? () > Error accessing memory address 0x7ffffe1f2000: Bad address. > #0 0x00000008019fe98a in read () from /lib/libc.so.7 > No symbol table info available. > #1 0x0000000800ec0760 in read () from /lib/libthr.so.3 > No symbol table info available. > #2 0x0000000800afc659 in read_nbytes (bsock=0x802661c68, > ptr=0x7ffffe1f1924 "[", nbytes=4) at bnet.c:80 > warning: Source file is more recent than executable. > > 80 nread = socketRead(bsock->m_fd, ptr, nleft); > Current language: auto; currently c++ > nleft = > /usr/home/dan/src/BaculaRegressionTesting-TRUNK/regress/bin/btraceback.gdb: >20: Error in sourced command file: > Variable "nleft" is not available. > > --------------------------------------------------------------------------- >--- Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap > into the largest installed PC base & get more eyes on your game by > optimizing for Intel(R) Graphics Technology. Get started today with the > Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. > http://p.sf.net/sfu/intelisp-dev2dev > _______________________________________________ > Bacula-devel mailing list > Bacula-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-devel ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ Bacula-devel mailing list Bacula-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-devel