Simon icon Simon
Flexible server monitoring

Simon suddenly hanging

Simon 3.4 Pro hung last night, and now hangs every time I start it up. When I start, it goes through each test and appears to be successful, but looking at the "app icon" shows all test failed (even though they report "up" in the interface) and Simon does nothing else except eat CPU time.

See SimonHang.txt for all console messages relating to Simon at the time mentioned. I have the "report" that get's submitted to Apple if needed. It's about 500K worth of logs, and contains way to much information to post "publicly" unless required.

I'm going to reboot the whole machine next, and see if that helps out at all.

Steve

AttachmentSize
SimonHang.txt8.97 KB
David Sinclair's picture

Re: Simon suddenly hanging

That log is helpful in pinpointing where the exception occurred, though doesn't indicate why.

It was processing change notifications for a Web-based test. So might be a damaged notifier?

Hopefully restarting will fix it. If not, we can investigate further.

Re: Simon suddenly hanging

Restarting didn't help. It is a damaged notifier I use to to test home network connectivity. It connects to www.google.com. At first I thought it was because little snitch was stopping it at client1.google.com, so I opened up Little Snitch to let Simon connect to anything on Port 80.

But it's still hanging on that test.

I've got screenshots of all the test definition panels if that'll help with anything. But I can't attach them to this comment. I can mail them to you if it'll help.

Steve

David Sinclair's picture

Re: Simon suddenly hanging

One thing you could try is to add a new notifier (not by duplicating), using the same settings. Then switch your test to that new notifier. That'd determine if there's something damaged in the notifier, or something else.

Re: Simon suddenly hanging

David,

I misread your reply, and created a whole new test using the same settings that the old test had. I called the same notifiers that the previous test used.

And it's working fine again.

If you're interested, I can send you the database as it exists now, with the "paused, bad test" for you to poke around in.

But as far as I'm concerned, this issue is resolved.

Steve

David Sinclair's picture

Re: Simon suddenly hanging

Thanks for the update; I'm glad its resolved.

I guess we can put it down to solar radiation or something. Sometimes data gets corrupted. Unless it happens again, I wouldn't worry too much.

Re: Simon suddenly hanging

So I lied. The new test is now hanging just like the old one. It gets to the network connectivity test (to www.google.com) and hangs. CPU usage on a dual-core spikes to almost full-usage by Simon. No ethernet traffic. But the test never stops, and it renders Simon useless (non-responsive). I have to "force-quit" it to get it back to normal.

Here's the information from the system console related to simon when it crashes/hangs.

5/7/12 9:01:04.423 AM Simon: NSUncaughtSystemExceptionException: Uncaught system exception: signal 8
5/7/12 9:01:05.505 AM [0x0-0x2c32c3].com.dejal.simon: 1 0xffffffff
5/7/12 9:01:05.505 AM [0x0-0x2c32c3].com.dejal.simon: 2 -[SiteData(Private) notifyWithCount:isError:] (in Simon) + 222
5/7/12 9:01:05.505 AM [0x0-0x2c32c3].com.dejal.simon: 3 -[SiteData(Private) succeededWithChange:outputText:] (in Simon) + 388
5/7/12 9:01:05.505 AM [0x0-0x2c32c3].com.dejal.simon: 4 -[SiteData(Private) didFinishPlugin] (in Simon) + 590
5/7/12 9:01:05.505 AM [0x0-0x2c32c3].com.dejal.simon: 5 -[NSObject(NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:modes:] (in Foundation) + 305
5/7/12 9:01:05.505 AM [0x0-0x2c32c3].com.dejal.simon: 6 -[NSObject(NSThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:] (in Foundation) + 160
5/7/12 9:01:05.505 AM [0x0-0x2c32c3].com.dejal.simon: 7 -[SiteData(Private) didFinishTestNotification:] (in Simon) + 141
5/7/12 9:01:05.505 AM [0x0-0x2c32c3].com.dejal.simon: 8 __-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_1 (in Foundation) + 49
5/7/12 9:01:05.505 AM [0x0-0x2c32c3].com.dejal.simon: 9 ___CFXNotificationPost_block_invoke_1 (in CoreFoundation) + 275
5/7/12 9:01:05.505 AM [0x0-0x2c32c3].com.dejal.simon: 10 _CFXNotificationPost (in CoreFoundation) + 2776
5/7/12 9:01:05.505 AM [0x0-0x2c32c3].com.dejal.simon: 11 -[NSNotificationCenter postNotificationName:object:userInfo:] (in Foundation) + 92
5/7/12 9:01:05.505 AM [0x0-0x2c32c3].com.dejal.simon: 12 -[NSNotificationCenter postNotificationName:object:] (in Foundation) + 55
5/7/12 9:01:05.505 AM [0x0-0x2c32c3].com.dejal.simon: 13 -[URLElementData cleanup] (in Web) + 214
5/7/12 9:01:05.505 AM [0x0-0x2c32c3].com.dejal.simon: 14 -[URLElementData connectionDidFinishLoading:] (in Web) + 498
5/7/12 9:01:05.505 AM [0x0-0x2c32c3].com.dejal.simon: 15 -[NSURLConnection(NSURLConnectionReallyInternal) sendDidFinishLoading] (in Foundation) + 83
5/7/12 9:01:05.505 AM [0x0-0x2c32c3].com.dejal.simon: 16 ___NSURLConnectionDidFinishLoading_block_invoke_1 (in Foundation) + 126
5/7/12 9:01:05.505 AM [0x0-0x2c32c3].com.dejal.simon: 17 -[NSURLConnection(NSURLConnectionReallyInternal) delegatePerform:] (in Foundation) + 36
5/7/12 9:01:05.505 AM [0x0-0x2c32c3].com.dejal.simon: 18 _NSURLConnectionDidFinishLoading (in Foundation) + 84
5/7/12 9:01:05.505 AM [0x0-0x2c32c3].com.dejal.simon: 19 URLConnectionClient::_clientDidFinishLoading(URLConnectionClient::ClientConnectionEventQueue*) (in CFNetwork) + 289
5/7/12 9:01:05.505 AM [0x0-0x2c32c3].com.dejal.simon: 20 URLConnectionClient::ClientConnectionEventQueue::processAllEventsAndConsumePayload(XConnectionEventInfo*, long) (in CFNetwork) + 925
5/7/12 9:01:05.505 AM [0x0-0x2c32c3].com.dejal.simon: 21 URLConnectionClient::processEvents() (in CFNetwork) + 174
5/7/12 9:01:05.505 AM [0x0-0x2c32c3].com.dejal.simon: 22 non-virtual thunk to URLConnectionInstanceData::multiplexerClientPerform() (in CFNetwork) + 21
5/7/12 9:01:05.505 AM [0x0-0x2c32c3].com.dejal.simon: 23 MultiplexerSource::perform() (in CFNetwork) + 244
5/7/12 9:01:05.505 AM [0x0-0x2c32c3].com.dejal.simon: 24 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ (in CoreFoundation) + 15
5/7/12 9:01:05.505 AM [0x0-0x2c32c3].com.dejal.simon: 25 __CFRunLoopDoSources0 (in CoreFoundation) + 246
5/7/12 9:01:05.505 AM [0x0-0x2c32c3].com.dejal.simon: 26 __CFRunLoopRun (in CoreFoundation) + 1112
5/7/12 9:01:05.505 AM [0x0-0x2c32c3].com.dejal.simon: 27 CFRunLoopRunSpecific (in CoreFoundation) + 332
5/7/12 9:01:05.505 AM [0x0-0x2c32c3].com.dejal.simon: 28 CFRunLoopRunInMode (in CoreFoundation) + 120
5/7/12 9:01:05.505 AM [0x0-0x2c32c3].com.dejal.simon: 29 RunCurrentEventLoopInMode (in HIToolbox) + 318
5/7/12 9:01:05.505 AM [0x0-0x2c32c3].com.dejal.simon: 30 ReceiveNextEventCommon (in HIToolbox) + 381
5/7/12 9:01:05.505 AM [0x0-0x2c32c3].com.dejal.simon: 31 BlockUntilNextEventMatchingListInMode (in HIToolbox) + 88
5/7/12 9:01:05.505 AM [0x0-0x2c32c3].com.dejal.simon: 32 _DPSNextEvent (in AppKit) + 678
5/7/12 9:01:05.505 AM [0x0-0x2c32c3].com.dejal.simon: 33 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit) + 113
5/7/12 9:01:05.505 AM [0x0-0x2c32c3].com.dejal.simon: 34 -[NSApplication run] (in AppKit) + 911
5/7/12 9:01:05.506 AM [0x0-0x2c32c3].com.dejal.simon: 35 NSApplicationMain (in AppKit) + 1054
5/7/12 9:01:05.506 AM Simon: Uncaught system exception: signal 8
5/7/12 9:01:05.508 AM Simon: (
0 CoreFoundation 0x99bceb67 __raiseError + 231
1 libobjc.A.dylib 0x9654f149 objc_exception_throw + 155
2 ExceptionHandling 0x00251f08 -[NSExceptionHandler _handleException:mask:] + 1422
3 ExceptionHandling 0x00251972 -[NSExceptionHandler _createAndHandleUncaughtSystemExceptionWithSignal:pc:sp:] + 277
4 ExceptionHandling 0x002522fd NSExceptionHandlerUncaughtSignalHandler + 60
5 libsystem_c.dylib 0x99d1959b _sigtramp + 43
6 ??? 0xffffffff 0x0 + 4294967295
7 Simon 0x0001c1a0 -[SiteData(Private) notifyWithCount:isError:] + 222
8 Simon 0x00024b46 -[SiteData(Private) succeededWithChange:outputText:] + 388
9 Simon 0x0001c6e9 -[SiteData(Private) didFinishPlugin] + 590
10 Foundation 0x99761481 -[NSObject(NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:modes:] + 305
11 Foundation 0x997612ba -[NSObject(NSThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:] + 160
12 Simon 0x0001cdf9 -[SiteData(Private) didFinishTestNotification:] + 141
13 Foundation 0x99724e25 __-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_1 + 49
14 CoreFoundation 0x99b0ecb3 ___CFXNotificationPost_block_invoke_1 + 275
15 CoreFoundation 0x99ad9a38 _CFXNotificationPost + 2776
16 Foundation 0x99710012 -[NSNotificationCenter postNotificationName:object:userInfo:] + 92
17 Foundation 0x997252a6 -[NSNotificationCenter postNotificationName:object:] + 55
18 Web 0x047c9748 -[URLElementData cleanup] + 214
19 Web 0x047c8f51 -[URLElementData connectionDidFinishLoading:] + 498
20 Foundation 0x9977b8d9 -[NSURLConnection(NSURLConnectionReallyInternal) sendDidFinishLoading] + 83
21 Foundation 0x9977b857 ___NSURLConnectionDidFinishLoading_block_invoke_1 + 126
22 Foundation 0x99779d54 -[NSURLConnection(NSURLConnectionReallyInternal) delegatePerform:] + 36
23 Foundation 0x9977b7d4 _NSURLConnectionDidFinishLoading + 84
24 CFNetwork 0x989efc29 _ZN19URLConnectionClient23_clientDidFinishLoadingEPNS_26ClientConnectionEventQueueE + 289
25 CFNetwork 0x98aa798d _ZN19URLConnectionClient26ClientConnectionEventQueue33processAllEventsAndConsumePayloadEP20XConnectionEventInfoI12XClientEvent18XClientEventParamsEl + 925
26 CFNetwork 0x989c9c20 _ZN19URLConnectionClient13processEventsEv + 174
27 CFNetwork 0x98aa72b1 _ZThn52_N25URLConnectionInstanceData24multiplexerClientPerformEv + 21
28 CFNetwork 0x989c9ada _ZN17MultiplexerSource7performEv + 244
29 CoreFoundation 0x99a9b3df __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
30 CoreFoundation 0x99a9ad96 __CFRunLoopDoSources0 + 246
31 CoreFoundation 0x99ac4c68 __CFRunLoopRun + 1112
32 CoreFoundation 0x99ac447c CFRunLoopRunSpecific + 332
33 CoreFoundation 0x99ac4328 CFRunLoopRunInMode + 120
34 HIToolbox 0x9568417f RunCurrentEventLoopInMode + 318
35 HIToolbox 0x9568b4e7 ReceiveNextEventCommon + 381
36 HIToolbox 0x9568b356 BlockUntilNextEventMatchingListInMode + 88
37 AppKit 0x966f8a9c _DPSNextEvent + 678
38 AppKit 0x966f8306 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 113
39 AppKit 0x966f4675 -[NSApplication run] + 911
40 AppKit 0x96988261 NSApplicationMain + 1054
41 Simon 0x00002206 start + 54
)
5/7/12 9:01:05.509 AM Simon: Pantomime: Connected!
5/7/12 9:01:05.644 AM Simon: Pantomime: Sending the message...
5/7/12 9:01:06.119 AM Simon: Pantomime: Sent!
Closing the connection.
5/7/12 9:01:06.178 AM Simon: Pantomime: Connection closed.

David Sinclair's picture

Re: Simon suddenly hanging

Okay, that looks the same as before. Are you using the same old notifier with the new test? If so, try re-creating the notifier, as previously suggested. Perhaps try the test without any notifiers, too, to confirm that it works fine in that situation. But the hang long definitely looks like an issue with a notifier.