Results 1 to 20 of 23

Thread: segmentation fault

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2007
    Location
    Munich, Bavaria
    Posts
    144
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    1
    Thanked 19 Times in 19 Posts

    Default Re: segmentation fault

    Yeah - you are right. rdesktop was not installed on my machine ......

    I did enable emitting the signal in callApplication:: processFinished and did add qDebug() statements in callApplication:: processFinished and ClientSocket::generateError().

    As far as I can see the signal is emitted correctly.

    The message is not sent from server to the client or not displayed in the client gui.

  2. #2
    Join Date
    Oct 2007
    Location
    Italy
    Posts
    172
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    39

    Default Re: segmentation fault


    but in ClientSocket::generateError(QString error) i added
    this->textBrowserPark->setHtml("generate error..." + error);
    to show in the server QTextBrowser if i'm calling generateError method, and it don't show nothing...this should be put in evidence the fact thet i'm not calling the slot...

  3. #3
    Join Date
    Oct 2007
    Location
    Munich, Bavaria
    Posts
    144
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    1
    Thanked 19 Times in 19 Posts

    Default Re: segmentation fault

    in callApplication:: processfinished remove the setHtml statement.

    this statement overwrites the message set by ClientSocket::generateError().

  4. #4
    Join Date
    Oct 2007
    Location
    Italy
    Posts
    172
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    39

    Default Re: segmentation fault

    Nothing new, i had already tried to remove it but it keeps on to not work.
    I added this method, and i call it into callApplication:: processfinished
    Qt Code:
    1. void CallApplication::test(){
    2. this->textBrowserPark->setHtml("Yeah!");
    3. }
    To copy to clipboard, switch view to plain text mode 

    it shuold print a string into the server message box but nothing, i can't call no one functions in callApplication:: processfinished...it looks really strange...any work around?

  5. #5
    Join Date
    Oct 2007
    Location
    Italy
    Posts
    172
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    39

    Default Re: segmentation fault

    I have implemented again the server classes and i fixed my problems, thanks for your support

Similar Threads

  1. Segmentation Fault
    By Krish_ng in forum Qt Programming
    Replies: 8
    Last Post: 7th August 2007, 10:49
  2. Process aborted. Segmentation fault
    By Pragya in forum Qt Programming
    Replies: 3
    Last Post: 30th May 2007, 08:12
  3. Segmentation fault running any QT4 executables
    By jellis in forum Installation and Deployment
    Replies: 7
    Last Post: 19th May 2007, 16:35
  4. why does qt program meet segmentation fault?
    By wquanw in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 15th May 2006, 16:52
  5. Icons missing => segmentation fault
    By antonio.r.tome in forum Qt Programming
    Replies: 4
    Last Post: 8th March 2006, 16:30

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.