break in LibreOffice: dbaccess::ORowSet::impl_prepareAndExecute_throw mysql_stmt_init (mysql=0x23675e0) at /home/master/src/libreoffice/workdirs/mariadb/mariadb-native-client/libmariadb/my_stmt.c:1079 1079 { (gdb) print *mysql $2 = { net = { vio = 0x2369f90, buff = 0x238f910 "\005", buff_end = 0x2391910 "?", write_pos = 0x238f910 "\005", read_pos = 0x238f910 "\005", fd = 31, remain_in_buf = 0, length = 0, buf_length = 0, where_b = 0, max_packet = 8192, max_packet_size = 16777215, pkt_nr = 1, compress_pkt_nr = 0, write_timeout = 0, read_timeout = 30, retry_count = 0, fcntl = 0, return_status = 0x0, reading_or_writing = 0 '\000', save_char = 0 '\000', unused_1 = 0 '\000', unused_2 = 0 '\000', compress = 0 '\000', unused_3 = 0 '\000', unused_4 = 0x0, last_errno = 0, error = 0 '\000', unused_5 = 0 '\000', unused_6 = 0 '\000', last_error = '\000' , sqlstate = "00000", extension = 0x0 }, unused_0 = 0x0, host = 0x236a1d0 "mysql.gestman", user = 0x236a190 "root", passwd = 0x236a140 "XXX_REMOVED_XXX", unix_socket = 0x0, server_version = 0x236a0f0 "5.1.66-0+squeeze1", host_info = 0x236a1b0 "mysql.gestman via TCP/IP", info = 0x0, db = 0x236a0a0 "fdo70496", charset = 0x7f2fc9517100, fields = 0x2694518, field_alloc = { free = 0x2694500, used = 0x0, pre_alloc = 0x0, min_malloc = 32, block_size = 8152, block_num = 0, first_block_usage = 0, error_handler = 0 }, affected_rows = 18446744073709551615, insert_id = 0, extra_info = 0, thread_id = 333191, packet_length = 7, port = 3306, client_flag = 2007693, server_capabilities = 63487, protocol_version = 10, field_count = 14, server_status = 2, server_language = 8, warning_count = 0, options = { connect_timeout = 0, read_timeout = 0, write_timeout = 0, port = 0, protocol = 1, client_flag = 128, host = 0x0, user = 0x0, password = 0x0, unix_socket = 0x0, db = 0x0, init_command = 0x0, my_cnf_file = 0x0, my_cnf_group = 0x0, charset_dir = 0x0, charset_name = 0x235faf0 "utf8", ssl_key = 0x0, ssl_cert = 0x0, ssl_ca = 0x0, ssl_capath = 0x0, ssl_cipher = 0x0, shared_memory_base_name = 0x0, max_allowed_packet = 0, use_ssl = 0 '\000', compress = 0 '\000', named_pipe = 0 '\000', unused_1 = 0 '\000', unused_2 = 0 '\000', unused_3 = 0 '\000', unused_4 = 0 '\000', methods_to_use = MYSQL_OPT_CONNECT_TIMEOUT, client_ip = 0x0, secure_auth = 0 '\000', report_data_truncation = 0 '\000', local_infile_init = 0, local_infile_read = 0, local_infile_end = 0, local_infile_error = 0, local_infile_userdata = 0x0, extension = 0x2367db0 }, status = MYSQL_STATUS_READY, free_me = 1 '\001', reconnect = 0 '\000', scramble_buff = "r]Y*`'>D{`OLlZaWoJa,", unused_1 = 0 '\000', unused_2 = 0x0, unused_3 = 0x0, unused_4 = 0x0, unused_5 = 0x0, stmts = 0x2680550, methods = 0x7f2fc95227a0, thd = 0x0, unbuffered_fetch_owner = 0x0, info_buffer = 0x0, extension = 0x0 } (gdb) s mysql_stmt_prepare (stmt=0x25bbb10, query=0x25beeb8 "SELECT * FROM \"fdo70496\".\"agendas\"", length=34) at /home/master/src/libreoffice/workdirs/mariadb/mariadb-native-client/libmariadb/my_stmt.c:1177 1177 { (gdb) print *stmt $3 = { mem_root = { free = 0x0, used = 0x0, pre_alloc = 0x0, min_malloc = 32, block_size = 2008, block_num = 0, first_block_usage = 0, error_handler = 0 }, mysql = 0x23675e0, stmt_id = 0, flags = 0, state = MYSQL_STMT_INITTED, fields = 0x0, field_count = 0, param_count = 0, send_types_to_server = 0 '\000', params = 0x0, bind = 0x0, result = { rows = 0, fields = 0, data = 0x0, alloc = { free = 0x0, used = 0x0, pre_alloc = 0x0, min_malloc = 32, block_size = 4056, block_num = 0, first_block_usage = 0, error_handler = 0 } }, result_cursor = 0x0, bind_result_done = 0 '\000', bind_param_done = 0 '\000', upsert_status = { warning_count = 0, server_status = 0, affected_rows = 0, last_insert_id = 0 }, last_errno = 0, last_error = '\000' , sqlstate = "00000", update_max_length = 0 '\000', prefetch_rows = 1, list = { prev = 0x0, next = 0x2680550, data = 0x25bbb10 }, cursor_exists = 0 '\000', extension = 0x25bd5c0, fetch_row_func = 0, execute_count = 0, default_rset_handler = 0, m = 0x0 } mysql_stmt_param_count (stmt=0x25bbb10) at /home/master/src/libreoffice/workdirs/mariadb/mariadb-native-client/libmariadb/my_stmt.c:1719 1719 return stmt->param_count; mysql_stmt_result_metadata (stmt=0x25bbb10) at /home/master/src/libreoffice/workdirs/mariadb/mariadb-native-client/libmariadb/my_stmt.c:1686 1686 { mysql_stmt_field_count (stmt=0x25bbb10) at /home/master/src/libreoffice/workdirs/mariadb/mariadb-native-client/libmariadb/my_stmt.c:1069 1069 return stmt->field_count; mysql_stmt_param_count (stmt=0x25bbb10) at /home/master/src/libreoffice/workdirs/mariadb/mariadb-native-client/libmariadb/my_stmt.c:1719 1719 return stmt->param_count; (gdb) finish Run till exit from #0 mysql_stmt_param_count (stmt=0x25bbb10) at /home/master/src/libreoffice/workdirs/mariadb/mariadb-native-client/libmariadb/my_stmt.c:1719 sql::mysql::NativeAPI::LibmysqlStaticProxy::stmt_param_count (this=0x235d6f0, stmt=0x25bbb10) at /home/master/src/libreoffice/workdirs/libreoffice-4.2/workdir/unxlngx6/UnpackedTarball/mysqlcppconn/driver/nativeapi/libmysql_static_proxy.cpp:501 501 } Value returned is $4 = 0 mysql_stmt_bind_param (stmt=0x25bbb10, bind=0x0) at /home/master/src/libreoffice/workdirs/mariadb/mariadb-native-client/libmariadb/my_stmt.c:728 728 { mysql_stmt_execute (stmt=0x25bbb10) at /home/master/src/libreoffice/workdirs/mariadb/mariadb-native-client/libmariadb/my_stmt.c:1390 1390 { (gdb) print *stmt $5 = { mem_root = { free = 0x0, used = 0x0, pre_alloc = 0x0, min_malloc = 32, block_size = 2008, block_num = 0, first_block_usage = 0, error_handler = 0 }, mysql = 0x23675e0, stmt_id = 23, flags = 0, state = MYSQL_STMT_PREPARED, fields = 0x25bc678, field_count = 23, param_count = 0, send_types_to_server = 1 '\001', params = 0x0, bind = 0x25be058, result = { rows = 0, fields = 0, data = 0x0, alloc = { free = 0x0, used = 0x0, pre_alloc = 0x0, min_malloc = 32, block_size = 4056, block_num = 0, first_block_usage = 0, error_handler = 0 } }, result_cursor = 0x0, bind_result_done = 0 '\000', bind_param_done = 1 '\001', upsert_status = { warning_count = 0, server_status = 0, affected_rows = 18446744073709551615, last_insert_id = 0 }, last_errno = 0, last_error = '\000' , sqlstate = "00000", update_max_length = 0 '\000', prefetch_rows = 1, list = { prev = 0x0, next = 0x2680550, data = 0x25bbb10 }, cursor_exists = 0 '\000', extension = 0x25bd5c0, fetch_row_func = 0, execute_count = 0, default_rset_handler = 0, m = 0x0 } (gdb) s mysql_stmt_attr_set (stmt=0x25bbb10, attr_type=STMT_ATTR_UPDATE_MAX_LENGTH, value=0x7fff638ee17f) at /home/master/src/libreoffice/workdirs/mariadb/mariadb-native-client/libmariadb/my_stmt.c:699 699 { (gdb) print *(my_bool *)value $6 = 1 '\001' mysql_stmt_store_result (stmt=0x25bbb10) at /home/master/src/libreoffice/workdirs/mariadb/mariadb-native-client/libmariadb/my_stmt.c:1263 1263 {