Fix crash with erlang:system_info({cpu_topology,junk})

Paul Guyot <>
Sun Oct 3 09:30:35 CEST 2010


There is a bug causing a crash if erlang:system_info is called with {cpu_topology, Atom} where Atom is an unrecognized Atom (e.g. misspelled). The function should fail with badarg, but the emulator would segfault instead.

A fix with a non-regression test is available here:
git fetch git:// fix-system_info-cpu_topology-segfault

+33.175000290 - 62 bis rue Gay-Lussac, 75005 Paris

More information about the erlang-patches mailing list