Page 2 of 2 FirstFirst 12
Results 21 to 22 of 22

Thread: Memory corruption related to signal emission?

  1. #21
    Join Date
    Sep 2011
    Posts
    1,241
    Thanks
    3
    Thanked 127 Times in 126 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Memory corruption related to signal emission?

    that uninited pointer isnt around or as a consequence of launchGui, is it? your valgrind output says ''uninit'd value was created by a stack allocation'' main.cpp:30
    If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

  2. #22
    Join Date
    Nov 2010
    Posts
    77
    Thanks
    17
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Memory corruption related to signal emission?

    I've posted main.cpp here. I have no idea what Valgrind is referring to. Probably char* ip but since argv[1] isn't deallocated until the program stops I don't see a problem here.

Similar Threads

  1. Replies: 2
    Last Post: 7th December 2010, 16:13
  2. memory corruption
    By Rambobino in forum Qt Programming
    Replies: 2
    Last Post: 10th August 2010, 22:35
  3. Replies: 3
    Last Post: 19th January 2010, 21:26
  4. Workload to the Application:Related to Signal and Slot
    By soumyadeep_pan in forum Qt Programming
    Replies: 3
    Last Post: 1st May 2009, 12:08
  5. Replies: 3
    Last Post: 11th January 2008, 18:34

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.