Forum
Sign Up
× DataGrid for Qt.C++

Latest 3.3 - Exception when model has no rows

10 years 2 months ago #1 by Pascal
Hi,

Updated to the latest 3.3 and within the first minute of testing got application crashing. It consistently crashes whenever a valid model has no rows (rowcount is 0).

Below is the exception:
eax=0012306c ebx=00000000 ecx=04649e50 edx=04649e50 esi=00000005 edi=0021ce38
 eip=57c60156 esp=00122ffc ebp=00123004 iopl=0         nv up ei pl nz ac pe nc
 cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010216
 >   56:     inline bool ref() Q_DECL_NOTHROW {
 qtngridd3!QtPrivate::RefCount::ref+0x6:
    56 57c60156 894df8          mov     dword ptr [ebp-8],ecx ss:0023:00122ffc=00000000

Exception at line 2735 of file qtngridtableview.cpp
GridTableColumn* GridTableView::getNextColumn(const GridTableColumn* anchor) const
{
    QListIterator<GridColumnBase *> iterator(m_columnVisualIndexies);

Please Log in or Create an account to join the conversation.

More
10 years 2 months ago #2 by Developer Machines
Please contact us This email address is being protected from spambots. You need JavaScript enabled to view it. to get fix for this issue. I apologize for the inconvenience.

Please Log in or Create an account to join the conversation.

More
10 years 2 months ago #3 by Kwangho Kim
me too. i caught qtitandatagrid exceptions when qdatagrid doesn't has no rows...

in win7, as of call datagrid's layoutupdate, infinite loop stackoverflow exception

but, in win8. not happen exception. in win7 happens.

Please Log in or Create an account to join the conversation.

More
10 years 2 months ago #4 by Developer Machines
Please download latest version QtitanDataGrid 3.3.1 via your web-site account. Latest build fixes bug with crashing.

Please Log in or Create an account to join the conversation.

More
  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Moderators: Developer Machines
Time to create page: 0.132 seconds

Developer Newsletter

Join our Developer Machines newsletter to get informed on all the latest releases of the commercial components for Qt.C++, Delphi FireMonkey, updates and general knowledges.

Quick Support

Should you need any additional information about our products or licensing, please contact us at the following email addresses:

  • This email address is being protected from spambots. You need JavaScript enabled to view it.

  • This email address is being protected from spambots. You need JavaScript enabled to view it.

Get in Touch

If you would like to purchase our products or services, but don’t know how to do it the right way, please feel free to contact us:

  • This email address is being protected from spambots. You need JavaScript enabled to view it.( any questions related to our products or services )
  • This email address is being protected from spambots. You need JavaScript enabled to view it.( questions related to licensing )