Ask Your Question
0

BASE crashes with "Assertion `to - buff < sizeof(buff)' failed" on queries [closed]

asked 2012-06-18 20:33:20 +0200

cyberbunny gravatar image

updated 2015-11-02 04:53:45 +0200

Alex Kemp gravatar image

I am using BASE to connect CALC documents to MySQL via ODBC. This worked fine, until I was forced to upgrade from an older version. Now, isql command line works, MySQL server works, but CALC and BASE crashe when trying to run certain queries or open tables.

Queries that only return simple results, such as count(1) work, but trying to open tables or running more complex queries immediately crashes the program. This is true both when editing the .odb file as well as the .ods file using the conneection.

Full crash report on command line: /export/home2/tmp/cteam/bs/connector-odbc-5.1-64bit/src/mysql-connector-odbc-5.1.11-src/driver/catalog.c:219: mysql_table_status_i_s: Assertion `to - buff < sizeof(buff)' failed.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Alex Kemp
close date 2015-10-23 01:54:36.030747

Comments

Hi @cyberbunny, Please file a bug about this problem. The QA team will be happy to help you track down this issue! Thanks!

qubit gravatar imagequbit ( 2013-01-28 07:02:03 +0200 )edit

4 Answers

Sort by » oldest newest most voted
0

answered 2013-02-22 20:13:26 +0200

qubit gravatar image

Hi @cyberbunny,

Based on the Answers above, it sounds like there's an issue in the 5.1.11 version of the connector.

  1. As a workaround, downgrade to 5.1.10 (or lower)
  2. Please file a bug about this problem, and provide a list of steps that can reproduce it. The QA team will be happy to help you track down this issue!

Please post a link to any bugs you file in a comment below using the format "fdo#123456".

Thanks!

edit flag offensive delete link more
1

answered 2012-06-21 20:12:08 +0200

kantlivelong gravatar image

I actually just figured it out.. Using driver 5.1.8 worked for me(unsure about .9 or .10)

edit flag offensive delete link more
0

answered 2012-09-02 19:36:49 +0200

I can confirm the same error, opening an .odb file, connecting via myodbc 5.1.11 only selecting a table in Base table list makes Base crash with:

soffice.bin: /build/src/mysql-connector-odbc-5.1.11-src/driver/catalog.c:219: mysql_table_status_i_s: asserzione "to - buff < sizeof(buff)" non riuscita.

Downgrading to myodbc 5.1.10 seems to fix this problem.

edit flag offensive delete link more
0

answered 2012-06-21 18:17:12 +0200

kantlivelong gravatar image

I am getting the same error but for a different close-source application.

XXXXXXXXXX: /export/home2/tmp/cteam/bs/connector-odbc-5.1-32bit/src/mysql-connector-odbc-5.1.11-src/BUILD/mysql-connector-odbc-5.1.11-src/driver/catalog.c:219: mysql_table_status_i_s: Assertion `to - buff < sizeof(buff)' failed.

MySQL: 5.1.61 Connector: 5.1.11

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-06-18 20:33:20 +0200

Seen: 204 times

Last updated: Feb 22 '13