[erlang-bugs] Segmentation fault in erts_printf_char (R13B04)

Kustarto Widoyo <>
Fri Mar 18 11:03:43 CET 2011

Patrik did investigation for this issue, and as fyi, the following was 
his comment.

 > The problem encountered is that the internal printf gets a really deep
 > structure to format for the call erlag:system_info(procs), called from a
 > fun declared in gmt_cinfo_basic:erlang_system_info. The call formats a
 > binary with debug information for every process in this huge system, of
 > which one has this reeeeally deep list structure.
 > I shall limit the depth of the output in the erts_printf call, but you
 > should really not call erlang:system_info(procs) in such a huge system.
 > Using that kind of debug functionality in the system will cost *a lot*
 > in terms of memory and CPU. So a workaround for this would be to disable
 > this dumping of process debug information in your system.

Thank you very much Patrik.


More information about the erlang-bugs mailing list