Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SIGTRAP when 'none' is passed for preset property (alert) #12

Open
pekq opened this issue Aug 16, 2023 · 1 comment
Open

SIGTRAP when 'none' is passed for preset property (alert) #12

pekq opened this issue Aug 16, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@pekq
Copy link

pekq commented Aug 16, 2023

SIGTRAP when 'none' is passed for preset property (alert() function).
done, error and spinner works without issues.

"@baronha/ting": "1.1.0"
"react-native": "0.72.1"

To reproduce:

import { alert } from '@baronha/ting'

alert({
  title: 'title',
  message: 'message',
  preset: 'none'
})

Produces:

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libsystem_pthread.dylib       	       0x1b1833778 pthread_setspecific + 48
1   libobjc.A.dylib               	       0x18004da88 AutoreleasePoolPage::moveTLSAutoreleaseToPool(ReturnAutoreleaseInfo) + 164
2   libobjc.A.dylib               	       0x180050548 AutoreleasePoolPage::push() + 44
3   CoreFoundation                	       0x180446160 _CFAutoreleasePoolPush + 16
4   CoreFoundation                	       0x1804a981c -[__NSDictionaryM enumerateKeysAndObjectsWithOptions:usingBlock:] + 184
5   native                        	       0x104852198 -[RCTNativeAnimatedNodesManager updateAnimations] + 44 (RCTNativeAnimatedNodesManager.m:475)
6   native                        	       0x104851fc8 -[RCTNativeAnimatedNodesManager stepAnimations:] + 396 (RCTNativeAnimatedNodesManager.m:459)
7   QuartzCore                    	       0x187c5b84c CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) + 808
8   QuartzCore                    	       0x187d62084 display_timer_callback(__CFMachPort*, void*, long, void*) + 336
9   CoreFoundation                	       0x1803664f0 __CFMachPortPerform + 172
10  CoreFoundation                	       0x18039b35c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 56
11  CoreFoundation                	       0x18039a97c __CFRunLoopDoSource1 + 496
12  CoreFoundation                	       0x180394ed4 __CFRunLoopRun + 2152
13  CoreFoundation                	       0x180394254 CFRunLoopRunSpecific + 584
14  GraphicsServices              	       0x188eb7c9c GSEventRunModal + 160
15  UIKitCore                     	       0x11f882ff0 -[UIApplication _run] + 868
16  UIKitCore                     	       0x11f886f3c UIApplicationMain + 124
17  native                        	       0x104234b7c main + 96 (main.m:7)
18  dyld_sim                      	       0x108069514 start_sim + 20
19  dyld                          	       0x107e45e50 start + 2544
@baronha baronha added the bug Something isn't working label Aug 16, 2023
@baronha
Copy link
Owner

baronha commented Aug 16, 2023

I will check and fix it as soon as possible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants