Closed shentino closed 4 years ago
I can give you a reproduction kit but it needs to be kept confidential due to private
You did not provide sufficient information to reproduce the problem. Please pare down this "reproduction kit" so it only contains clear instructions and no confidential information.
Did you get the email I sent?
The latest updates seem to have fixed it.
I'm curious, what about your latest updates fixed this or was it a coincidence? Looking at the latest deltas I can't quite see what the problem was.
Spoke too soon it's still crashing
Nevermind that, I forgot to recompile.
But now I got a segfault:
Core was generated by `../dgd/bin/dgd kotaka.dgd state/snapshot state/snapshot.old'. Program terminated with signal SIGSEGV, Segmentation fault.
at swap.cpp:519
519 P_lseek(dump2, (off_t) (map[vec] + 1L) restoresecsize, [Current thread is 1 (Thread 0x7f37a9dcc740 (LWP 3856))] (gdb) bt
at swap.cpp:519
layout=0x559e59442129 "d", n=1, idx=48,
readv=0x559e593ab174 <Swap::conv2(char*, unsigned int*, unsigned int, unsigned int)>)
at swap.cpp:544
readv=0x559e593ab174 <Swap::conv2(char*, unsigned int*, unsigned int, unsigned int)>)
at control.cpp:2579
readv=0x559e593ab174 <Swap::conv2(char*, unsigned int*, unsigned int, unsigned int)>)
at control.cpp:3202
snapshot=0x7ffd7d30610c "state/snapshot", snapshot2=0x7ffd7d30611b "state/snapshot.old",
module=0x0, fragment=0x559e5946754c <fragment>) at config.cpp:1580
This segfault only happened when hotbooting after immediate restore from an old backup snapshot I had, but statedump cycling before hotbooting cleared it up, so I dunno
Could not reproduce
For some reason incremental snapshots either quit working or I'm doing something wrong.
See transcript. I can also privately provide the actual snapshot files on request.
shentino@metalhead 0 ~/git/kotaka $ dgd kotaka.dgd Mar 27 09:16:43 DGD 1.6.11 Mar 27 09:16:43 Initializing... Mar 27 09:16:43 Kernel library version: 1.3.4 Mar 27 09:16:43 Kotaka version: 0.60 Mar 27 09:16:43 System core loaded Mar 27 09:16:43 Initialization complete.
Mar 27 09:16:43 System discovered Mar 27 09:16:43 System loaded Mar 27 09:16:43 Booted Ecru Mar 27 09:16:43 Booted String Mar 27 09:16:43 Restoring accounts Mar 27 09:16:43 Booted Account Mar 27 09:16:43 Booted Bigstruct Mar 27 09:16:43 Booted Channel Mar 27 09:16:43 Booted Utility Mar 27 09:16:43 Booted Thing Mar 27 09:16:43 Booted Geometry Mar 27 09:16:43 Booted Http Mar 27 09:16:43 Booted Kotaka Mar 27 09:16:43 Booted Verb Mar 27 09:16:43 Booted Text Mar 27 09:16:43 Booted Action Mar 27 09:16:43 Booted Intermud Mar 27 09:16:43 Booted Test Mar 27 09:16:43 Booted Game Mar 27 09:16:44 Big mapping benchmark, 41690 ops/sec Mar 27 09:16:44 Using saved password for Ulario Mar 27 09:16:44 I3: Received startup reply Mar 27 09:17:23 System halted. --- DGD hotbooting --- Mar 27 09:17:23 DGD 1.6.11 Mar 27 09:17:23 Kernel library version: 1.3.4 Mar 27 09:17:23 Kotaka version: 0.60 Mar 27 09:17:23 ** State restored.
Mar 27 09:17:26 ** System halted. --- DGD hotbooting --- Bad or incompatible restore file header Config error: initialization failed
Welcome to Ulario:
If you wish to connect as a guest, simply type enter.
Login: shentino Password: [Shentino@ulario] hotboot Hotbooting... [Shentino@ulario] [09:17:23] #debug Auditing filequota hotboot Hotbooting... [Shentino@ulario] Connection closed by foreign host.
files.tar.gz