Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Qt Creator Crash

    Tools
    4
    7
    12229
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • cmessineo
      cmessineo last edited by

      Hello, are there any log files to figure out why Qt Creator is crashing?

      I'm using Qt Creator 2.5 and 2.41 and they both bail out with a segmentation fault.

      Using Ubuntu 10.04

      I am having the same error as this bug report: https://bugreports.qt-project.org/browse/QTCREATORBUG-7289

      Thanks

      [Moved to Tools forum -- mlong]

      1 Reply Last reply Reply Quote 0
      • T
        tucnak last edited by

        Hi, ~cmessineo!

        Try to execute qtcreator from Terminal.
        @
        qtcreator > qtcreator.log
        @

        It must write qtcreator debug output to qtcreator.log

        1 Reply Last reply Reply Quote 0
        • T
          tobias.hunger last edited by

          We try to not spam the console with debug output, so as long as you don't add some yourself the log will not be very helpful.

          Try getting the core file for your crash (that is basically a memory dump done by the OS whenever a segfault happens). You can extract a lot of useful information from that via the debugger. I am not sure how to turn those on in ubuntu though.

          1 Reply Last reply Reply Quote 0
          • T
            tucnak last edited by

            [quote author="Tobias Hunger" date="1341340679"]We try to not spam the console with debug output, so as long as you don't add some yourself the log will not be very helpful.

            Try getting the core file for your crash (that is basically a memory dump done by the OS whenever a segfault happens). You can extract a lot of useful information from that via the debugger. I am not sure how to turn those on in ubuntu though.[/quote]

            AFAIK, Ubuntu doesn't create core-files by default.

            1 Reply Last reply Reply Quote 0
            • cmessineo
              cmessineo last edited by

              All I see is this in the log file:

              call callback
              Segmentation fault

              Thanks
              I'll see if I can get a memory dump

              1 Reply Last reply Reply Quote 0
              • T
                tobias.hunger last edited by

                tucnak: Yeap, that is why I wrote "not sure how to turn those on in ubuntu". You can turn core files on, I've seen people use them on ubuntu. I am sure there is some documentation on how to do it available somewhere.

                1 Reply Last reply Reply Quote 0
                • M
                  mlong last edited by

                  Try using
                  @
                  ulimit -c unlimited
                  @
                  at your prompt before running creator to enable core dumps.

                  Software Engineer
                  My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post