# percorna toolkit 2.2.13 - ​pt-online-schema-change  bus error (core dumped)

**URL:** <https://forums.percona.com/t/percorna-toolkit-2-2-13-pt-online-schema-change-bus-error-core-dumped/4100>\
**Category:** Percona Toolkit\
**Created:** [March 12, 2015, 5:49am UTC](https://forums.percona.com/t/percorna-toolkit-2-2-13-pt-online-schema-change-bus-error-core-dumped/4100 "2015-03-12T05:49:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cirpo](https://avatars.discourse-cdn.com/v4/letter/c/ce73a5/32.png) [@cirpo](https://forums.percona.com/u/cirpo)\
**Post date:** [March 12, 2015, 5:49am UTC](https://forums.percona.com/t/percorna-toolkit-2-2-13-pt-online-schema-change-bus-error-core-dumped/4100/1 "2015-03-12T05:49:22Z")

</div>

Hi,

I’m using pt-online-schema-change for altering a table on mysql 5.6 on ubuntu 14.10, but with no success.

After “2015-03-12T15:08:06 Dropped new table OK.” I get “bus error (core dumped)”.

This is the command I’m running:  
pt-online-schema-change --version-check --user root --password xxxx --database test h=127.0.0.1,t=order\_item --alter-foreign-keys-method “rebuild\_constraints” --alter “ADD COLUMN refunded\_by varchar(255) DEFAULT NULL” --execute

and this is the output:  
➜ pt-online-schema-change --version-check --user root --password xxxx --database test h=127.0.0.1,t=order\_item --alter-foreign-keys-method “rebuild\_constraints” --alter “ADD COLUMN refund\_by varchar(255) DEFAULT NULL” --execute  
No slaves found. See --recursion-method if host cirpux has slaves.  
Not checking slave lag because no slaves were found and --check-slave-lag was not specified.  
Operation, tries, wait:  
copy\_rows, 10, 0.25  
create\_triggers, 10, 1  
drop\_triggers, 10, 1  
swap\_tables, 10, 1  
update\_foreign\_keys, 10, 1  
Child tables:  
`test`.`sales_order_item_status_history` (approx. 1 rows)  
`test`.`sales_return` (approx. 1 rows)  
Will use the rebuild\_constraints method to update foreign keys.  
Altering `test`.`sales_order_item`…  
Creating new table…  
Created new table test.\_order\_item\_new OK.  
Altering new table…  
Altered `test`.`_order_item_new` OK.  
2015-03-12T15:12:41 Creating triggers…  
2015-03-12T15:12:41 Created triggers OK.  
2015-03-12T15:12:41 Copying approximately 1671767 rows…  
Copying `test`.`sales_order_item`: 44% 00:37 remain  
Copying `test`.`sales_order_item`: 79% 00:15 remain  
2015-03-12T15:14:00 Dropping triggers…  
2015-03-12T15:14:00 Dropped triggers OK.  
2015-03-12T15:14:00 Dropping new table…  
2015-03-12T15:14:00 Dropped new table OK.  
`test`.`sales_order_item` was not altered.  
[1] 20420 bus error (core dumped) pt-online-schema-change --version-check --user root --password root --databas

Do you have any suggestions on how to get more information on what’s going on? Or even a solution 😛

thanks

---

<div class="post-metadata">

**Author:** ![jrivera](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/jrivera/32/13_2.png) [@jrivera](https://forums.percona.com/u/jrivera)\
**Post date:** [April 2, 2015, 7:27am UTC](https://forums.percona.com/t/percorna-toolkit-2-2-13-pt-online-schema-change-bus-error-core-dumped/4100/2 "2015-04-02T07:27:40Z")

</div>

Can you run PTDEBUG=1 (see [url][pt-online-schema-change — Percona Toolkit Documentation](http://www.percona.com/doc/percona-toolkit/2.2/pt-online-schema-change.html#environment%5B/url%5D)) and share us the result?
