kornelski / ImageAlpha

Mac GUI for pngquant, pngnq and posterizer
https://pngmini.com
GNU General Public License v2.0
470 stars 63 forks source link

Crash when switching tools #6

Closed kornelski closed 11 years ago

kornelski commented 11 years ago

Noting bug report I've got via e-mail:

Have this error when open big sprite sheet and try to save it.

Process:         ImageAlpha [7978]
Path:            /Volumes/VOLUME/*/ImageAlpha_1.2.5.1.app/Contents/MacOS/ImageAlpha
Identifier:      net.pornel.ImageAlpha
Version:         1.2.5.1 (1.2.5.1)
Code Type:       X86-64 (Native)
Parent Process:  launchd [145]
User ID:         501
Date/Time:       2013-04-05 15:10:20.678 +0400
OS Version:      Mac OS X 10.8.3 (12D78)
Report Version:  10
Sleep/Wake UUID: 3801E841-E6D2-4C1C-B9BD-2835CABCC1EE
Interval Since Last Report:          413458 sec
Crashes Since Last Report:           10
Per-App Interval Since Last Report:  6769 sec
Per-App Crashes Since Last Report:   10
Crashed Thread:  0  Dispatch queue: com.apple.main-thread
Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: EXC_I386_GPFLT
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libobjc.A.dylib                 0x00007fff8d406498 objc_msgSend_vtable3 + 24
1   _objc.so                        0x000000010383a0cb pythonify_c_value + 617
2   _objc.so                        0x0000000103826e1c 0x103813000 + 81436
3   _objc.so                        0x0000000103836854 0x103813000 + 145492
4   org.python.python               0x0000000101ee14d5 PyEval_EvalFrameEx + 4936
5   org.python.python               0x0000000101ee0147 PyEval_EvalCodeEx + 1934
6   org.python.python               0x0000000101f19d7a 0x101ec9000 + 331130
7   org.python.python               0x0000000101ed86c6 PyObject_Call + 97
8   _objc.so                        0x00000001038436cf 0x103813000 + 198351
9   org.python.python               0x0000000101ed86c6 PyObject_Call + 97
10  org.python.python               0x0000000101ee278d PyEval_EvalFrameEx + 9728
11  org.python.python               0x0000000101ee0147 PyEval_EvalCodeEx + 1934
12  org.python.python               0x0000000101f19d7a 0x101ec9000 + 331130
13  org.python.python               0x0000000101ed86c6 PyObject_Call + 97
14  _objc.so                        0x00000001038436cf 0x103813000 + 198351
15  org.python.python               0x0000000101ed86c6 PyObject_Call + 97
16  org.python.python               0x0000000101ee278d PyEval_EvalFrameEx + 9728
17  org.python.python               0x0000000101ee0147 PyEval_EvalCodeEx + 1934
18  org.python.python               0x0000000101f19d7a 0x101ec9000 + 331130
19  org.python.python               0x0000000101ed86c6 PyObject_Call + 97
20  _objc.so                        0x00000001038436cf 0x103813000 + 198351
21  org.python.python               0x0000000101ed86c6 PyObject_Call + 97
22  org.python.python               0x0000000101ee278d PyEval_EvalFrameEx + 9728
23  org.python.python               0x0000000101ee0147 PyEval_EvalCodeEx + 1934
24  org.python.python               0x0000000101f19d7a 0x101ec9000 + 331130
25  org.python.python               0x0000000101ed86c6 PyObject_Call + 97
26  _objc.so                        0x0000000103828758 0x103813000 + 87896
27  libffi.dylib                    0x00007fff8f3948a6 ffi_closure_unix64_inner + 508
28  libffi.dylib                    0x00007fff8f393f66 ffi_closure_unix64 + 70
29  com.apple.CoreFoundation        0x00007fff9406aeda _CFXNotificationPost + 2554
30  com.apple.Foundation            0x00007fff8f60ce26 -[NSNotificationCenter postNotificationName:object:userInfo:] + 64
31  com.apple.Foundation            0x00007fff8f6cb11c _performFileHandleSource + 1280
32  com.apple.CoreFoundation        0x00007fff94037b31 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
33  com.apple.CoreFoundation        0x00007fff94037455 __CFRunLoopDoSources0 + 245
34  com.apple.CoreFoundation        0x00007fff9405a7f5 __CFRunLoopRun + 789
35  com.apple.CoreFoundation        0x00007fff9405a0e2 CFRunLoopRunSpecific + 290
36  com.apple.HIToolbox             0x00007fff9041eeb4 RunCurrentEventLoopInMode + 209
37  com.apple.HIToolbox             0x00007fff9041ec52 ReceiveNextEventCommon + 356
38  com.apple.HIToolbox             0x00007fff9041eae3 BlockUntilNextEventMatchingListInMode + 62
39  com.apple.AppKit                0x00007fff92d3d563 _DPSNextEvent + 685
40  com.apple.AppKit                0x00007fff92d3ce22 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
41  com.apple.AppKit                0x00007fff92d341d3 -[NSApplication run] + 517
42  com.apple.AppKit                0x00007fff92cd8c06 NSApplicationMain + 869
43  _AppKit.so                      0x00000001042f8bbe 0x1042f6000 + 11198
44  org.python.python               0x0000000101ee25a9 PyEval_EvalFrameEx + 9244
45  org.python.python               0x0000000101ee0147 PyEval_EvalCodeEx + 1934
46  org.python.python               0x0000000101ee68df 0x101ec9000 + 121055
47  org.python.python               0x0000000101ee263a PyEval_EvalFrameEx + 9389
48  org.python.python               0x0000000101ee0147 PyEval_EvalCodeEx + 1934
49  org.python.python               0x0000000101edf9b3 PyEval_EvalCode + 54
50  org.python.python               0x0000000101f1bc70 0x101ec9000 + 339056
51  org.python.python               0x0000000101f1bd3c PyRun_FileExFlags + 165
52  org.python.python               0x0000000101f1b726 PyRun_SimpleFileExFlags + 410
53  net.pornel.ImageAlpha           0x0000000101ebfbb7 0x101ebe000 + 7095
54  net.pornel.ImageAlpha           0x0000000101ebf95c 0x101ebe000 + 6492

it permanently happens.

I just detect, it happens when i try to change from "Median cut" to "Neu Quant" and do not wait for calculating result about image compression press Save image, then app crash.

Image must me big: 8192x4096 pixels

jamesstout commented 11 years ago

I can't replicate this. I'm using a 4096x8192 png. Any other steps to reproduce? Thanks

kornelski commented 11 years ago

Thanks for checking this. Unfortunately I haven't got more information, so let's file it under "hit by cosmic ray".