Comment 5 for bug 509803

Revision history for this message
Vladimir Kolesnikov (vkolesnikov) wrote :

Vadim,

tried to run the test but got segfault in tpcc_load:

(gdb) run localhost test root "" 10
Starting program: /home/bb/projects/tpcc-mysql/tpcc_load localhost test root "" 10
[Thread debugging using libthread_db enabled]
[New Thread 0x2b998f2fd200 (LWP 20042)]
*************************************
*** ###easy### TPC-C Data Loader ***
*************************************
<Parameters>
     [server]: localhost
     [DBname]: test
       [user]: root
       [pass]:
  [warehouse]: 10
[New Thread 0x40800950 (LWP 20045)]
[Thread 0x40800950 (LWP 20045) exited]

0, 00000,

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x2b998f2fd200 (LWP 20042)]
0x0000000000000000 in ?? ()
(gdb) bt
#0 0x0000000000000000 in ?? ()
#1 0x00002b998e14a257 in net_real_write () from /home/bb/projects/test/lib/mysql/libmysqlclient_r.so.16
#2 0x00002b998e14a6cb in net_flush () from /home/bb/projects/test/lib/mysql/libmysqlclient_r.so.16
#3 0x00002b998e14a860 in net_write_command () from /home/bb/projects/test/lib/mysql/libmysqlclient_r.so.16
#4 0x00002b998e147311 in cli_advanced_command () from /home/bb/projects/test/lib/mysql/libmysqlclient_r.so.16
#5 0x00002b998e143f11 in mysql_send_query () from /home/bb/projects/test/lib/mysql/libmysqlclient_r.so.16
#6 0x00002b998e143f79 in mysql_real_query () from /home/bb/projects/test/lib/mysql/libmysqlclient_r.so.16
#7 0x00002b998e116d25 in mysql_rollback () from /home/bb/projects/test/lib/mysql/libmysqlclient_r.so.16
#8 0x0000000000401c64 in Error (mysql_stmt=0x0) at load.c:1222
#9 0x000000000040482b in main (argc=<value optimized out>, argv=0xb) at load.c:271