Results 1 to 10 of 10

Thread: "QSocketNotifier: invalid socket 'Write' and type 26, disabling" What generates this?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2009
    Posts
    140
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    22

    Default Re: "QSocketNotifier: invalid socket 'Write' and type 26, disabling" What generates t

    Anyone have an idea?

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanked 268 Times in 268 Posts
    Wiki edits
    20

    Default Re: "QSocketNotifier: invalid socket 'Write' and type 26, disabling" What generates t

    You have a pointer where you write beyond the boundaries of the pointer corrupting the heap.

  3. #3
    Join Date
    Aug 2009
    Posts
    140
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    22

    Default Re: "QSocketNotifier: invalid socket 'Write' and type 26, disabling" What generates t

    Thanks tbscope. I've found that while I can't get rid of this error entirely, reducing traffic on that socket and putting the body of WriteToLog within a mutex allows me to avoid it, which is good enough for me for now. I don't understand how the problem could continue to exist once I've invoked a mutex (and WriteToLog is the only place where the socket is written to), but oh well...

Similar Threads

  1. Replies: 7
    Last Post: 8th November 2012, 11:26
  2. QSocketNotifier: Invalid socket 12 and type 'Read', disabling...
    By kunalnandi in forum General Programming
    Replies: 1
    Last Post: 24th September 2008, 18:09
  3. "Treat wchar_t as Built-in Type" to "yes" link error
    By sungaoyong in forum Qt Programming
    Replies: 1
    Last Post: 5th June 2008, 11:45
  4. Translation QFileDialog standart buttons ("Open"/"Save"/"Cancel")
    By victor.yacovlev in forum Qt Programming
    Replies: 4
    Last Post: 24th January 2008, 19:05
  5. socket programming... getting "no route to host"
    By babusunlux in forum Qt Programming
    Replies: 1
    Last Post: 4th August 2006, 20:39

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.