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. Got a crash in QSGBatchRenderer
Forum Updated to NodeBB v4.3 + New Features

Got a crash in QSGBatchRenderer

Scheduled Pinned Locked Moved General and Desktop
3 Posts 1 Posters 994 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.
  • V Offline
    V Offline
    vladstelmahovsky
    wrote on last edited by
    #1

    It seems, crashed new optimized SG batch engine:
    @BatchRootInfo *Renderer::batchRootInfo(Node *node)
    {
    BatchRootInfo *info = node->rootInfo(); <--- crash because node is 0x0
    if (!info) {
    if (node->type() == QSGNode::ClipNodeType)
    info = new ClipBatchRootInfo;
    else {
    Q_ASSERT(node->type() == QSGNode::TransformNodeType);
    info = new BatchRootInfo;
    }
    node->data = info;
    }
    return info;
    }
    @

    It happens when StackView changing page

    Dev platform:
    Ubuntu 12.04/13.04 64bit, Qt 5.2.0 dev branch release/debug

    1 Reply Last reply
    0
    • V Offline
      V Offline
      vladstelmahovsky
      wrote on last edited by
      #2

      Ok, made some further investigate
      It crashes if there is an Item inside the page (label in my case), which has text, rendered out of item's boundaries

      1 Reply Last reply
      0
      • V Offline
        V Offline
        vladstelmahovsky
        wrote on last edited by
        #3

        hmm. not so easy
        Label is part of the Listview delegate and if its char number exceeds 74, its crashes

        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