Comment 1 for bug 840508

Revision history for this message
Richard Bensley (richardbensley) wrote :

I am also getting a segmentation fault on RHEL:

xxxxxx@xxxxxx> uname -r
2.6.32-220.7.1.el6.x86_64
xxxxxx@xxxxxx> cat /proc/cpuinfo | grep processor | wc -l
80
xxxxxx@xxxxxx> cat /proc/meminfo | grep MemTotal
MemTotal: 264516692 kB
xxxxxx@xxxxxx> ldd tpcc_start
        linux-vdso.so.1 => (0x00007fffcd4fd000)
        libmysqlclient.so.18 => /data/mysql/lib/libmysqlclient.so.18 (0x00007f300bdb1000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f300bb88000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f300b904000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f300b6fc000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f300b4f7000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f300b167000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f300c210000)
xxxxxx@xxxxxx> ./tpcc_start localhost:3101 tpcc1000 root password 100 10 16 3600
***************************************
*** ###easy### TPC-C Load Generator ***
***************************************
non-option ARGV-elements: localhost:3101 tpcc1000 root password 100 10 16 3600
<Parameters>
     [server]:
     [port]: 3306
     [DBname]: tpcc
       [user]:
       [pass]:
  [warehouse]: 1
 [connection]: 10
     [rampup]: 10 (sec.)
    [measure]: 20 (sec.)

RAMP-UP TIME.(10 sec.)
Segmentation fault

strace also shows that it doesn't pickup any parameters.