Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-24506

crash when terminate libcheck process (with subprocesses)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 4.12.4
    • Debugger
    • Linux/X11

    Description

      I am trying to debug c code with libcheck. When I run project and terminate it using "red stop button" in QtCreator then Qt creator is unexpectly terminated (Actually I am not sure if segfault).

      The reproducer code is based on https://github.com/libcheck/check/tree/master/doc/example - I am running ./tests/check_money (see attachment) extended with:

      START_TEST(test_money_sleep)
      {
          sleep(100);
      }
      END_TEST
      
      tcase_set_timeout(tc_core, 200.0); 

      It seems the qtcreator is not crashing when is set

      srunner_set_fork_status (sr, CK_NOFORK); 

       

      Attachments

        1. example.tar.gz
          39 kB
        2. gdb.txt
          12 kB
        3. minimal.tar.gz
          0.7 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hjk hjk
            xmlich02 Jozef Mlich
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes