Hello,

I have a reasonably complex application that is showing significant
instability on OS X 10.6.7. The application runs well on Windows, but will
crash within a minute or two on OS X. The exact point at which it crashes
varies, however it eventually happens every time.

The partial crash log is below. I'm using the offical binary PySide 1.0
package for Mac OS X, official Qt 4.7.2 SDK binary package and official
Python 2.7.1 package.

Crash log:

Process:         Python [3937]
Path:
 
/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
Identifier:      org.python.python
Version:         2.7.1 (2.7.1)
Code Type:       X86-64 (Native)
Parent Process:  bash [971]

Date/Time:       2011-03-31 13:29:16.251 -0400
OS Version:      Mac OS X 10.6.7 (10J869)
Report Version:  6

Interval Since Last Report:          68603 sec
Crashes Since Last Report:           7
Per-App Interval Since Last Report:  477 sec
Per-App Crashes Since Last Report:   7
Anonymous UUID:                      958D56D4-2731-4642-A1B9-A8B96BE6B84F

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x000000011852d15e
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib             0x00007fff83b57a34 tiny_free_list_add_ptr
+ 124
1   libSystem.B.dylib             0x00007fff83b55147
tiny_malloc_from_free_list + 1196
2   libSystem.B.dylib             0x00007fff83b53fdd
szone_malloc_should_clear + 242
3   libSystem.B.dylib             0x00007fff83b53eaa malloc_zone_malloc + 82
4   libSystem.B.dylib             0x00007fff83b521a8 malloc + 44
5   libstdc++.6.dylib             0x00007fff841f7f05 operator new(unsigned
long) + 97
6   QtGui                         0x00000001036aae07
QListWidgetItem::QListWidgetItem(QListWidget*, int) + 71
7   QtGui.so                       0x000000010250bfe2
Sbk_QListWidgetItem_Init + 1698
8   org.python.python             0x0000000100074fc5 type_call + 245
9   org.python.python             0x000000010000c9f2 PyObject_Call + 98
10  org.python.python             0x00000001000be813 PyEval_EvalFrameEx +
11587
11  org.python.python             0x00000001000c20de PyEval_EvalFrameEx +
26126
12  org.python.python             0x00000001000c20de PyEval_EvalFrameEx +
26126
13  org.python.python             0x00000001000c2f49 PyEval_EvalCodeEx +
2137
14  org.python.python             0x000000010003dd80 function_call + 176
15  org.python.python             0x000000010000c9f2 PyObject_Call + 98
16  org.python.python             0x000000010001eebb instancemethod_call +
363
17  org.python.python             0x000000010000c9f2 PyObject_Call + 98
18  org.python.python             0x0000000100077ae8 slot_tp_init + 88
19  org.python.python             0x0000000100074fc5 type_call + 245
20  org.python.python             0x000000010000c9f2 PyObject_Call + 98
21  org.python.python             0x00000001000be813 PyEval_EvalFrameEx +
11587
22  org.python.python             0x00000001000c2f49 PyEval_EvalCodeEx +
2137
23  org.python.python             0x000000010003dd80 function_call + 176
24  org.python.python             0x000000010000c9f2 PyObject_Call + 98
25  org.python.python             0x000000010001eebb instancemethod_call +
363
26  org.python.python             0x000000010000c9f2 PyObject_Call + 98
27  org.python.python             0x00000001000ba817
PyEval_CallObjectWithKeywords + 87
28  libpyside-python2.7.1.0.dylib 0x000000010060865c
PySide::callMethod(QObject*, int, void**) + 1292
29  libpyside-python2.7.1.0.dylib 0x0000000100608db7
PySide::SignalManager::qt_metacall(QObject*, QMetaObject::Call, int, void**)
+ 103
30  QtCore                         0x000000010140cfe6
QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 710
31  QtGui                         0x0000000103152e61
QAction::triggered(bool) + 49
32  QtGui                         0x00000001031541f4
QAction::activate(QAction::ActionEvent) + 180
33  QtGui                         0x0000000103109dda -[QCocoaMenuLoader
qtDispatcherToQAction:] + 106
34  com.apple.AppKit               0x00007fff80652e9a -[NSApplication
sendAction:to:from:] + 95
35  com.apple.AppKit               0x00007fff8067741e -[NSMenuItem
_corePerformAction] + 365
36  com.apple.AppKit               0x00007fff80677188 -[NSCarbonMenuImpl
performActionWithHighlightingForItemAtIndex:] + 121
37  com.apple.AppKit               0x00007fff808fb279 -[NSMenu
_internalPerformActionForItemAtIndex:] + 35
38  com.apple.AppKit               0x00007fff807acf77 -[NSCarbonMenuImpl
_carbonCommandProcessEvent:handlerCallRef:] + 136
39  com.apple.AppKit               0x00007fff8065995c NSSLMMenuEventHandler
+ 321
40  com.apple.HIToolbox           0x00007fff834fd7f7
DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) +
1002
41  com.apple.HIToolbox           0x00007fff834fcd46
SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*,
HandlerCallRec*) + 395
42  com.apple.HIToolbox           0x00007fff8351aa81 SendEventToEventTarget
+ 45
43  com.apple.HIToolbox           0x00007fff83549c35
SendHICommandEvent(unsigned int, HICommand const*, unsigned int, unsigned
int, unsigned char, void const*, OpaqueEventTargetRef*,
OpaqueEventTargetRef*, OpaqueEventRef**) + 387
44  com.apple.HIToolbox           0x00007fff83576a0a
SendMenuCommandWithContextAndModifiers + 56
45  com.apple.HIToolbox           0x00007fff835769c2
SendMenuItemSelectedEvent + 101
46  com.apple.HIToolbox           0x00007fff835768d2
FinishMenuSelection(SelectionData*, MenuResult*, MenuResult*) + 150
47  com.apple.HIToolbox           0x00007fff83557c27
MenuSelectCore(MenuData*, Point, double, unsigned int, OpaqueMenuRef**,
unsigned short*) + 467
48  com.apple.HIToolbox           0x00007fff8355737c _HandleMenuSelection2 +
453
49  com.apple.AppKit               0x00007fff8052a7dd
_NSHandleCarbonMenuEvent + 236
50  com.apple.AppKit               0x00007fff804fe317 _DPSNextEvent + 1921
51  com.apple.AppKit               0x00007fff804fd7a9 -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
52  com.apple.AppKit               0x00007fff804c348b -[NSApplication run] +
395
53  QtGui                         0x0000000103114624
QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) +
1588
54  QtCore                         0x00000001014f2b44
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 68
55  QtCore                         0x00000001014f2e64
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 180
56  QtCore                         0x00000001014f448c
QCoreApplication::exec() + 188
57  QtGui.so                       0x00000001021912c4
Sbk_QApplicationFunc_exec_ + 100
58  org.python.python             0x00000001000c13aa PyEval_EvalFrameEx +
22746
59  org.python.python             0x00000001000c20de PyEval_EvalFrameEx +
26126
60  org.python.python             0x00000001000c2f49 PyEval_EvalCodeEx +
2137
61  org.python.python             0x00000001000c3066 PyEval_EvalCode + 54
62  org.python.python             0x00000001000e7b2e PyRun_FileExFlags + 174
63  org.python.python             0x00000001000e7de9 PyRun_SimpleFileExFlags
+ 489
64  org.python.python             0x00000001000fe75c Py_Main + 2940
65  org.python.python             0x0000000100000f14 0x100000000 + 3860
_______________________________________________
PySide mailing list
[email protected]
http://lists.pyside.org/listinfo/pyside

Reply via email to