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

iOS: Debugging crashes python when stepping

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P1: Critical
    • None
    • Qt Creator 3.3.0-beta1
    • Debugger, iOS Support
    • OS X 10.9.5, Xcode 6.1, Qt/iOS 5.4-beta1

    Description

      1. Create dummy Qt Quick application
      2. Set breakpoint in line with QApplication in main.cpp
      3. Start debugging --> debugger stops
      4. press step over --> python crashes
      Process:         Python [77010]
      Path:            /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
      Identifier:      Python
      Version:         2.7.5 (2.7.5)
      Code Type:       X86-64 (Native)
      Parent Process:  Qt Creator [76037]
      Responsible:     Terminal [212]
      User ID:         501
      
      Date/Time:       2014-10-24 12:38:46.839 +0200
      OS Version:      Mac OS X 10.9.5 (13F34)
      Report Version:  11
      Anonymous UUID:  643E79D0-B8BB-D8C3-3CEE-C16EB0D32BB8
      
      Sleep/Wake UUID: 05D47136-90A4-40B4-90CA-8CC4342BE381
      
      Crashed Thread:  0  Dispatch queue: com.apple.main-thread
      
      Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
      Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
      
      VM Regions Near 0:
      --> 
          __TEXT                 000000010b4b3000-000000010b4b4000 [    4K] r-x/rwx SM=COW  /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
      
      Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
      0   org.python.python             	0x000000010b4f61dd PyObject_Malloc + 80
      1   org.python.python             	0x000000010b4f6796 PyObject_Realloc + 204
      2   org.python.python             	0x000000010b4fb498 _PyString_Resize + 116
      3   org.python.python             	0x000000010b4fddff PyString_Format + 3818
      4   org.python.python             	0x000000010b53c0ed PyEval_EvalFrameEx + 3888
      5   org.python.python             	0x000000010b53b093 PyEval_EvalCodeEx + 1641
      6   org.python.python             	0x000000010b5418c8 0x10b4bb000 + 551112
      7   org.python.python             	0x000000010b53e4d4 PyEval_EvalFrameEx + 13079
      8   org.python.python             	0x000000010b541864 0x10b4bb000 + 551012
      9   org.python.python             	0x000000010b53e4d4 PyEval_EvalFrameEx + 13079
      10  org.python.python             	0x000000010b541864 0x10b4bb000 + 551012
      11  org.python.python             	0x000000010b53e4d4 PyEval_EvalFrameEx + 13079
      12  org.python.python             	0x000000010b53b093 PyEval_EvalCodeEx + 1641
      13  org.python.python             	0x000000010b53aa24 PyEval_EvalCode + 54
      14  org.python.python             	0x000000010b559c2c 0x10b4bb000 + 650284
      15  org.python.python             	0x000000010b559cd3 PyRun_FileExFlags + 137
      16  org.python.python             	0x000000010b559821 PyRun_SimpleFileExFlags + 718
      17  org.python.python             	0x000000010b56a363 Py_Main + 2995
      18  libdyld.dylib                 	0x00007fff8fa035fd start + 1
      
      Thread 1:: Dispatch queue: com.apple.libdispatch-manager
      0   libsystem_kernel.dylib        	0x00007fff96584662 kevent64 + 10
      1   libdispatch.dylib             	0x00007fff94543421 _dispatch_mgr_invoke + 239
      2   libdispatch.dylib             	0x00007fff94543136 _dispatch_mgr_thread + 52
      
      Thread 2:
      0   libsystem_kernel.dylib        	0x00007fff9657fa1a mach_msg_trap + 10
      1   libsystem_kernel.dylib        	0x00007fff9657ed18 mach_msg + 64
      2   com.apple.CoreFoundation      	0x00007fff906eaf15 __CFRunLoopServiceMachPort + 181
      3   com.apple.CoreFoundation      	0x00007fff906ea539 __CFRunLoopRun + 1161
      4   com.apple.CoreFoundation      	0x00007fff906e9e75 CFRunLoopRunSpecific + 309
      5   com.apple.CoreFoundation      	0x00007fff9079f811 CFRunLoopRun + 97
      6   com.apple.DebugSymbols        	0x00007fff966f97e3 SpotlightQueryThread(void*) + 355
      7   libsystem_pthread.dylib       	0x00007fff9944c899 _pthread_body + 138
      8   libsystem_pthread.dylib       	0x00007fff9944c72a _pthread_start + 137
      9   libsystem_pthread.dylib       	0x00007fff99450fc9 thread_start + 13
      
      Thread 3:: <lldb.process.gdb-remote.async>
      0   libsystem_kernel.dylib        	0x00007fff96583716 __psynch_cvwait + 10
      1   libsystem_pthread.dylib       	0x00007fff9944ec3b _pthread_cond_wait + 727
      2   _lldb.so                      	0x000000010df8a2a5 lldb_private::Condition::Wait(lldb_private::Mutex&, lldb_private::TimeValue const*, bool*) + 109
      3   _lldb.so                      	0x000000010dfed2b2 lldb_private::Predicate<bool>::WaitForValueEqualTo(bool, lldb_private::TimeValue const*, bool*) + 90
      4   _lldb.so                      	0x000000010def211e lldb_private::Listener::WaitForEventsInternal(lldb_private::TimeValue const*, lldb_private::Broadcaster*, lldb_private::ConstString const*, unsigned int, unsigned int, std::__1::shared_ptr<lldb_private::Event>&) + 324
      5   _lldb.so                      	0x000000010def2235 lldb_private::Listener::WaitForEvent(lldb_private::TimeValue const*, std::__1::shared_ptr<lldb_private::Event>&) + 27
      6   _lldb.so                      	0x000000010dff7d1a ProcessGDBRemote::AsyncThread(void*) + 1228
      7   libsystem_pthread.dylib       	0x00007fff9944c899 _pthread_body + 138
      8   libsystem_pthread.dylib       	0x00007fff9944c72a _pthread_start + 137
      9   libsystem_pthread.dylib       	0x00007fff99450fc9 thread_start + 13
      
      Thread 4:: <lldb.process.internal-state(pid=558)>
      0   libsystem_kernel.dylib        	0x00007fff96583716 __psynch_cvwait + 10
      1   libsystem_pthread.dylib       	0x00007fff9944ec3b _pthread_cond_wait + 727
      2   _lldb.so                      	0x000000010df8a2a5 lldb_private::Condition::Wait(lldb_private::Mutex&, lldb_private::TimeValue const*, bool*) + 109
      3   _lldb.so                      	0x000000010dfed2b2 lldb_private::Predicate<bool>::WaitForValueEqualTo(bool, lldb_private::TimeValue const*, bool*) + 90
      4   _lldb.so                      	0x000000010def211e lldb_private::Listener::WaitForEventsInternal(lldb_private::TimeValue const*, lldb_private::Broadcaster*, lldb_private::ConstString const*, unsigned int, unsigned int, std::__1::shared_ptr<lldb_private::Event>&) + 324
      5   _lldb.so                      	0x000000010def2235 lldb_private::Listener::WaitForEvent(lldb_private::TimeValue const*, std::__1::shared_ptr<lldb_private::Event>&) + 27
      6   _lldb.so                      	0x000000010e0a072c lldb_private::Process::WaitForEventsPrivate(lldb_private::TimeValue const*, std::__1::shared_ptr<lldb_private::Event>&, bool) + 114
      7   _lldb.so                      	0x000000010e0a6f6e lldb_private::Process::RunPrivateStateThread() + 226
      8   _lldb.so                      	0x000000010e0a6a91 lldb_private::Process::PrivateStateThread(void*) + 9
      9   libsystem_pthread.dylib       	0x00007fff9944c899 _pthread_body + 138
      10  libsystem_pthread.dylib       	0x00007fff9944c72a _pthread_start + 137
      11  libsystem_pthread.dylib       	0x00007fff99450fc9 thread_start + 13
      
      Thread 5:
      0   libsystem_kernel.dylib        	0x00007fff96583716 __psynch_cvwait + 10
      1   libsystem_pthread.dylib       	0x00007fff9944ec3b _pthread_cond_wait + 727
      2   org.python.python             	0x000000010b5685cc PyThread_acquire_lock + 104
      3   org.python.python             	0x000000010b53a78d PyEval_RestoreThread + 61
      4   _lldb.so                      	0x000000010c7b9936 _wrap_SBFileSpec___str__(_object*, _object*) + 239
      5   org.python.python             	0x000000010b53d14d PyEval_EvalFrameEx + 8080
      6   org.python.python             	0x000000010b53b093 PyEval_EvalCodeEx + 1641
      7   org.python.python             	0x000000010b4e2796 0x10b4bb000 + 161686
      8   org.python.python             	0x000000010b4c4f72 PyObject_Call + 101
      9   org.python.python             	0x000000010b4cf9a7 0x10b4bb000 + 84391
      10  org.python.python             	0x000000010b4c4f72 PyObject_Call + 101
      11  org.python.python             	0x000000010b54101f PyEval_CallObjectWithKeywords + 93
      12  org.python.python             	0x000000010b509d09 0x10b4bb000 + 322825
      13  org.python.python             	0x000000010b4f3d34 _PyObject_Str + 127
      14  org.python.python             	0x000000010b4f3dca PyObject_Str + 15
      15  org.python.python             	0x000000010b4fc9c2 0x10b4bb000 + 268738
      16  org.python.python             	0x000000010b5060f9 0x10b4bb000 + 307449
      17  org.python.python             	0x000000010b4c4f72 PyObject_Call + 101
      18  org.python.python             	0x000000010b53edf5 PyEval_EvalFrameEx + 15416
      19  org.python.python             	0x000000010b541864 0x10b4bb000 + 551012
      20  org.python.python             	0x000000010b53e4d4 PyEval_EvalFrameEx + 13079
      21  org.python.python             	0x000000010b541864 0x10b4bb000 + 551012
      22  org.python.python             	0x000000010b53e4d4 PyEval_EvalFrameEx + 13079
      23  org.python.python             	0x000000010b541864 0x10b4bb000 + 551012
      24  org.python.python             	0x000000010b53e4d4 PyEval_EvalFrameEx + 13079
      25  org.python.python             	0x000000010b53b093 PyEval_EvalCodeEx + 1641
      26  org.python.python             	0x000000010b4e2796 0x10b4bb000 + 161686
      27  org.python.python             	0x000000010b4c4f72 PyObject_Call + 101
      28  org.python.python             	0x000000010b53f395 PyEval_EvalFrameEx + 16856
      29  org.python.python             	0x000000010b541864 0x10b4bb000 + 551012
      30  org.python.python             	0x000000010b53e4d4 PyEval_EvalFrameEx + 13079
      31  org.python.python             	0x000000010b541864 0x10b4bb000 + 551012
      32  org.python.python             	0x000000010b53e4d4 PyEval_EvalFrameEx + 13079
      33  org.python.python             	0x000000010b53b093 PyEval_EvalCodeEx + 1641
      34  org.python.python             	0x000000010b4e2796 0x10b4bb000 + 161686
      35  org.python.python             	0x000000010b4c4f72 PyObject_Call + 101
      36  org.python.python             	0x000000010b4cf9a7 0x10b4bb000 + 84391
      37  org.python.python             	0x000000010b4c4f72 PyObject_Call + 101
      38  org.python.python             	0x000000010b54101f PyEval_CallObjectWithKeywords + 93
      39  org.python.python             	0x000000010b56bfa5 0x10b4bb000 + 724901
      40  libsystem_pthread.dylib       	0x00007fff9944c899 _pthread_body + 138
      41  libsystem_pthread.dylib       	0x00007fff9944c72a _pthread_start + 137
      42  libsystem_pthread.dylib       	0x00007fff99450fc9 thread_start + 13
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            fawzi Fawzi Mohamed
            con Eike Ziller
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes