[Bug] Nullpointer Exception in of_diff
Johannes Zink
j.zink at pengutronix.de
Mon Jun 12 07:26:04 PDT 2023
Hi,
I observed a Nullpointer Exception in barebox barebox 2023.05.0 on a Rock3a
when calling
of_diff . .
on the shell. Please find the complete dump below:
barebox at Radxa ROCK3 Model A:/ of_diff . .
diff . .
Cannot read .: No such file or directory
DABT (current EL) exception (ESR 0x9600000b) at 0x000000000000000e
elr: 000000007fd4b8b0 lr : 000000007fd57ba0
x0 : 000000004037ca60 x1 : 000000000000000a
x2 : 0000000000000000 x3 : 000000007fd21910
x4 : 0000000000000002 x5 : 0000000000000020
x6 : 0000000000000000 x7 : 0000000000000000
x8 : 000000007ffefad8 x9 : 0000000000000000
x10: 0000000000000003 x11: 00000000405015c8
x12: 0000000000000000 x13: 0000000040500d38
x14: 00000000403786e0 x15: 0000000000000001
x16: 000000007ffef4b8 x17: 0000000000000001
x18: 000000007ffefa50 x19: fffffffffffffffe
x20: fffffffffffffffe x21: fffffffffffffffe
x22: 0000000000000001 x23: 0000000000000003
x24: 0000000000000001 x25: 0000000000000000
x26: 0000000000000008 x27: 0000000040500978
x28: 0000000000000000 x29: 000000007ffefae0
Call trace:
[<7fd4b8b0>] (of_delete_node+0x4c/0xf8) from [<7fd57ba0>] (do_of_diff+0x78/0xec)
[<7fd57ba0>] (do_of_diff+0x78/0xec) from [<7fd069c4>] (execute_command+0x44/0x8c)
[<7fd069c4>] (execute_command+0x44/0x8c) from [<7fd03dcc>]
(execute_binfmt+0x68/0xa0)
[<7fd03dcc>] (execute_binfmt+0x68/0xa0) from [<7fd0f2c4>]
(run_list_real+0x8e4/0x9d0)
[<7fd0f2c4>] (run_list_real+0x8e4/0x9d0) from [<7fd0e834>]
(parse_stream_outer+0x140/0x1ec)
[<7fd0e834>] (parse_stream_outer+0x140/0x1ec) from [<7fd0f604>]
(run_shell+0x60/0x98)
[<7fd0f604>] (run_shell+0x60/0x98) from [<7fd017f4>] (run_init+0x110/0x250)
[<7fd017f4>] (run_init+0x110/0x250) from [<7fd01984>] (start_barebox+0x50/0x8c)
[<7fd01984>] (start_barebox+0x50/0x8c) from [<7fd7f454>]
(barebox_non_pbl_start+0x13c/0x170)
[<7fd7f454>] (barebox_non_pbl_start+0x13c/0x170) from [<7fd0000c>]
(__bare_init_start+0x0/0x4)
[<7fd0000c>] (__bare_init_start+0x0/0x4) from [<00a0f6f0>] (0xa0f6f0)
[<00a0f6f0>] (0xa0f6f0) from [<00a0f320>] (0xa0f320)
panic: unhandled exception
The behaviour is stable and reproducable on a Rock3A, probably also on other
boards. Maybe someone of the more experienced barebox devs already has an idea
what's going wrong here and wants to have a closer look, otherwise I'd probably
give it a shot within the next few days (and if I manage to find some spare
time...)
Best regards
Johannes
--
Pengutronix e.K. | Johannes Zink |
Steuerwalder Str. 21 | https://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686| Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list