[DGD] DGD Segmentation Fault After Dump Restore

Neil McBride neil at dogl.net
Mon Sep 9 11:19:57 CEST 2013


Not sure if I'm on Felix's whitelist so posting this to the list too.

On 9/09/2013 5:50 PM, Felix A. Croes wrote:
>> The statedump was likely corrupted.  Was it by the same version of DGD,
>> or an earlier version?  Also, could you email me the result of the commands
>>
>>      frame 1
>>      print *tmpl
>>
>> with this coredump?

The state dump was from the same version of DGD. I restarted from a 
fresh restart a few days ago when this originally happened thinking 
perhaps it was me.

Output from the above commands follow: -

Core was generated by `./bin/driver H7/H7.dgd dump'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007f4dc834a217 in o_control (obj=0x7f4dc9adb340) at object.c:966
966         if (!(o->flags & O_MASTER)) {
(gdb) bt
#0  0x00007f4dc834a217 in o_control (obj=0x7f4dc9adb340) at object.c:966
#1  0x00007f4dc83592f9 in d_get_varmap (obj=0x7ffff35180b0, update=0,
     nvariables=0x7ffff35180f4) at data.c:1521
#2  0x00007f4dc83597cf in d_upgrade_lwobj (lwobj=0x7f4dc8264d48,
     obj=0x7f4dc96dc280) at data.c:1649
#3  0x00007f4dc8350672 in d_count (save=0x7ffff3518200, 
v=0x7f4dc829a4f0, n=1)
     at sdata.c:1830
#4  0x00007f4dc83503ed in d_arrcount (save=0x7ffff3518200, 
arr=0x7f4dc827b0f0)
     at sdata.c:1776
#5  0x00007f4dc8350599 in d_count (save=0x7ffff3518200, 
v=0x7f4dc82ada88, n=3)
     at sdata.c:1813
#6  0x00007f4dc83515a5 in d_save_dataspace (data=0x7f4dc8279378, swap=1 
'\001')
     at sdata.c:2210
#7  0x00007f4dc835215a in d_swapout (frag=32) at sdata.c:2437
#8  0x00007f4dc837415e in endthread () at dgd.c:89
#9  0x00007f4dc835e870 in comm_receive (f=0x7f4dc85f9b00 <topframe>,
     timeout=26, mtime=827) at comm.c:1580
#10 0x00007f4dc837458a in dgd_main (argc=2, argv=0x7ffff351a5b0) at 
dgd.c:223
#11 0x00007f4dc83c86dd in main (argc=3, argv=0x7ffff351a5a8) at local.c:46
(gdb) frame 1
#1  0x00007f4dc83592f9 in d_get_varmap (obj=0x7ffff35180b0, update=0,
     nvariables=0x7ffff35180f4) at data.c:1521
1521        vmap = o_control(tmpl)->vmap;
(gdb) print *tmpl
Cannot access memory at address 0x7f4dc9adb340


Thanks,

Neil.



More information about the DGD mailing list