{"issue":{"state":"closed","created_at":"2011-12-08T07:34:44Z","updated_at":"2011-12-08T13:14:06Z","user":{"gravatar_id":"5e7db7c6640770863270643df5641272","id":1249193,"url":"https://api.github.com/users/nonhermitian","login":"nonhermitian","avatar_url":"https://secure.gravatar.com/avatar/5e7db7c6640770863270643df5641272?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":14,"body":"I am using iPython 0.11 to call a GUI about box written using PySide.  Calling the GUI from inside iPython via\r\n\r\nfrom qutip import * #my package\r\nabout()                    #about box\r\n\r\ngives the correct result, i.e. opens the about window.  However, running the exact same commands listed above inside a script file via\r\n\r\nrun script.py\r\n\r\nresults in seg fault 11.  Curiously, running\r\n\r\nIn[1]: from qutip import *\r\n\r\nIn[2]:about()\r\n\r\nIn[3]: run script.py\r\n\r\nworks just fine.\r\n\r\nI am running iPython version 0.11 with Python 2.7.2, both installed using MacPorts, on Mac OSX 10.7.2.  The current PySide version is 1.0.9.  The relevant portion of the crash report generated is given below.\r\n\r\nRegards,\r\n\r\nPaul\r\n\r\nProcess:         Python [21647]\r\nPath:            /opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python\r\nIdentifier:      Python\r\nVersion:         ??? (???)\r\nCode Type:       X86-64 (Native)\r\nParent Process:  bash [21642]\r\n\r\nDate/Time:       2011-12-08 16:20:04.623 +0900\r\nOS Version:      Mac OS X Server 10.7.2 (11C74)\r\nReport Version:  9\r\n\r\nInterval Since Last Report:          1676458 sec\r\nCrashes Since Last Report:           54\r\nPer-App Crashes Since Last Report:   31\r\nAnonymous UUID:                      7E473779-A3A4-441E-9864-390BB3EF8800\r\n\r\nCrashed Thread:  0  Dispatch queue: com.apple.main-thread\r\n\r\nException Type:  EXC_BAD_ACCESS (SIGSEGV)\r\nException Codes: KERN_INVALID_ADDRESS at 0x0000000000000000\r\n\r\nVM Regions Near 0:\r\n--> \r\n    __TEXT                 00000001071d1000-00000001071d2000 [    4K] r-x/rwx SM=COW  /opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python\r\n\r\nApplication Specific Information:\r\nobjc[21647]: garbage collection is OFF\r\n\r\nThread 0 Crashed:: Dispatch queue: com.apple.main-thread\r\n0   libsystem_c.dylib             \t0x00007fff880924f0 strlen + 16\r\n1   libsystem_c.dylib             \t0x00007fff8802e34b strdup + 18\r\n2   libshiboken-python2.7.1.0.dylib\t0x0000000109147ed7 Shiboken::sequenceToArgcArgv(_object*, int*, char***, char const*) + 391\r\n3   QtGui.so                      \t0x000000010b102b65 Sbk_QApplication_Init + 725\r\n4   org.python.python             \t0x0000000107232b9a type_call + 362\r\n5   org.python.python             \t0x00000001071e0fd1 PyObject_Call + 97\r\n6   org.python.python             \t0x00000001072744cf PyEval_EvalFrameEx + 7871\r\n7   org.python.python             \t0x000000010727a343 fast_function + 195\r\n8   org.python.python             \t0x00000001072742be PyEval_EvalFrameEx + 7342\r\n9   org.python.python             \t0x00000001072725b9 PyEval_EvalCodeEx + 2201\r\n10  org.python.python             \t0x0000000107271d16 PyEval_EvalCode + 54\r\n11  org.python.python             \t0x0000000107299b4e PyRun_FileExFlags + 174\r\n12  org.python.python             \t0x000000010726df9a builtin_execfile + 490\r\n13  org.python.python             \t0x0000000107274bfa PyEval_EvalFrameEx + 9706\r\n14  org.python.python             \t0x00000001072725b9 PyEval_EvalCodeEx + 2201\r\n15  org.python.python             \t0x000000010727a3b9 fast_function + 313\r\n16  org.python.python             \t0x00000001072742be PyEval_EvalFrameEx + 7342\r\n17  org.python.python             \t0x00000001072725b9 PyEval_EvalCodeEx + 2201\r\n18  org.python.python             \t0x000000010727a3b9 fast_function + 313\r\n19  org.python.python             \t0x00000001072742be PyEval_EvalFrameEx + 7342\r\n20  org.python.python             \t0x00000001072725b9 PyEval_EvalCodeEx + 2201\r\n21  org.python.python             \t0x000000010727a3b9 fast_function + 313\r\n22  org.python.python             \t0x00000001072742be PyEval_EvalFrameEx + 7342\r\n23  org.python.python             \t0x00000001072725b9 PyEval_EvalCodeEx + 2201\r\n24  org.python.python             \t0x00000001072736cc PyEval_EvalFrameEx + 4284\r\n25  org.python.python             \t0x00000001072725b9 PyEval_EvalCodeEx + 2201\r\n26  org.python.python             \t0x000000010727a3b9 fast_function + 313\r\n27  org.python.python             \t0x00000001072742be PyEval_EvalFrameEx + 7342\r\n28  org.python.python             \t0x00000001072725b9 PyEval_EvalCodeEx + 2201\r\n29  org.python.python             \t0x000000010727a3b9 fast_function + 313\r\n30  org.python.python             \t0x00000001072742be PyEval_EvalFrameEx + 7342\r\n31  org.python.python             \t0x00000001072725b9 PyEval_EvalCodeEx + 2201\r\n32  org.python.python             \t0x000000010727a3b9 fast_function + 313\r\n33  org.python.python             \t0x00000001072742be PyEval_EvalFrameEx + 7342\r\n34  org.python.python             \t0x00000001072725b9 PyEval_EvalCodeEx + 2201\r\n35  org.python.python             \t0x000000010727a3b9 fast_function + 313\r\n36  org.python.python             \t0x00000001072742be PyEval_EvalFrameEx + 7342\r\n37  org.python.python             \t0x00000001072725b9 PyEval_EvalCodeEx + 2201\r\n38  org.python.python             \t0x000000010727a3b9 fast_function + 313\r\n39  org.python.python             \t0x00000001072742be PyEval_EvalFrameEx + 7342\r\n40  org.python.python             \t0x00000001072725b9 PyEval_EvalCodeEx + 2201\r\n41  org.python.python             \t0x000000010727a3b9 fast_function + 313\r\n42  org.python.python             \t0x00000001072742be PyEval_EvalFrameEx + 7342\r\n43  org.python.python             \t0x00000001072725b9 PyEval_EvalCodeEx + 2201\r\n44  org.python.python             \t0x000000010727a3b9 fast_function + 313\r\n45  org.python.python             \t0x00000001072742be PyEval_EvalFrameEx + 7342\r\n46  org.python.python             \t0x00000001072725b9 PyEval_EvalCodeEx + 2201\r\n47  org.python.python             \t0x0000000107271d16 PyEval_EvalCode + 54\r\n48  org.python.python             \t0x0000000107299b4e PyRun_FileExFlags + 174\r\n49  org.python.python             \t0x0000000107299528 PyRun_SimpleFileExFlags + 424\r\n50  org.python.python             \t0x00000001072ad63e Py_Main + 2990\r\n51  org.python.python             \t0x00000001071d1f24 0x1071d1000 + 3876\r\n\r\n","assignee":null,"labels":[],"id":2484585,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":1124,"title":"Seg Fault 11 when calling PySide using \"run\" command","html_url":"https://github.com/ipython/ipython/issues/1124","closed_at":"2011-12-08T12:33:56Z","url":"https://api.github.com/repos/ipython/ipython/issues/1124","milestone":null},"action":"created","comment":{"created_at":"2011-12-08T13:14:06Z","updated_at":"2011-12-08T13:14:06Z","user":{"gravatar_id":"4d4ea6148fef59dff9fa0fc8c309496a","id":335567,"url":"https://api.github.com/users/Carreau","login":"Carreau","avatar_url":"https://secure.gravatar.com/avatar/4d4ea6148fef59dff9fa0fc8c309496a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"already exist, \r\nhttp://bugs.pyside.org/show_bug.cgi?id=855\r\nmarked as invalid...","id":3062150,"url":"https://api.github.com/repos/ipython/ipython/issues/comments/3062150"}}