Results 1 to 6 of 6

Thread: Qt-5.3.1/Qt-5.2.1 application is crashing on desktop

  1. #1
    Join Date
    Apr 2011
    Location
    Hyderabad
    Posts
    86
    Thanks
    17
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Qt-5.3.1/Qt-5.2.1 application is crashing on desktop

    Hi Everybody,

    We are trying to build Qt-5.3.1 on desktop from Qt source(qt-everywhere-opensource-src-5.3.1.tar.gz).
    Our system/PC is of 64bit architecture and OS is Ubuntu-12.04

    We are able to build/configured Qt successfully without any error.

    But when we are trying to run the application, system is going on "power-save mode" and application
    is crashing without any error/warning.

    When we are trying to run simple console-based application its running fine. So only GUI based application
    is not running.


    But with same configuration/building on another system/PC which is having same configuration its running fine.

    Why its not working on some of the system and its working on few system, only difference is RAM size, we have
    observed that, the PC having 4GB RAM where it is working but where RAM is 2GB its not working.

    So, We have tried with lower version of Qt-5.2.1 from source, but we are getting same problem. but with error that is
    following"
    "QXcbConnection: XCB error: 3 (BadWindow), sequence: 667, resource id: 0, major code: 15 (QueryTree), minor code: 0"

    What could be the problem, why its running on some of the system and not running on most of the system.

    Is It RAM size problem or what...??

    I don't think so its RAM problem, please clarify if anyone aware it.

    We build Qt with following configure option:
    ./configure -qt-xcb

    Any suggestions is valuable.

    Thanks in advance,
    Sanjeet

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt-5.3.1/Qt-5.2.1 application is crashing on desktop

    There is no way to determine anything without any concrete information available. Do examples that come with Qt cause the same effect as well or does it only apply to your one particular application?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Apr 2011
    Location
    Hyderabad
    Posts
    86
    Thanks
    17
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Qt-5.3.1/Qt-5.2.1 application is crashing on desktop

    Hi Wyosta,

    We have tried in both cases either "examples that come with Qt" or "any gui application created by us", it is same effect.
    System is going on power-save mode, even some time we have to manually restart the system.

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt-5.3.1/Qt-5.2.1 application is crashing on desktop

    It is an issue with your system configuration rather than something related to RAM. Does the same happen if you use pre-built Qt package instead of compiling your own?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    Apr 2011
    Location
    Hyderabad
    Posts
    86
    Thanks
    17
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Qt-5.3.1/Qt-5.2.1 application is crashing on desktop

    Hi wyosta

    yeah, same problem happening with pre-built Qt package also,
    we have tried with {qt-opensource-linux-x64-5.3.1.run), its installing properly, but
    we are not able to run application.


    I got doubt may be some display related issue on system, because only
    gui-based application is not running.

    So, we have tried to build Qt-4.7.4 from source on same system, we build successfully.
    And with Qt-4.7.4 gui and console based both application is running fine.

    Why only we are getting problem with Qt-5, that is not able to understand.
    Last edited by sanjeet; 9th September 2014 at 08:51.

  6. #6
    Join Date
    Apr 2011
    Location
    Hyderabad
    Posts
    86
    Thanks
    17
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Qt-5.3.1/Qt-5.2.1 application is crashing on desktop

    Hi,

    I sorted out the issue.
    Issue was with display setting.

    Earlier resolution was 1600x900, where it was not working.
    we changed it to 1440x900, now its working fine.

    Thanks wyosta,
    N thanks to everybody.


    Sanjeet

Similar Threads

  1. Main Application is crashing
    By vijayQt in forum Newbie
    Replies: 5
    Last Post: 23rd May 2011, 12:41
  2. QML Application crashing on exit
    By fgungor in forum Qt Quick
    Replies: 0
    Last Post: 12th March 2011, 11:19
  3. Access Violation - Crashing Application
    By LIRiot in forum Qt Programming
    Replies: 9
    Last Post: 6th December 2010, 00:10
  4. Application crashing
    By addu in forum Qt Programming
    Replies: 9
    Last Post: 22nd May 2009, 11:37
  5. Application is Crashing
    By shyam prasad in forum Qt Programming
    Replies: 1
    Last Post: 9th January 2007, 18:04

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.