processone / tsung

Tsung is a high-performance benchmark framework for various protocols including HTTP, XMPP, LDAP, etc.
http://www.process-one.net/en/tsung/
GNU General Public License v2.0
2.53k stars 405 forks source link

ts_webdav Segmentation fault #127

Open cicku opened 9 years ago

cicku commented 9 years ago

Compiling:

make 'OPT=+native +debug_info -DDEBUG' 'ERLC=erlc -v -Wall'
config.status: creating src/tsung_percentile.pl
config.status: creating src/tsung-rrd.pl
Compiling  src/tsung/ts_plugin.erl ... 
erlc -v -Wall +native +debug_info -DDEBUG -I ./include -I /usr/lib/erlang/lib/xmerl-1.3.7/include -pa ./ebin -o ./ebin src/tsung/ts_plugin.erl
Compiling  src/tsung/gen_ts_transport.erl ... 
erlc -v -Wall +native +debug_info -DDEBUG -I ./include -I /usr/lib/erlang/lib/xmerl-1.3.7/include -pa ./ebin -o ./ebin src/tsung/gen_ts_transport.erl
Compiling  src/tsung/ts_reports.erl ... 
erlc -v -Wall +native +debug_info -DDEBUG -I ./include -I /usr/lib/erlang/lib/xmerl-1.3.7/include -pa ./ebin -o ./ebin src/tsung/ts_reports.erl
Compiling  src/tsung/ts_webdav.erl ... 
erlc -v -Wall +native +debug_info -DDEBUG -I ./include -I /usr/lib/erlang/lib/xmerl-1.3.7/include -pa ./ebin -o ./ebin src/tsung/ts_webdav.erl
Makefile:371: recipe for target 'ebin/ts_webdav.beam' failed
make: *** [ebin/ts_webdav.beam] Segmentation fault (core dumped)
$ coredumpctl info 23897
           PID: 23897 (beam.smp)
           UID: 1000 (rpmaker)
           GID: 1000 (rpmaker)
        Signal: 11 (SEGV)
     Timestamp: Sat 2015-09-05 19:31:53 CST (1min 34s ago)
  Command Line: /usr/lib/erlang/erts-6.3/bin/beam.smp -sbtu -A0 -- -root /usr/li
    Executable: /usr/lib/erlang/erts-6.3/bin/beam.smp
 Control Group: /user.slice/user-1000.slice/session-1.scope
          Unit: session-1.scope
         Slice: user-1000.slice
       Session: 1
     Owner UID: 1000 (rpmaker)
       Boot ID: 9d554ac1fc0c4b11b49e74c8ee89fffc
    Machine ID: a2a5618a76ba48348c6cff9ec59224dc
      Hostname: t410i.cicku.me
      Coredump: /var/lib/systemd/coredump/core.beam\x2esmp.1000.9d554ac1fc0c4b11
       Message: Process 23897 (beam.smp) of user 1000 dumped core.

                Stack trace of thread 23905:
                #0  0x000000008022887e ethr_dw_atomic_cmpxchg (beam.smp)
                #1  0x00000000b4b3d0e4 n/a (n/a)
nniclausse commented 8 years ago

it looks like a bug in the erlang compiler and not in tsung.