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. "QEventLoop::exec: instance 0xbfd551e4 has already called exec()" Problem
Forum Updated to NodeBB v4.3 + New Features

"QEventLoop::exec: instance 0xbfd551e4 has already called exec()" Problem

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.6k 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.
  • U Offline
    U Offline
    umtkyck
    wrote on last edited by
    #1

    I have three class , json package parser, serialport controller and tcp sender.While I was sending serial package suddenly json package comes and parsed but in serial sender side gives this error:

    "QEventLoop::exec: instance 0xbfd551e4 has already called exec()"

    and code crashes.How can I solve this problem?
    Output is like that:

    @

    "7E 7E 12 01 02 10 10 50 AA AA "
    "http://1.11.31.10:28017/iybs_status/timetable/?filte_stationid=999"
    RFID Init Stater

    "02 00 08 00 52 00 B9 05 " --> Serial Packet
    // ---json parsing ---
    Reply = "{
    "offset" : 0,
    "rows": [
    {/JSON/ } }
    ],

    "total_rows" : 1 ,
    "query" : {} ,
    "millis" : 0
    }
    "
    JSON Parsed
    // --- JSON Finished ---
    Event loop calisiomus--> RFIDCSFourLineStater

    "7E 7E 12 01 02 10 10 50 AA AA " --> An other serial packet
    QEventLoop::exec: instance 0xbfd551e4 has already called exec()
    "7E 7E 12 01 02 04 00 68 AA AA "
    QEventLoop::exec: instance 0xbfd551e4 has already called exec()

    @

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Without seeing any part of your code, it's crystal ball debugging. Please show us the related classes

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      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