[Bug 1128943] New: dtc crashes with segmentation fault
http://bugzilla.suse.com/show_bug.cgi?id=1128943 Bug ID: 1128943 Summary: dtc crashes with segmentation fault Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: aarch64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: josef.moellers@suse.com Reporter: mbrugger@suse.com QA Contact: qa-bugs@suse.de CC: dmueller@suse.com Found By: --- Blocker: --- Created attachment 799819 --> http://bugzilla.suse.com/attachment.cgi?id=799819&action=edit coredump of dtc I just run dtc on my RPi3 tumbleweed and it crashed with a segementation fault. localhost:~ # dtc -I fs -O dts /proc/device-tree <stdout>: Warning (unit_address_vs_reg): /soc: node has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): /soc/local_intc: node has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): /memory: node has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_format): /soc/aux@0x7e215000: unit name should not have leading "0x" <stdout>: Warning (clocks_property): /soc/sdhci@7e300000:clocks: cell 0 is not a phandle reference <stdout>: Warning (clocks_property): /soc/i2c@7e804000:clocks: cell 0 is not a phandle reference <stdout>: Warning (clocks_property): /soc/aux@0x7e215000:clocks: cell 0 is not a phandle reference <stdout>: Warning (clocks_property): /soc/mmc@7e202000:clocks: cell 0 is not a phandle reference <stdout>: Warning (clocks_property): /soc/pwm@7e20c000:clocks: cell 0 is not a phandle reference <stdout>: Warning (clocks_property): /soc/thermal@7e212000:clocks: cell 0 is not a phandle reference <stdout>: Warning (clocks_property): /soc/spi@7e215080:clocks: cell 0 is not a phandle reference <stdout>: Warning (clocks_property): /soc/serial@7e215040:clocks: cell 0 is not a phandle reference <stdout>: Warning (clocks_property): /soc/cprman@7e101000:clocks: cell 0 is not a phandle reference <stdout>: Warning (clocks_property): /soc/cprman@7e101000:clocks: cell 1 is not a phandle reference <stdout>: Warning (clocks_property): /soc/cprman@7e101000:clocks: cell 3 is not a phandle reference <stdout>: Warning (clocks_property): /soc/cprman@7e101000:clocks: cell 5 is not a phandle reference <stdout>: Warning (clocks_property): /soc/cprman@7e101000:clocks: cell 7 is not a phandle reference <stdout>: Warning (clocks_property): /soc/cprman@7e101000:clocks: cell 9 is not a phandle reference <stdout>: Warning (clocks_property): /soc/cprman@7e101000:clocks: cell 11 is not a phandle reference <stdout>: Warning (clocks_property): /soc/i2c@7e205000:clocks: cell 0 is not a phandle reference <stdout>: Warning (clocks_property): /soc/spi@7e2150c0:clocks: cell 0 is not a phandle reference <stdout>: Warning (clocks_property): /soc/usb@7e980000:clocks: cell 0 is not a phandle reference <stdout>: Warning (clocks_property): /soc/dsi@7e209000:clocks: cell 0 is not a phandle reference <stdout>: Warning (clocks_property): /soc/dsi@7e209000:clocks: cell 2 is not a phandle reference <stdout>: Warning (clocks_property): /soc/dsi@7e209000:clocks: cell 4 is not a phandle reference <stdout>: Warning (clocks_property): /soc/i2c@7e805000:clocks: cell 0 is not a phandle reference <stdout>: Warning (clocks_property): /soc/hdmi@7e902000:clocks: cell 0 is not a phandle reference <stdout>: Warning (clocks_property): /soc/hdmi@7e902000:clocks: cell 2 is not a phandle reference <stdout>: Warning (clocks_property): /soc/serial@7e201000:clocks: cell 0 is not a phandle reference <stdout>: Warning (clocks_property): /soc/serial@7e201000:clocks: cell 2 is not a phandle reference <stdout>: Warning (clocks_property): /soc/spi@7e204000:clocks: cell 0 is not a phandle reference <stdout>: Warning (clocks_property): /soc/vec@7e806000:clocks: cell 0 is not a phandle reference <stdout>: Warning (clocks_property): /soc/dsi@7e700000:clocks: cell 0 is not a phandle reference <stdout>: Warning (clocks_property): /soc/dsi@7e700000:clocks: cell 2 is not a phandle reference <stdout>: Warning (clocks_property): /soc/dsi@7e700000:clocks: cell 4 is not a phandle reference <stdout>: Warning (dmas_property): /soc/mmc@7e202000:dmas: cell 0 is not a phandle reference <stdout>: Warning (dmas_property): /soc/i2s@7e203000:dmas: cell 0 is not a phandle reference <stdout>: Warning (dmas_property): /soc/i2s@7e203000:dmas: cell 2 is not a phandle reference <stdout>: Warning (dmas_property): /soc/hdmi@7e902000:dmas: cell 0 is not a phandle reference <stdout>: Warning (mboxes_property): /soc/firmware:mboxes: cell 0 is not a phandle reference <stdout>: Warning (phys_property): /soc/usb@7e980000:phys: cell 0 is not a phandle reference <stdout>: Warning (phys_property): /soc/usb@7e980000: Missing property '#phy-cells' in node /phy or bad phandle (referred from phys[0]) <stdout>: Warning (power_domains_property): /soc/v3d@7ec00000:power-domains: cell 0 is not a phandle reference <stdout>: Warning (power_domains_property): /soc/usb@7e980000:power-domains: cell 0 is not a phandle reference <stdout>: Warning (power_domains_property): /soc/dsi@7e209000:power-domains: cell 0 is not a phandle reference <stdout>: Warning (power_domains_property): /soc/hdmi@7e902000:power-domains: cell 0 is not a phandle reference <stdout>: Warning (power_domains_property): /soc/vec@7e806000:power-domains: cell 0 is not a phandle reference <stdout>: Warning (power_domains_property): /soc/dsi@7e700000:power-domains: cell 0 is not a phandle reference <stdout>: Warning (thermal_sensors_property): /thermal-zones/cpu-thermal:thermal-sensors: cell 0 is not a phandle reference <stdout>: Warning (gpios_property): /leds/act:gpios: cell 0 is not a phandle reference /dts-v1/; / { Segmentation fault (core dumped) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1128943
Matthias Brugger
http://bugzilla.suse.com/show_bug.cgi?id=1128943
Matthias Brugger
http://bugzilla.suse.com/show_bug.cgi?id=1128943
Andreas Färber
http://bugzilla.suse.com/show_bug.cgi?id=1128943
http://bugzilla.suse.com/show_bug.cgi?id=1128943#c1
--- Comment #1 from Josef Möllers
http://bugzilla.suse.com/show_bug.cgi?id=1128943
http://bugzilla.suse.com/show_bug.cgi?id=1128943#c2
--- Comment #2 from Matthias Brugger
Created attachment 799923 [details] dtc tool built from git master
This is a version of dtc built from git master. I was able to crash dtc at a different place (NULL pointer), so please try this version. The code there has changed drastically, so I maybe the upstream developer fixed this (and other) bugs.
I tried this on my RPi3 and it works as exepected. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1128943
http://bugzilla.suse.com/show_bug.cgi?id=1128943#c3
--- Comment #3 from Josef Möllers
http://bugzilla.suse.com/show_bug.cgi?id=1128943
http://bugzilla.suse.com/show_bug.cgi?id=1128943#c4
Josef Möllers
participants (1)
-
bugzilla_noreply@novell.com