The Dink Network

Unable to load saved game in Fedora - bugzilla 1448761

August 23rd, 02:00 PM
anon.gif
johnny
Ghost
 
Is anybody able to load a saved game? There already is bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1448761
for not being able to load any saved game.

I am using Fedora rawhide:
freedink-108.4-6.fc27.x86_64
freedink-data-1.08.20170409-2.fc27.noarch
freedink-debuginfo-108.4-4.fc26.x86_64
freedink-dfarc-3.12-7.fc27.x86_64
freedink-dfarc-debuginfo-3.12-5.fc26.x86_64
freedink-engine-108.4-6.fc27.x86_64

I see in my logs,
==> /var/log/audit/audit.log <==
type=ANOM_ABEND msg=audit(1503508080.346:5873): auid=1001 uid=1001 gid=1002 ses=1 subj=unconfined_u:unconfined_r:unconfined_t 0-s0:c0.c1023 pid=29715 comm="freedink" exe="/usr/bin/freedink" sig=11 res=1
type=SERVICE_START msg=audit(1503508080.377:5874): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u ystem_r:init_t 0 msg='unit=systemd-coredump@17-29728-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
type=SERVICE_STOP msg=audit(1503508080.513:5875): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u ystem_r:init_t 0 msg='unit=systemd-coredump@17-29728-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

==> /var/log/messages <==
Aug 23 13:08:00 t440s systemd[1]: Started Process Core Dump (PID 29728/UID 0).
Aug 23 13:08:00 t440s systemd-coredump[29729]: Resource limits disable core dumping for process 29715 (freedink).
Aug 23 13:08:00 t440s systemd-coredump[29729]: Process 29715 (freedink) of user 1001 dumped core.
Aug 23 13:08:03 t440s kernel: usb 2-3.4.2: reset low-speed USB device number 8 using xhci_hcd

Here's the backtrace:
{ "signal": 11
, "executable": "/usr/bin/freedink"
, "only_crash_thread": true
, "stacktrace":
[ { "crash_thread": true
, "frames":
[ { "address": 781314808407
, "build_id": "535b03601ff1d47f3800528b8b52a17600a6ef3b"
, "build_id_offset": 195159
, "function_name": "safe_hasher"
, "file_name": "/usr/bin/freedink"
}
, { "address": 781314809759
, "build_id": "535b03601ff1d47f3800528b8b52a17600a6ef3b"
, "build_id_offset": 196511
, "function_name": "hash_lookup"
, "file_name": "/usr/bin/freedink"
}
, { "address": 781314664449
, "build_id": "535b03601ff1d47f3800528b8b52a17600a6ef3b"
, "build_id_offset": 51201
, "function_name": "dinkc_bindings_lookup"
, "file_name": "/usr/bin/freedink"
}
, { "address": 781314690305
, "build_id": "535b03601ff1d47f3800528b8b52a17600a6ef3b"
, "build_id_offset": 77057
, "function_name": "process_line"
, "file_name": "/usr/bin/freedink"
}
, { "address": 781314644977
, "build_id": "535b03601ff1d47f3800528b8b52a17600a6ef3b"
, "build_id_offset": 31729
, "function_name": "run_script"
, "file_name": "/usr/bin/freedink"
}
, { "address": 781314705232
, "build_id": "535b03601ff1d47f3800528b8b52a17600a6ef3b"
, "build_id_offset": 91984
, "function_name": "load_game"
, "file_name": "/usr/bin/freedink"
}
, { "address": 781314653074
, "build_id": "535b03601ff1d47f3800528b8b52a17600a6ef3b"
, "build_id_offset": 39826
, "function_name": "dc_load_game"
, "file_name": "/usr/bin/freedink"
}
, { "address": 781314691329
, "build_id": "535b03601ff1d47f3800528b8b52a17600a6ef3b"
, "build_id_offset": 78081
, "function_name": "process_line"
, "file_name": "/usr/bin/freedink"
}
, { "address": 781314644977
, "build_id": "535b03601ff1d47f3800528b8b52a17600a6ef3b"
, "build_id_offset": 31729
, "function_name": "run_script"
, "file_name": "/usr/bin/freedink"
}
, { "address": 781314798107
, "build_id": "535b03601ff1d47f3800528b8b52a17600a6ef3b"
, "build_id_offset": 184859
, "function_name": "process_talk"
, "file_name": "/usr/bin/freedink"
}
, { "address": 781314807033
, "build_id": "535b03601ff1d47f3800528b8b52a17600a6ef3b"
, "build_id_offset": 193785
, "function_name": "updateFrame"
, "file_name": "/usr/bin/freedink"
}
, { "address": 781314634343
, "build_id": "535b03601ff1d47f3800528b8b52a17600a6ef3b"
, "build_id_offset": 21095
, "function_name": "main"
, "file_name": "/usr/bin/freedink"
} ]
} ]
}

Any thoughts?
August 23rd, 02:03 PM
anon.gif
johnny
Ghost
 
Thread 1 "freedink" received signal SIGSEGV, Segmentation fault.
safe_hasher (table=table@entry=0x7699d0, key=key@entry=0x7fffffffa7a0) at hash.c:251
251 hash.c: No such file or directory.
(gdb) bt full
#0 safe_hasher (table=table@entry=0x7699d0, key=key@entry=0x7fffffffa7a0) at hash.c:251
n = <optimized out>
#1 0x000000010002ff9f in hash_lookup (table=table@entry=0x7699d0, entry=entry@entry=0x7fffffffa7a0) at hash.c:263
bucket = <optimized out>
cursor = <optimized out>
#2 0x000000010000c801 in dinkc_bindings_lookup (hash=0x7699d0, funcname=funcname@entry=0x100f24660 "make_global_int") at dinkc_bindings.c:1964
search = {funcname = 0x100e7fdf0 "make_global_int", func = 0x10001c38b <replace_norealloc+59>, params = {16, 0, 15877728, 1, 15, 0, 13528016, 1, 0, 0},
badparams_dcps = (DCPS_CONTINUE | unknown: 115856), badparams_returnint_p = 1, badparams_returnint = 15247200}
result = <optimized out>
lcfuncname = 0x100e7fdf0 "make_global_int"
pc = <optimized out>
#3 0x0000000100012d01 in process_line (script=script@entry=1, s=s@entry=0x100ce6bd0 "make_global_int(\"&exp\",0);\n", doelse=doelse@entry=0) at dinkc_bindings.c:3070
h = 0x100ce6bd0 "make_global_int(\"&exp\",0);\n"
p = <optimized out>
ev = {0x100f24660 "make_global_int", 0x100769690 "", 0x1010437d0 ""}
first = <optimized out>
str_args = <optimized out>
pbd = 0x0
#4 0x0000000100007bf1 in run_script (script=1) at dinkc.c:1123
doelse = 0
result = <optimized out>
line = 0x100ce6bd0 "make_global_int(\"&exp\",0);\n"
doelse_once = 0
#5 0x0000000100016750 in load_game (num=num@entry=2) at dinkvar.c:1385
skipbuf = '\000' <repeats 520 times>...
f = <optimized out>
i = <optimized out>
script = 1
#6 0x0000000100009b92 in dc_load_game (script=1, yield=0x7fffffffd2e0, preturnint=0x1002415c8 <returnint>, game_slot=2) at dinkc_bindings.c:1280
No locals.
#7 0x0000000100013101 in process_line (script=script@entry=1, s=s@entry=0x100e64600 "load_game(&result);\n", doelse=doelse@entry=0) at dinkc_bindings.c:3126
pf = <optimized out>
yield = 0x7fffffffd2e0
sig_int = {1, 0, 0, 0, 0, 0, 0, 0, 0, 0}
sig_int_int = {1, 1, 0, 0, 0, 0, 0, 0, 0, 0}
sig_str_str = {2, 2, 0, 0, 0, 0, 0, 0, 0, 0}
sig_int_int_int = {1, 1, 1, 0, 0, 0, 0, 0, 0, 0}
sig_int_int_int_int = {1, 1, 1, 1, 0, 0, 0, 0, 0, 0}
sig_int_int_int_int_int = {1, 1, 1, 1, 1, 0, 0, 0, 0, 0}
sig_int_int_int_int_int_int = {1, 1, 1, 1, 1, 1, 0, 0, 0, 0}
params = 0x1007a6f60
sig_void = {-1, 0, 0, 0, 0, 0, 0, 0, 0, 0}
sig_str = {2, 0, 0, 0, 0, 0, 0, 0, 0, 0}
sig_int_str = {1, 2, 0, 0, 0, 0, 0, 0, 0, 0}
sig_str_int = {2, 1, 0, 0, 0, 0, 0, 0, 0, 0}
sig_str_int_int = {2, 1, 1, 0, 0, 0, 0, 0, 0, 0}
h = 0x100e64600 "load_game(&result);\n"
p = <optimized out>
ev = {0x100e64620 "load_game", 0x100f44c10 "", 0x100f459a0 ""}
first = <optimized out>
str_args = <optimized out>
pbd = 0x1007a6f50
#8 0x0000000100007bf1 in run_script (script=1) at dinkc.c:1123
doelse = 0
result = <optimized out>
line = 0x100e64600 "load_game(&result);\n"
doelse_once = 0
#9 0x000000010002d21b in process_talk () at freedink.c:4407
sy = 308
sy_hold = <optimized out>
sy_ho = <optimized out>
curyr = <optimized out>
curyl = <optimized out>
y_last = <optimized out>
y_hold = <optimized out>
y_ho = <optimized out>
rcRect = {left = 183, top = 288, right = 462, bottom = 434}
i = <optimized out>
fake_page = <optimized out>
talk_hold = <optimized out>
#10 0x000000010002f4f9 in updateFrame () at update_frame.c:911
GFX_box_crap = {x = 16768, y = 94, w = 1, h = 0}
msg = '\000' <repeats 56 times>, ".\273\177\000\000\236\065\003\000\001\000\000\000,^뜓\177\000\000\004\000\000\000\000\000\000\000\360(^\000\001\000\000\000\004\000\000"
move_result = <optimized out>
get_frame = 0
max_s = <optimized out>
rank = {4, 5, 7, 3, 6, 2, 1, 0 <repeats 293 times>}
j = <optimized out>
j2 = <optimized out>
#11 0x0000000100005267 in main (argc=<optimized out>, argv=<optimized out at freedink.c:5032
event = {type = 1 '\001', active = {type = 1 '\001', gain = 0 '\000', state = 0 '\000'}, key = {type = 1 '\001', which = 0 '\000', state = 0 '\000', keysym = {
scancode = 0 '\000', sym = SDLK_UNKNOWN, mod = KMOD_NONE, unicode = 6192}}, motion = {type = 1 '\001', which = 0 '\000', state = 0 '\000', x = 0, y = 0,
xrel = 0, yrel = 0}, button = {type = 1 '\001', which = 0 '\000', button = 0 '\000', state = 0 '\000', x = 0, y = 0}, jaxis = {type = 1 '\001',
which = 0 '\000', axis = 0 '\000', value = 0}, jball = {type = 1 '\001', which = 0 '\000', ball = 0 '\000', xrel = 0, yrel = 0}, jhat = {type = 1 '\001',
which = 0 '\000', hat = 0 '\000', value = 0 '\000'}, jbutton = {type = 1 '\001', which = 0 '\000', button = 0 '\000', state = 0 '\000'}, resize = {
type = 1 '\001', w = 0, h = 0}, expose = {type = 1 '\001'}, quit = {type = 1 '\001'}, user = {type = 1 '\001', code = 0, data1 = 0x0,
data2 = 0x100031830 <__libc_csu_init>}, syswm = {type = 1 '\001', msg = 0x0}}
last_console_active = 0
September 2nd, 04:07 AM
farmer.gif
Beuc
Peasant Male France
 
Hi,

I'm a bit busy right now so I cannot make a new Fedora upload right now, but I added info on how to fix the bug at the redhat bugzilla.

Thanks for the detailed report