Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Possible design flaw
Qt 6.11 is out! See what's new in the release blog

Possible design flaw

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 787 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    krojew
    wrote on last edited by
    #1

    Hi,
    I found a disturbing thing in QXmlPatterns - QPatternist::ItemMappingIterator::next() recursively calls itself, which leads to stack overflow if a XPath query is being done on a relatively large data set (in my example - about 15k xml elements). This is results from a call in qnodesort.cpp:80 (Qt 5.3):

    @Item::List nodes(m_operand->evaluateSequence(context)->toList());@

    The toList() method calls next() and all hell breaks loose. Is there a way to work around this or should I file in a bug?

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      I think it is a good candidate for a bug report. "Link":https://qt-project.org/wiki/ReportingBugsInQt.

      (Z(:^

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved