Crash with new Combobox control

Need help with a script? This is the place to discuss how to get your code running!

Crash with new Combobox control

Postby HairyHighlandCow » Thu Mar 16, 2017 7:37 am

Hi,
I was trying out the new Combobox control in SuperCard. I'd switched to the pointer tool but the text field in the Combobox was still active. I couldn't type in a field in another SC project which was in browse mode. I tried switching back to the browse tool in the project containing the Combobox to release the field and SC crashed.

Here's start of the crash report:

Code: Select all
Process:         SuperCard 4.8 [672]
Path:            /Applications/SuperCard 4.8/SuperCard 4.8.app/Contents/MacOS/SuperCard 4.8
Identifier:      us.SuperCard.SuperCard
Version:         4.8b26 (???)
Code Type:       X86 (Native)
Parent Process:  launchd [152]
Responsible:     SuperCard 4.8 [672]
User ID:         501

Date/Time:       2017-03-16 15:30:57.721 +0000
OS Version:      Mac OS X 10.9.5 (13F1911)
Report Version:  11
Anonymous UUID:  C741C615-54BC-B293-2BD4-84B4102A9F18

Sleep/Wake UUID: 3744C98B-2E6D-4953-949E-4E74C79DC95C

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000197

VM Regions Near 0x197:
--> __PAGEZERO             0000000000000000-0000000000001000 [    4K] ---/--- SM=NUL  /Applications/SuperCard 4.8/SuperCard 4.8.app/Contents/MacOS/SuperCard 4.8
    __TEXT                 0000000000001000-0000000000237000 [ 2264K] r-x/rwx SM=COW  /Applications/SuperCard 4.8/SuperCard 4.8.app/Contents/MacOS/SuperCard 4.8

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.QD                     0x97f3393e CopyRgn + 23
1   com.apple.HIToolbox              0x9994b822 BeginUsingAggregateClip(HIView*, unsigned char, OpaqueRgnHandle*, AggregateClipRecord*) + 205
2   com.apple.HIToolbox              0x998cc0ab HIView::SetFocusPartInternal(short, unsigned char, unsigned char, short*, short, unsigned char, unsigned char) + 91
3   com.apple.HIToolbox              0x9995295d HIView::SetFocusPart(short, unsigned char, unsigned char, unsigned long, FocusData*) + 349
4   com.apple.HIToolbox              0x998f526b ClearKeyboardFocus + 133
5   us.SuperCard.SuperCard           0x001764e7 handletools + 3128
6   us.SuperCard.SuperCard           0x000ac2e2 runedit + 1314
7   us.SuperCard.SuperCard           0x00029423 HandleEvent + 2467
8   us.SuperCard.SuperCard           0x0002a42f main + 2175
9   us.SuperCard.SuperCard           0x00002589 _start + 208
10  us.SuperCard.SuperCard           0x000024b8 start + 40

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib           0x91783992 kevent64 + 10
1   libdispatch.dylib                0x92f81899 _dispatch_mgr_invoke + 238
2   libdispatch.dylib                0x92f81532 _dispatch_mgr_thread + 52

Thread 2:: com.apple.CFSocket.private
0   libsystem_kernel.dylib           0x91782ace __select + 10
1   com.apple.CoreFoundation         0x95d1bae6 __CFSocketManager + 1158
2   libsystem_pthread.dylib          0x9888d5fb _pthread_body + 144
3   libsystem_pthread.dylib          0x9888d485 _pthread_start + 130
4   libsystem_pthread.dylib          0x98892cf2 thread_start + 34

Thread 3:
0   libsystem_kernel.dylib           0x91783046 __workq_kernreturn + 10
1   libsystem_pthread.dylib          0x9888edcf _pthread_wqthread + 372
2   libsystem_pthread.dylib          0x98892cce start_wqthread + 30

Thread 4:
0   libsystem_kernel.dylib           0x917827ca __psynch_cvwait + 10
1   libsystem_pthread.dylib          0x9888fd8a _pthread_cond_wait + 837
2   libsystem_pthread.dylib          0x98890042 pthread_cond_timedwait_relative_np + 47
3   com.apple.CoreServices.CarbonCore   0x9709688d TSWaitOnConditionTimedRelative + 161
4   com.apple.CoreServices.CarbonCore   0x9709644a TSWaitOnSemaphoreCommon + 531
5   com.apple.CoreServices.CarbonCore   0x970965fd TSWaitOnSemaphoreRelative + 24
6   com.apple.QuickTimeComponents.component   0x9076c4f1 0x904ff000 + 2544881
7   libsystem_pthread.dylib          0x9888d5fb _pthread_body + 144
8   libsystem_pthread.dylib          0x9888d485 _pthread_start + 130
9   libsystem_pthread.dylib          0x98892cf2 thread_start + 34

Thread 5:
0   libsystem_kernel.dylib           0x91783046 __workq_kernreturn + 10
1   libsystem_pthread.dylib          0x9888edcf _pthread_wqthread + 372
2   libsystem_pthread.dylib          0x98892cce start_wqthread + 30

Thread 6:
0   libsystem_kernel.dylib           0x917827ca __psynch_cvwait + 10
1   libsystem_pthread.dylib          0x9888fd8a _pthread_cond_wait + 837
2   libsystem_pthread.dylib          0x98890042 pthread_cond_timedwait_relative_np + 47
3   com.apple.CoreServices.CarbonCore   0x9709688d TSWaitOnConditionTimedRelative + 161
4   com.apple.CoreServices.CarbonCore   0x9709644a TSWaitOnSemaphoreCommon + 531
5   com.apple.CoreServices.CarbonCore   0x970965fd TSWaitOnSemaphoreRelative + 24
6   com.apple.CoreServices.CarbonCore   0x9703064c AIOFileThread(void*) + 1014
7   libsystem_pthread.dylib          0x9888d5fb _pthread_body + 144
8   libsystem_pthread.dylib          0x9888d485 _pthread_start + 130
9   libsystem_pthread.dylib          0x98892cf2 thread_start + 34

Thread 7:
0   libsystem_kernel.dylib           0x91783046 __workq_kernreturn + 10
1   libsystem_pthread.dylib          0x9888edcf _pthread_wqthread + 372
2   libsystem_pthread.dylib          0x98892cce start_wqthread + 30

Thread 8:
0   libsystem_kernel.dylib           0x91783046 __workq_kernreturn + 10
1   libsystem_pthread.dylib          0x9888edcf _pthread_wqthread + 372
2   libsystem_pthread.dylib          0x98892cce start_wqthread + 30

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0x00000197  ebx: 0x02ef9988  ecx: 0x02ef9980  edx: 0x00000000
  edi: 0x02ef9980  esi: 0x00000197  ebp: 0xbffff798  esp: 0xbffff780
   ss: 0x00000023  efl: 0x00010202  eip: 0x97f3393e   cs: 0x0000001b
   ds: 0x00000023   es: 0x00000023   fs: 0x00000000   gs: 0x0000000f
  cr2: 0x00000197
 
Logical CPU:     2
Error Code:      0x00000004
Trap Number:     14


Binary Images:
    0x1000 -   0x236ffb +us.SuperCard.SuperCard (4.8b26 - ???) <DD067169-14A8-83B1-8EC3-F9B9E6A0EC52> /Applications/SuperCard 4.8/SuperCard 4.8.app/Contents/MacOS/SuperCard 4.8
  0x377000 -   0x389ffd  libTraditionalChineseConverter.dylib (61) <EFC81138-0455-321B-A93A-F4E9C4A3EB31> /System/Library/CoreServices/Encodings/libTraditionalChineseConverter.dylib
  0x38d000 -   0x39bfff  libSimplifiedChineseConverter.dylib (61) <6E42E198-9C8D-3F0F-9660-6D9975C2461E> /System/Library/CoreServices/Encodings/libSimplifiedChineseConverter.dylib
  0x3a0000 -   0x3a7ff8  com.apple.AppleGVAHW.component (1.2 - 1) <0282F7F6-21B3-34BD-86C7-FFBC96433A17> /System/Library/QuickTime/AppleGVAHW.component/Contents/MacOS/AppleGVAHW
 0x23e1000 -  0x23ecff7 +10.4 (10.4 version 4.8.0 - 4.8.0) <67CA36A4-E3A9-8136-2694-B5C90FEB935D> /Applications/SuperCard 4.8/SuperCard 4.8.app/Contents/Frameworks/10.4.bundle/Contents/MacOS/10.4
 0x2566000 -  0x2571ff7 +10.5 (10.5 version 4.8.0 - 4.8.0) <8A3372A6-B0E0-20AA-D8D1-BA3A20379889> /Applications/SuperCard 4.8/SuperCard 4.8.app/Contents/Frameworks/10.5.bundle/Contents/MacOS/10.5
 0x2579000 -  0x2598ffb  com.apple.CalendarStore (7.0 - 1366) <DA77EC71-2408-397E-B8BF-2C3291AA2366> /System/Library/Frameworks/CalendarStore.framework/Versions/A/CalendarStore
 0x25aa000 -  0x25f1ff7  com.apple.CalDAV (7.0 - 155.2) <D6D3D17B-D21E-326E-88AE-CDC3838B905E> /System/Library/PrivateFrameworks/CalDAV.framework/Versions/A/CalDAV
 0x2626000 -  0x2688ff7  com.apple.coredav (1.0.1 - 229.6) <D9E24A98-5D3A-37BF-8744-1C264BBF3D5F> /System/Library/PrivateFrameworks/CoreDAV.framework/Versions/A/CoreDAV
 0x26c5000 -  0x26d2ffe  com.apple.CalendarAgentLink (7.0 - 138.2) <5871C21F-9269-3850-89B1-90653C7C00A0> /System/Library/PrivateFrameworks/CalendarAgentLink.framework/Versions/A/CalendarAgentLink
 0x26e0000 -  0x2701ff7  com.apple.CalendarFoundation (7.0 - 113.3) <DDBB37F3-25F6-3F9F-B3BF-CF0100A99455> /System/Library/PrivateFrameworks/CalendarFoundation.framework/Versions/A/CalendarFoundation
 0x271d000 -  0x2746fff  com.apple.iCalendar (7.0 - 162.2) <03B11EF8-2397-37A4-B641-5953A36D4E63> /System/Library/PrivateFrameworks/iCalendar.framework/Versions/A/iCalendar
 0x2762000 -  0x276fff1  com.apple.KerberosHelper (4.0 - 1.0) <BDCE5217-69E5-3FBF-BAC4-76AAE84A8961> /System/Library/PrivateFrameworks/KerberosHelper.framework/Versions/A/KerberosHelper
 0x2779000 -  0x277eff7 +10.6 (10.6 version 4.8.0 - 4.8.0) <9D26EE17-0EE9-6F26-8AC6-2E64A6897160> /Applications/SuperCard 4.8/SuperCard 4.8.app/Contents/Frameworks/10.6.bundle/Contents/MacOS/10.6
 0x47ea000 -  0x4a61ffd  com.apple.CalendarPersistence (7.0 - 138.4) <21719B05-6072-3DF4-AE72-64441B14E005> /System/Library/PrivateFrameworks/CalendarPersistence.framework/Versions/A/CalendarPersistence
 0x4b71000 -  0x4bbffff  com.apple.ExchangeWebServices (4.0 - 193) <66F72D8B-5232-3F9B-BDA1-2B38D9458117> /System/Library/PrivateFrameworks/ExchangeWebServices.framework/Versions/A/ExchangeWebServices
 0x4c15000 -  0x4d55fff  com.apple.syncservices (8.1 - 722) <6371658B-05CB-3F3F-BFAF-6BE639A2501D> /System/Library/Frameworks/SyncServices.framework/Versions/A/SyncServices
 0x4dd0000 -  0x4e3dffb  com.apple.WhitePagesFramework (10.7.0 - 141.0) <395F3538-8A1D-323B-B5C7-C8196CC03D15> /System/Library/PrivateFrameworks/WhitePages.framework/Versions/A/WhitePages
 0x4ea2000 -  0x4ea5ff7 + (???) <4B4ABA7B-BF60-2D51-0F68-FDCCA2692DB8>
 0x933e000 -  0x9363ff9  com.apple.framework.familycontrols (4.1 - 410) <ADC6612C-5473-3E94-8190-D4462CB5A511> /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyControls
 0x9378000 -  0x9383ffa  com.apple.CommerceCore (1.0 - 42) <E59717F2-6770-3DBC-8510-F7AA61E60F57> /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Frameworks/CommerceCore.framework/Versions/A/CommerceCore
 0x939b000 -  0x939ffff  com.apple.AppleMPEG2Codec (1.0.2 - 220.1) <017135BD-3E54-30EC-9489-6ACADA56D51F> /Library/QuickTime/AppleMPEG2Codec.component/Contents/MacOS/AppleMPEG2Codec
 0x93a4000 -  0x93a7ff7 +??? (???) <AA4B258E-ECE0-2620-E00C-E1731CAB4632> (null)
 0x93ac000 -  0x93adfff + (???)
 0x93d8000 -  0x96c7fe3 +com.elgato.mpegsupport (EyeTV MPEG Support 1.5 [build 100] - 1.5) <7E66827F-2349-43FB-3D4B-A3955F8877C5> /Library/QuickTime/EyeTV MPEG Support.component/Contents/MacOS/EyeTV MPEG Support
 0xabfc000 -  0xabffff7 +??? (???) <CEDA1D51-685C-583A-D8D4-1D15261B96F5> (null)
 0xac1a000 -  0xac1affd  com.apple.applescript.component (2.3.2 - 348.3) <2FE5746C-6D63-30E9-B352-338D7C502CF6> /System/Library/Components/AppleScript.component/Contents/MacOS/AppleScript
 0xac22000 -  0xac22ffd +cl_kernels (???) <43299DA3-905E-4D06-B5CF-66B57CB8CB2B> cl_kernels
 0xac39000 -  0xac3cff7 + (???) <E23EFDA5-2DB3-AFD9-2559-F41584DF67F6> 
 0xac45000 -  0xad55ff7 +net.telestream.wmv.import (2.5.0.1 - 3.0.0.126) <6CB544CE-B60B-3BEE-954F-67BD9228B6C9> /Library/QuickTime/Flip4Mac WMV Import.component/Contents/MacOS/Flip4Mac WMV Import
 0xad85000 -  0xad97fff +net.telestream.license (1.1.0.1 -GC - 1.1.0.1 -GC) <DC7780FD-AAAC-310E-92D5-1B8E7AB20E8C> /Library/Frameworks/TSLicense.framework/Versions/A/TSLicense
 0xaddd000 -  0xaf9efef +net.telestream.wmv.advanced (2.5.0.1 - 3.0.0.126) <6D1AADBA-C72A-3B73-85B3-4D37C4083830> /Library/QuickTime/Flip4Mac WMV Advanced.component/Contents/MacOS/Flip4Mac WMV Advanced
 0xafe8000 -  0xb0c4fd7  com.apple.AppleProResDecoder (3.0.4 - 6305.11) <50F80B48-00A2-37F0-BE25-CD0258A474BE> /System/Library/QuickTime/AppleProResDecoder.component/Contents/MacOS/AppleProResDecoder
 0xb0cf000 -  0xb113ff7  com.apple.AppleVAH264HW.component (3.0 - 3.0) <3726A83A-9063-3119-876B-303F5057EBEF> /System/Library/QuickTime/AppleVAH264HW.component/Contents/MacOS/AppleVAH264HW
 0xb1d6000 -  0xb28bfff  com.apple.AppleGVAFramework (7.1.18 - 7.1.18) <EC6CEDAF-DDBE-34B5-91B4-55F56C28B43B> /System/Library/PrivateFrameworks/AppleGVA.framework/Versions/A/AppleGVA
 0xb29b000 -  0xb2d3ff7  com.apple.QuickTimeFireWireDV.component (7.7.3 - 2826.34) <9A32BB77-2848-3302-BFA5-82854EFE0D6D> /System/Library/QuickTime/QuickTimeFireWireDV.component/Contents/MacOS/QuickTimeFireWireDV
 0xb2df000 -  0xb311ff7  com.apple.AppleIntermediateCodec (2.0.2 - 6305.11) <397782CB-2454-37D5-A10C-B992A4E1D439> /Library/QuickTime/AppleIntermediateCodec.component/Contents/MacOS/AppleIntermediateCodec
 0xb319000 -  0xb332ff2  com.apple.applepixletvideo (1.2.31 - 1.2d31) <3691A649-1F8F-3C0A-89F4-5C2DD4E38EEC> /System/Library/QuickTime/ApplePixletVideo.component/Contents/MacOS/ApplePixletVideo
 0xb37c000 -  0xb37fff7 +??? (???) <4B4ABA7B-BF60-2D51-0F68-FDCCA2692DB8> (null)
 0xb383000 -  0xb384ff8  ATSHI.dylib (363.6) <47CAC930-F412-3D20-B605-590A39544A4C> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/ATSHI.dylib
 0xb38b000 -  0xb38fff7 + (???) <6475CFFE-80D1-882B-4EE8-4CA9D25D11EC>
 0xb3b9000 -  0xb3c2ff7 + (???) <D347FA8F-29F1-5CC6-9FF3-199F9C67E845>
 0xb3eb000 -  0xb3f0ff7 +
 (???) <08CF12A8-EB82-6CB6-3C24-69832158376B>
 0xb80e000 -  0xb81eff7  com.apple.AppleScriptObjC (1.3 - 26) <ECFF3CE0-9069-3F7E-968A-AFB616ED9F1B> /System/Library/Frameworks/AppleScriptObjC.framework/Versions/A/AppleScriptObjC
 0xb82a000 -  0xb82cfff +??? (???) (null)


All the best,

Alec
Externals, projects and software made with SC:
www.hairyhighlandcow.net/software/SC-projects.html
User avatar
HairyHighlandCow
 
Posts: 242
Joined: Sun Jul 06, 2008 1:45 pm
Location: London, UK

Re: Crash with new Combobox control

Postby codegreen » Thu Mar 16, 2017 11:29 am

This is crashing somewhere down inside the control's code for managing its focus region (which has likely received next to no testing, since I doubt many people ever managed to get it working in QuickDraw based window before). So off the top of my head I'm not sure what's wrong.

I'll let you know when I figure it out...

Thanks,
-Mark
codegreen
 
Posts: 1517
Joined: Mon Jul 14, 2008 11:03 pm


Return to Scripting in SuperTalk

Who is online

Users browsing this forum: No registered users and 1 guest

cron