Results 1 to 3 of 3
  1. #1
    Join Date
    March 2016

    requestInfoUpdate - is it really thread safe?


    In short: is TS3Functions::requestInfoUpdate thread safe?

    What makes me doubt is, if I call it from a callback function, which seems to be running on the GUI thread, everything works fine, but when i do the same from a background thread, I get a crash:

    Exception thrown at 0x00007FFEC3252881 (Qt5Gui.dll) in ts3client_win64.exe: 0xC0000005: Access violation reading location 0x0000000000000008.

    The callstack shows(see attached image), that something in the QT widgets / GUI dll crashed, which makes it suspicious. Then again, I could be wrong, and maybe I made an error, but I'd like to know for sure, that i'm not chasing a ghost.

    So, is requestInfoUpdate() thread-safe, as it is stated in the docs?

    Name:  faesfewafewarfewafewaf.png
Views: 170
Size:  18.0 KB

    Kind regards,

  2. #2
    Join Date
    March 2016
    I've created a sample plugin, reproducing the crash with minimal modifications to the original example code:
    Please can you tell me if i'm doing something very wrong, or if it is a bug.

    Kind regards,

    p.s. 1)
    this thread states that this should be theoretically possible:

    p.s. 2)
    when i did the same from a callback function it worked just fine.

    p.s. 3)
    If you run it, it should crash, after 10 seconds, because of plugin.cpp: line 145
    Last edited by battlechicken; June 15th, 2019 at 10:24 AM.

  3. #3
    Join Date
    March 2016
    Okay I found a workaround if anyone else is looking for it:
    Basically you call requestServerVariables, and then you call requestInfoUpdate from ts3plugin_onServerUpdatedEvent.


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Is it safe to create a teamspeak server
    By Dieuwe in forum Windows
    Replies: 2
    Last Post: April 19th, 2016, 09:06 AM
  2. Wan't to create safe Admin
    By Athila in forum Permission System
    Replies: 1
    Last Post: January 15th, 2016, 09:39 AM
  3. [Tutorial] ServerQuery, The Safe Way
    By ZaneOhOne in forum Server Support
    Replies: 10
    Last Post: November 30th, 2014, 01:14 AM
  4. Is teamspeak safe enought to use?
    By MECER 24 in forum General Questions
    Replies: 4
    Last Post: June 6th, 2014, 02:02 AM
  5. Is Teamspeak Safe Urgent
    By BBery15 in forum General Questions
    Replies: 1
    Last Post: July 29th, 2010, 12:22 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts