Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo


#83 virtuoso runs into endless loop during startup

Stefan Brüns

Probably the database is corrupted and virtuoso fails to replay the log during startup.

The error message is: Reference to page with free remap dp = 106369, remap = 106369

This log message is repeated over and over, creating an enourmous log file which fills the whole hard disk.

Virtuoso is version 6.1.6

0x00007fe977b191ed in write () from /lib64/libc.so.6
#1 0x00007fe977abd983 in _IO_new_file_write () from /lib64/libc.so.6
#2 0x00007fe977abd84a in new_do_write () from /lib64/libc.so.6
#3 0x00007fe977abe2ce in _IO_new_file_xsputn () from /lib64/libc.so.6
#4 0x00007fe977ab387d in fputs () from /lib64/libc.so.6
#5 0x0000000000830785 in file_emit (logit=<optimized out>, level=<optimized out>, msg=<optimized out>) at logmsg.c:582
#6 0x0000000000830a50 in logmsg_ap (level=3, file=0x0, line=0, mask=1, format=0x8617b8 "Reference to page with free remap dp = %ld, remap = %ld", ap=0x7ffface3aa58) at logmsg.c:381
#7 0x0000000000830e0d in log_error (format=<optimized out>) at logmsg.c:410
#8 0x0000000000478f28 in page_wait_access (itc=0x7ffface3d9f0, dp=106369, buf_from=0x7fe9726a54f0, buf_ret=0x7ffface3fac8, mode=0, max_change=106369) at gate.c:157
#9 0x000000000047ae6f in itc_dive_transit (itc=0x7ffface3d9f0, buf_ret=0x7ffface3fac8, to=106369) at gate.c:898
#10 0x00000000004e0813 in itc_page_split_search (it=0x7ffface3d9f0, buf_ret=0x7ffface3fac8) at search.c:2223
#11 0x00000000004e2f10 in itc_search (it=0x7ffface3d9f0, buf_ret=0x7ffface3fac8) at search.c:1536
#12 0x0000000000589f2b in itc_get_alt_key (del_itc=0x7ffface3d9f0, alt_buf_ret=0x7ffface3fac8, alt_key=0x2b1a110, rd=0x7ffface3fa40) at sqlrun.c:1729
#13 0x000000000058a84a in delete_node_run (del=0x32bda60, inst=0x3283488, state=<optimized out>) at sqlrun.c:1914
#14 0x000000000058ad66 in delete_node_input (del=0x32bda60, inst=0x3283488, state=0x3283488) at sqlrun.c:1950
#15 0x00000000005888c1 in qn_send_output (src=0x3422080, state=0x3283488) at sqlrun.c:719
#16 0x000000000058fd0e in deref_node_input (dn=0x3422080, inst=0x3283488, state=0x3283488) at sqlrun.c:2098
#17 0x000000000058ee1c in qr_exec (cli=0x35d8b90, qr=0x34bfd30, caller=<optimized out>, cr_name=0x0, stmt=<optimized out>, lc_ret=<optimized out>, parms=0x3074be8, opts=0x7ffface3ffa8,
named_params=1) at sqlrun.c:3184
#18 0x000000000058f6b4 in qr_rec_exec (qr=0x34bfd30, cli=0x35d8b90, lc_ret=0x0, caller=0x1, opts=0x7ffface3ffa8, n_pars=<optimized out>) at sqlrun.c:3788
#19 0x00000000004a857c in log_replay_delete (lt=0x35deaf0, in=<optimized out>) at log.c:1040
#20 0x00000000004a9b42 in log_replay_trx (in=0x7ffface402f0, cli=0x35d8b90, repl_header=0x343ef28 "", is_repl=0, is_pushback=0) at log.c:1697
#21 0x00000000004aa844 in log_replay_file (fd=<optimized out>) at log.c:2090
#22 0x00000000004aae84 in log_init (dbs=0x2934f80) at log.c:2230
#23 0x000000000059561c in srv_global_init (mode=0x871e67 "") at sqlsrv.c:3962
#24 0x000000000044c7e7 in main (argc=5, argv=0x286f760) at viunix.c:668