RE: bus error on sparc64 running type-preservation test

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I wrote:

> I have no idea how to fix this, but the following gdb backtrace (from v1.6.0) may help someone else:

With -O0:

Reading symbols from dtc...
(gdb) r -I dts -O dts -o tests/type-preservation.dts.test.dts tests/type-preservation.dts
Starting program: /build/device-tree-compiler-1.6.0/dtc -I dts -O dts -o tests/type-preservation.dts.test.dts tests/type-preservation.dts

Program received signal SIGBUS, Bus error.
0x0000010000017f2c in write_propval_int (f=0x1000012e300, p=0x100001348af "", len=4, width=4) at treesource.c:116
116                             fprintf(f, "0x%02"PRIx32, fdt32_to_cpu(*(const fdt32_t*)p));
(gdb) bt
#0  0x0000010000017f2c in write_propval_int (f=0x1000012e300, p=0x100001348af "", len=4, width=4) at treesource.c:116
#1  0x0000010000018704 in write_propval (f=0x1000012e300, prop=0x100001348e0) at treesource.c:251
#2  0x0000010000018b8c in write_tree_source_node (f=0x1000012e300, tree=0x10000134960, level=3) at treesource.c:310
#3  0x0000010000018c04 in write_tree_source_node (f=0x1000012e300, tree=0x10000134a30, level=2) at treesource.c:314
#4  0x0000010000018c04 in write_tree_source_node (f=0x1000012e300, tree=0x10000134b20, level=1) at treesource.c:314
#5  0x0000010000018c04 in write_tree_source_node (f=0x1000012e300, tree=0x10000134c10, level=0) at treesource.c:314
#6  0x0000010000018e28 in dt_to_source (f=0x1000012e300, dti=0x100001325c0) at treesource.c:344
#7  0x0000010000005f1c in main (argc=8, argv=0x7fefffff528) at dtc.c:351

Tom






[Index of Archives]     [Device Tree]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux