Bug 214922

Summary: databases/tora 2.1.3: Warning messages and errors
Product: Ports & Packages Reporter: Vladimir Omelchuk <admin>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed Overcome By Events    
Severity: Affects Only Me CC: admin, yuri
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch updating to 3.2-133 none

Description Vladimir Omelchuk 2016-11-29 07:46:36 UTC
Hi!
TOra always showing warning message like this (for example):
- when open Tools/Schema Browser:
Tue Nov 29 08:46:39 2016
Incorrect table name ' '
Query not active SELECT * FROM information_schema.columns 
WHERE table_schema = :f1<char[101]> AND table_name = :f2<char[101]>

- when try create new table:
Tue Nov 29 08:48:39 2016
02: Tried to get unknown SQL (toBrowserTable:DefaultTablespaces)

Errors and crash (with core file), when:
- try close open tab with “Schema Browser”:
admin@vladiom:~ % tora
ASSERT failure in QList<T>::operator[]: "index out of range", file /usr/local/include/qt4/QtCore/qlist.h, line 477
Abort (core dumped)

- just close TOra:
admin@vladiom:~ % tora
Abort (core dumped)

How fix it?

admin@vladiom:~ % uname -srm
FreeBSD 10.3-RELEASE-p12 amd64
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2018-07-30 04:07:24 UTC
IMO, you should report this as a bug to the upstream: https://github.com/tora-tool/tora/issues
Comment 2 Yuri Victorovich freebsd_committer freebsd_triage 2018-07-30 17:06:39 UTC
This version of tora is outdated.
I tried to update it to 3.2-133, but it crashes.
See https://github.com/tora-tool/tora/issues/110
Comment 3 Yuri Victorovich freebsd_committer freebsd_triage 2018-07-30 17:08:16 UTC
Created attachment 195648 [details]
patch updating to 3.2-133

Attaching the patch that updates to 3.2-133 for reference.
Comment 4 Yuri Victorovich freebsd_committer freebsd_triage 2018-07-30 17:09:46 UTC
Need the upstream to answer to proceed.