Segmentation Fault R13B01

Georgos Siganos <>
Wed Jul 1 17:25:14 CEST 2009

Hi All,I am having problems with R13B01 and segmentation faults, as the
following one (in the bottom).
Unfortunately, i am not sure which part of the code triggers the
segmentation fault.

I am running Centos 5.3 ( 2.6.18-128.1.16.el5 #1 SMP x86_64 ) on a quad core
intel processor.
The program quits with segfault both when compiled with and without hipe.

Please let me know if there is anything else i can report to fix this
problem. This
fault is quite consistent and is a show stopper for my code.

----------------------- gdb output --------------------------
Program terminated with signal 11, Segmentation fault.
[New process 12531]
[New process 12533]
[New process 12532]
[New process 12530]
[New process 12526]
[New process 12517]
[New process 12516]
[New process 12514]
#0  0x00002add1f7b570b in memcpy () from /lib64/
(gdb) bt
#0  0x00002add1f7b570b in memcpy () from /lib64/
#1  0x0000000000486849 in driver_deliver_term (port=<value optimized out>,
to=4816451, data=<value optimized out>,
    len=<value optimized out>) at beam/io.c:2994
#2  0x00000000005513cf in tcp_deliver (desc=0x2aab17c17548, len=3) at
#3  0x0000000000551891 in tcp_recv (desc=0x2aab17c17548, request_len=0) at
#4  0x0000000000551afc in tcp_inet_drv_input (data=0x2aaae21a9fc4,
event=<value optimized out>) at drivers/common/inet_drv.c:8381
#5  0x00000000004a3d78 in erts_port_task_execute (runq=0x2add1fc19340,
curr_port_pp=0x2aaaaaacb1e8) at beam/erl_port_task.c:853
#6  0x000000000049ebc5 in schedule (p=0x349, calls=<value optimized out>) at
#7  0x0000000000505afd in process_main () at beam/beam_emu.c:1126
#8  0x0000000000499126 in sched_thread_func (vesdp=<value optimized out>) at
#9  0x000000000057a0f4 in thr_wrapper (vtwd=<value optimized out>) at
#10 0x00002add1f31b367 in start_thread () from /lib64/
#11 0x00002add1f80cf7d in clone () from /lib64/

More information about the erlang-bugs mailing list