123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699 |
- import {EventEntryFixture} from 'sentry-fixture/eventEntry';
- import {type Entry, EntryType} from 'sentry/types';
- export function Entries123Target(): Entry[] {
- return [
- EventEntryFixture({
- type: EntryType.EXCEPTION,
- data: {
- values: [
- {
- stacktrace: {
- frames: [
- {
- function: null,
- colNo: null,
- vars: {},
- symbol: null,
- module: '<unknown module>',
- lineNo: null,
- package: null,
- absPath:
- 'https://sentry.io/hiventy/kraken-prod/issues/438681831/?referrer=slack#',
- inApp: false,
- instructionAddr: null,
- filename: '/hiventy/kraken-prod/issues/438681831/',
- platform: null,
- context: [],
- symbolAddr: null,
- },
- ],
- framesOmitted: null,
- registers: null,
- hasSystemFrames: false,
- },
- module: null,
- rawStacktrace: null,
- mechanism: null,
- threadId: null,
- value: 'Unexpected token else',
- type: 'SyntaxError',
- },
- ],
- excOmitted: null,
- hasSystemFrames: false,
- },
- }),
- EventEntryFixture({
- type: EntryType.THREADS,
- data: {
- values: [
- {
- stacktrace: {
- frames: [
- {
- function: 'start',
- package: 'libdyld.dylib',
- image_addr: '0x7fff20256000',
- in_app: true,
- symbol_addr: '0x7fff20257408',
- data: {},
- instruction_addr: '0x7fff20257409',
- },
- {
- function: 'main',
- package: 'iOS-Swift',
- symbol: 'main',
- image_addr: '0x10e68f000',
- in_app: true,
- symbol_addr: '0x10e693440',
- data: {},
- instruction_addr: '0x10e69348a',
- },
- {
- function: 'UIApplicationMain',
- package: 'UIKitCore',
- image_addr: '0x7fff23a83000',
- in_app: true,
- symbol_addr: '0x7fff246722bb',
- data: {},
- instruction_addr: '0x7fff24672320',
- },
- {
- function: '-[UIApplication _run]',
- package: 'UIKitCore',
- symbol: '-[UIApplication _run]',
- image_addr: '0x7fff23a83000',
- in_app: true,
- symbol_addr: '0x7fff2466d07f',
- data: {},
- instruction_addr: '0x7fff2466d40f',
- },
- {
- function: 'GSEventRunModal',
- package: 'GraphicsServices',
- image_addr: '0x7fff2b790000',
- in_app: true,
- symbol_addr: '0x7fff2b793d28',
- data: {},
- instruction_addr: '0x7fff2b793db3',
- },
- {
- function: 'CFRunLoopRunSpecific',
- package: 'CoreFoundation',
- image_addr: '0x7fff20329000',
- in_app: true,
- symbol_addr: '0x7fff203a1967',
- data: {},
- instruction_addr: '0x7fff203a1b9e',
- },
- {
- function: '__CFRunLoopRun',
- package: 'CoreFoundation',
- image_addr: '0x7fff20329000',
- in_app: true,
- symbol_addr: '0x7fff203a2089',
- data: {},
- instruction_addr: '0x7fff203a23f7',
- },
- {
- function: '__CFRunLoopDoSources0',
- package: 'CoreFoundation',
- image_addr: '0x7fff20329000',
- in_app: true,
- symbol_addr: '0x7fff203a7b27',
- data: {},
- instruction_addr: '0x7fff203a7c1f',
- },
- {
- function: '__CFRunLoopDoSource0',
- package: 'CoreFoundation',
- image_addr: '0x7fff20329000',
- in_app: true,
- symbol_addr: '0x7fff203a8689',
- data: {},
- instruction_addr: '0x7fff203a873d',
- },
- {
- function: '__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__',
- package: 'CoreFoundation',
- image_addr: '0x7fff20329000',
- in_app: true,
- symbol_addr: '0x7fff203a8834',
- data: {},
- instruction_addr: '0x7fff203a8845',
- },
- {
- function: '__eventFetcherSourceCallback',
- package: 'UIKitCore',
- image_addr: '0x7fff23a83000',
- in_app: true,
- symbol_addr: '0x7fff24712c68',
- data: {},
- instruction_addr: '0x7fff24712cd0',
- },
- {
- function: '__processEventQueue',
- package: 'UIKitCore',
- image_addr: '0x7fff23a83000',
- in_app: true,
- symbol_addr: '0x7fff24718cf3',
- data: {},
- instruction_addr: '0x7fff2471c33a',
- },
- {
- function: '-[UIApplicationAccessibility sendEvent:]',
- package: 'UIKit',
- symbol: '-[UIApplicationAccessibility sendEvent:]',
- image_addr: '0x110b5e000',
- in_app: true,
- symbol_addr: '0x110b8799d',
- data: {},
- instruction_addr: '0x110b879f2',
- },
- {
- function: '-[UIApplication sendEvent:]',
- package: 'UIKitCore',
- symbol: '-[UIApplication sendEvent:]',
- image_addr: '0x7fff23a83000',
- in_app: true,
- symbol_addr: '0x7fff2468ba19',
- data: {},
- instruction_addr: '0x7fff2468bc92',
- },
- {
- function: '-[UIWindow sendEvent:]',
- package: 'UIKitCore',
- symbol: '-[UIWindow sendEvent:]',
- image_addr: '0x7fff23a83000',
- in_app: true,
- symbol_addr: '0x7fff246b0eb9',
- data: {},
- instruction_addr: '0x7fff246b215f',
- },
- {
- function: '-[UIWindow _sendTouchesForEvent:]',
- package: 'UIKitCore',
- symbol: '-[UIWindow _sendTouchesForEvent:]',
- image_addr: '0x7fff23a83000',
- in_app: true,
- symbol_addr: '0x7fff246afddf',
- data: {},
- instruction_addr: '0x7fff246b02e6',
- },
- {
- function: '-[UIControl touchesEnded:withEvent:]',
- package: 'UIKitCore',
- symbol: '-[UIControl touchesEnded:withEvent:]',
- image_addr: '0x7fff23a83000',
- in_app: true,
- symbol_addr: '0x7fff23f9e644',
- data: {},
- instruction_addr: '0x7fff23f9e838',
- },
- {
- function: '-[UIControl _sendActionsForEvents:withEvent:]',
- package: 'UIKitCore',
- symbol: '-[UIControl _sendActionsForEvents:withEvent:]',
- image_addr: '0x7fff23a83000',
- in_app: true,
- symbol_addr: '0x7fff23f9fe03',
- data: {},
- instruction_addr: '0x7fff23f9ff4f',
- },
- {
- function: '-[UIControl sendAction:to:forEvent:]',
- package: 'UIKitCore',
- symbol: '-[UIControl sendAction:to:forEvent:]',
- image_addr: '0x7fff23a83000',
- in_app: true,
- symbol_addr: '0x7fff23f9fb4d',
- data: {},
- instruction_addr: '0x7fff23f9fc2c',
- },
- {
- function:
- '__44-[SentryBreadcrumbTracker swizzleSendAction]_block_invoke_2',
- package: 'Sentry',
- symbol:
- '__44-[SentryBreadcrumbTracker swizzleSendAction]_block_invoke_2',
- image_addr: '0x10e90f000',
- in_app: false,
- symbol_addr: '0x10e951350',
- data: {},
- instruction_addr: '0x10e9518e9',
- },
- {
- function: '-[UIApplication sendAction:to:from:forEvent:]',
- package: 'UIKitCore',
- symbol: '-[UIApplication sendAction:to:from:forEvent:]',
- image_addr: '0x7fff23a83000',
- in_app: true,
- symbol_addr: '0x7fff24673978',
- data: {},
- instruction_addr: '0x7fff246739cb',
- },
- {
- function: 'ViewController.captureNSException',
- package: 'iOS-Swift',
- symbol: '$s9iOS_Swift14ViewControllerC18captureNSExceptionyyypFTo',
- image_addr: '0x10e68f000',
- in_app: true,
- symbol_addr: '0x10e692290',
- raw_function: '@objc ViewController.captureNSException(_:)',
- data: {},
- instruction_addr: '0x10e6922df',
- },
- {
- function: 'ViewController.captureNSException',
- package: 'iOS-Swift',
- symbol: '$s9iOS_Swift14ViewControllerC18captureNSExceptionyyypF',
- image_addr: '0x10e68f000',
- in_app: true,
- symbol_addr: '0x10e691e60',
- raw_function: 'ViewController.captureNSException(_:)',
- data: {},
- instruction_addr: '0x10e691fd8',
- },
- ],
- },
- name: '',
- current: true,
- crashed: true,
- state: 'RUNNABLE',
- raw_stacktrace: {
- frames: [
- {
- function: 'start',
- package: 'libdyld.dylib',
- image_addr: '0x7fff20256000',
- in_app: true,
- symbol_addr: '0x7fff20257408',
- instruction_addr: '0x7fff20257409',
- },
- {
- function: 'main',
- package: 'iOS-Swift',
- image_addr: '0x10e68f000',
- in_app: true,
- symbol_addr: '0x10e693440',
- instruction_addr: '0x10e69348b',
- },
- {
- function: 'UIApplicationMain',
- package: 'UIKitCore',
- image_addr: '0x7fff23a83000',
- in_app: true,
- symbol_addr: '0x7fff246722bb',
- instruction_addr: '0x7fff24672320',
- },
- {
- function: '-[UIApplication _run]',
- package: 'UIKitCore',
- image_addr: '0x7fff23a83000',
- in_app: true,
- symbol_addr: '0x7fff2466d07f',
- instruction_addr: '0x7fff2466d40f',
- },
- {
- function: 'GSEventRunModal',
- package: 'GraphicsServices',
- image_addr: '0x7fff2b790000',
- in_app: true,
- symbol_addr: '0x7fff2b793d28',
- instruction_addr: '0x7fff2b793db3',
- },
- {
- function: 'CFRunLoopRunSpecific',
- package: 'CoreFoundation',
- image_addr: '0x7fff20329000',
- in_app: true,
- symbol_addr: '0x7fff203a1967',
- instruction_addr: '0x7fff203a1b9e',
- },
- {
- function: '__CFRunLoopRun',
- package: 'CoreFoundation',
- image_addr: '0x7fff20329000',
- in_app: true,
- symbol_addr: '0x7fff203a2089',
- instruction_addr: '0x7fff203a23f7',
- },
- {
- function: '__CFRunLoopDoSources0',
- package: 'CoreFoundation',
- image_addr: '0x7fff20329000',
- in_app: true,
- symbol_addr: '0x7fff203a7b27',
- instruction_addr: '0x7fff203a7c1f',
- },
- {
- function: '__CFRunLoopDoSource0',
- package: 'CoreFoundation',
- image_addr: '0x7fff20329000',
- in_app: true,
- symbol_addr: '0x7fff203a8689',
- instruction_addr: '0x7fff203a873d',
- },
- {
- function: '__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__',
- package: 'CoreFoundation',
- image_addr: '0x7fff20329000',
- in_app: true,
- symbol_addr: '0x7fff203a8834',
- instruction_addr: '0x7fff203a8845',
- },
- {
- function: '__eventFetcherSourceCallback',
- package: 'UIKitCore',
- image_addr: '0x7fff23a83000',
- in_app: true,
- symbol_addr: '0x7fff24712c68',
- instruction_addr: '0x7fff24712cd0',
- },
- {
- function: '__processEventQueue',
- package: 'UIKitCore',
- image_addr: '0x7fff23a83000',
- in_app: true,
- symbol_addr: '0x7fff24718cf3',
- instruction_addr: '0x7fff2471c33a',
- },
- {
- function: '-[UIApplicationAccessibility sendEvent:]',
- package: 'UIKit',
- image_addr: '0x110b5e000',
- in_app: true,
- symbol_addr: '0x110b8799d',
- instruction_addr: '0x110b879f2',
- },
- {
- function: '-[UIApplication sendEvent:]',
- package: 'UIKitCore',
- image_addr: '0x7fff23a83000',
- in_app: true,
- symbol_addr: '0x7fff2468ba19',
- instruction_addr: '0x7fff2468bc92',
- },
- {
- function: '-[UIWindow sendEvent:]',
- package: 'UIKitCore',
- image_addr: '0x7fff23a83000',
- in_app: true,
- symbol_addr: '0x7fff246b0eb9',
- instruction_addr: '0x7fff246b215f',
- },
- {
- function: '-[UIWindow _sendTouchesForEvent:]',
- package: 'UIKitCore',
- image_addr: '0x7fff23a83000',
- in_app: true,
- symbol_addr: '0x7fff246afddf',
- instruction_addr: '0x7fff246b02e6',
- },
- {
- function: '-[UIControl touchesEnded:withEvent:]',
- package: 'UIKitCore',
- image_addr: '0x7fff23a83000',
- in_app: true,
- symbol_addr: '0x7fff23f9e644',
- instruction_addr: '0x7fff23f9e838',
- },
- {
- function: '-[UIControl _sendActionsForEvents:withEvent:]',
- package: 'UIKitCore',
- image_addr: '0x7fff23a83000',
- in_app: true,
- symbol_addr: '0x7fff23f9fe03',
- instruction_addr: '0x7fff23f9ff4f',
- },
- {
- function: '-[UIControl sendAction:to:forEvent:]',
- package: 'UIKitCore',
- image_addr: '0x7fff23a83000',
- in_app: true,
- symbol_addr: '0x7fff23f9fb4d',
- instruction_addr: '0x7fff23f9fc2c',
- },
- {
- function:
- '__44-[SentryBreadcrumbTracker swizzleSendAction]_block_invoke_2',
- package: 'Sentry',
- image_addr: '0x10e90f000',
- in_app: false,
- symbol_addr: '0x10e951350',
- instruction_addr: '0x10e9518ea',
- },
- {
- function: '-[UIApplication sendAction:to:from:forEvent:]',
- package: 'UIKitCore',
- image_addr: '0x7fff23a83000',
- in_app: true,
- symbol_addr: '0x7fff24673978',
- instruction_addr: '0x7fff246739cb',
- },
- {
- function: '$s9iOS_Swift14ViewControllerC18captureNSExceptionyyypFTo',
- package: 'iOS-Swift',
- image_addr: '0x10e68f000',
- in_app: true,
- symbol_addr: '0x10e692290',
- instruction_addr: '0x10e6922e0',
- },
- {
- function: '$s9iOS_Swift14ViewControllerC18captureNSExceptionyyypF',
- package: 'iOS-Swift',
- image_addr: '0x10e68f000',
- in_app: true,
- symbol_addr: '0x10e691e60',
- instruction_addr: '0x10e691fd8',
- },
- ],
- },
- id: 0,
- },
- {
- current: false,
- crashed: false,
- id: 1,
- name: '',
- state: 'BLOCKED',
- },
- {
- current: false,
- crashed: false,
- id: 2,
- state: 'WAITING',
- name: '',
- },
- {
- current: false,
- crashed: false,
- id: 3,
- state: 'WAITING',
- name: 'com.apple.uikit.eventfetch-thread',
- },
- {
- current: false,
- crashed: false,
- id: 4,
- state: 'WAITING',
- name: '',
- },
- {
- current: false,
- crashed: false,
- id: 5,
- state: 'WAITING',
- name: '',
- },
- {
- current: false,
- crashed: false,
- id: 6,
- state: 'WAITING',
- name: '',
- },
- {
- current: false,
- crashed: false,
- id: 7,
- state: 'WAITING',
- name: 'com.apple.NSURLConnectionLoader',
- },
- ],
- },
- }),
- EventEntryFixture({
- type: EntryType.BREADCRUMBS,
- data: {
- values: [
- {
- category: 'xhr',
- level: 'info',
- event_id: null,
- timestamp: '2018-01-23T08:12:53.591Z',
- data: {
- url: 'https://reload.getsentry.net/page/',
- status_code: '201',
- method: 'POST',
- },
- message: null,
- type: 'http',
- },
- {
- category: 'xhr',
- level: 'info',
- event_id: null,
- timestamp: '2018-01-23T08:12:53.636Z',
- data: {
- url: '/api/0/organizations/?member=1',
- status_code: '200',
- method: 'GET',
- },
- message: null,
- type: 'http',
- },
- {
- category: 'xhr',
- level: 'info',
- event_id: null,
- timestamp: '2018-01-23T08:12:53.895Z',
- data: {url: '/api/0/internal/health/', status_code: '403', method: 'GET'},
- message: null,
- type: 'http',
- },
- ],
- },
- }),
- EventEntryFixture({
- type: EntryType.REQUEST,
- data: {
- fragment: '',
- cookies: [],
- inferredContentType: null,
- env: null,
- headers: [
- ['Referer', '[Filtered]'],
- [
- 'User-Agent',
- 'Mozilla/5.0 (Linux; Android 7.0; ONEPLUS A3003 Build/NRD90M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/56.0.2924.87 Mobile Safari/537.36',
- ],
- ],
- url: 'https://sentry.io/hiventy/kraken-prod/issues/438681831/',
- query: 'referrer=slack',
- data: null,
- method: null,
- },
- }),
- ];
- }
- export function Entries123Base(): Entry[] {
- return [
- EventEntryFixture({
- type: EntryType.EXCEPTION,
- data: {
- values: [
- {
- stacktrace: {
- frames: [
- {
- function: null,
- colNo: null,
- vars: {},
- symbol: null,
- module: '<unknown module>',
- lineNo: null,
- package: null,
- absPath:
- 'https://sentry.io/hiventy/kraken-prod/issues/438681831/?referrer=slack#',
- inApp: false,
- instructionAddr: null,
- filename: '/hiventy/kraken-prod/issues/438681831/',
- platform: null,
- context: [],
- symbolAddr: null,
- },
- ],
- framesOmitted: null,
- registers: null,
- hasSystemFrames: false,
- },
- module: null,
- rawStacktrace: null,
- mechanism: null,
- threadId: null,
- value: 'Unexpected token else',
- type: 'SyntaxError',
- },
- ],
- excOmitted: null,
- hasSystemFrames: false,
- },
- }),
- EventEntryFixture({
- type: EntryType.BREADCRUMBS,
- data: {
- values: [
- {
- category: 'xhr',
- level: 'info',
- event_id: null,
- timestamp: '2018-01-23T08:12:53.591Z',
- data: {
- url: 'https://reload.getsentry.net/page/',
- status_code: '201',
- method: 'POST',
- },
- message: null,
- type: 'http',
- },
- {
- category: 'xhr',
- level: 'info',
- event_id: null,
- timestamp: '2018-01-23T08:12:53.636Z',
- data: {
- url: '/api/0/organizations/?member=1',
- status_code: '200',
- method: 'GET',
- },
- message: null,
- type: 'http',
- },
- {
- category: 'xhr',
- level: 'info',
- event_id: null,
- timestamp: '2018-01-23T08:12:53.895Z',
- data: {url: '/api/0/internal/health/', status_code: '403', method: 'GET'},
- message: null,
- type: 'http',
- },
- ],
- },
- }),
- EventEntryFixture({
- type: EntryType.REQUEST,
- data: {
- fragment: '',
- cookies: [],
- inferredContentType: null,
- env: null,
- headers: [
- ['Referer', '[Filtered]'],
- [
- 'User-Agent',
- 'Mozilla/5.0 (Linux; Android 7.0; ONEPLUS A3003 Build/NRD90M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/56.0.2924.87 Mobile Safari/537.36',
- ],
- ],
- url: 'https://sentry.io/hiventy/kraken-prod/issues/438681831/',
- query: 'referrer=slack',
- data: null,
- method: null,
- },
- }),
- ];
- }
|