plasma-umass / coz

Coz: Causal Profiling

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Segmentation fault on load

tomergibm opened this issue · comments

Hi.
Im encountering segmentation fault when loading a process after calling a function in libpthread.

Example:

Segmentation fault at 0x772699821
0: /local/scratch/coz_static/libcoz/libcoz.so(_ZN8profiler8on_errorEiP9siginfo_tPv+0x84) [0x7f2e7268eff4]
1: /lib64/libpthread.so.0(+0xf36f) [0x7f2e71e6136f]

Thanks.

Can you please send more details? Command-line parameters, system info, plus a way to reproduce the error.

the command line is as follows:
coz run --output /tmp/coz.$$ > /tmp/coz-out.$$ 2> /tmp/coz-err.$$ < /dev/null ---

I need to check about more details.

Try this instead (that is, put yourProgram before the redirects):

coz run --output /tmp/coz.$$ --- ./yourProgram > /tmp/coz-out.$$ 2> /tmp/coz-err.$$

Also, unable to reproduce this problem on Ubuntu.