cloudy cloudy

Author Topic: App is crashing lately  (Read 1194 times)

0 Members and 1 Guest are viewing this topic.

Offline rigger3

  • Posts: 50
    • dseannixon
  • OS/Browser:
  • iOS 12.3
  • Safari 12.1.1
App is crashing lately
« on: April 03, 2019, 02:02:31 AM »
Hi Brian,

The app has be crashing lately. Here is end details from the last crash. It has been happening every couple of weeks.

Thanks,

Sean

Process:               weatherdisplay [425]
Path:                  /Applications/weatherdisplay.app/Contents/MacOS/weatherdisplay
Identifier:            weatherdisplay
Version:               1.0 (1.0.0)
Code Type:             X86 (Native)
Parent Process:        ??? [1]
Responsible:           weatherdisplay [425]
User ID:               501

Date/Time:             2019-04-02 18:51:57.476 -0700
OS Version:            Mac OS X 10.13.6 (17G5019)
Report Version:        12
Anonymous UUID:        00493AE1-2897-9592-7AE2-23587460C58C


Time Awake Since Boot: 180000 seconds

System Integrity Protection: enabled

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

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_PROTECTION_FAILURE at 0x00000000bf7fff24
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler


VM Regions Near 0xbf7fff24:
    Stack                  00000000b0b13000-00000000b0b94000 [  516K] rw-/rwx SM=COW 
--> Stack Guard            00000000bc000000-00000000bf800000 [ 56.0M] ---/rwx SM=NUL 
    Stack                  00000000bf800000-00000000bfff6000 [ 8152K] rw-/rwx SM=COW 

Application Specific Information:
BUG IN CLIENT OF LIBDISPATCH: Semaphore object deallocated while in use

Thread 1:
0   libsystem_kernel.dylib           0xa73e4402 mach_msg_trap + 10
1   libsystem_kernel.dylib           0xa73e3a3f mach_msg + 47
2   weatherdisplay                   0x00043af9 _dbk_fcall_wrapper + 82533
3   libsystem_pthread.dylib          0xa75a34d5 _pthread_body + 347
4   libsystem_pthread.dylib          0xa75a337a _pthread_start + 357
5   libsystem_pthread.dylib          0xa75a2a56 thread_start + 34

Thread 2:
0   libsystem_kernel.dylib           0xa73edd4e __psynch_cvwait + 10
1   libsystem_pthread.dylib          0xa75a443c _pthread_cond_wait + 658
2   libsystem_pthread.dylib          0xa75a608c pthread_cond_wait$UNIX2003 + 51
3   libc++.1.dylib                   0xa56a8669 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 39
4   com.apple.JavaScriptCore         0x9644e32a void std::__1::condition_variable_any::wait<std::__1::unique_lock<bmalloc::Mutex> >(std::__1::unique_lock<bmalloc::Mutex>&) + 90
5   com.apple.JavaScriptCore         0x9644dfcc bmalloc::Scavenger::threadRunLoop() + 252
6   com.apple.JavaScriptCore         0x9644ddc1 bmalloc::Scavenger::threadEntryPoint(bmalloc::Scavenger*) + 17
7   com.apple.JavaScriptCore         0x9644e11f void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(bmalloc::Scavenger*), bmalloc::Scavenger*> >(void*) + 47
8   libsystem_pthread.dylib          0xa75a34d5 _pthread_body + 347
9   libsystem_pthread.dylib          0xa75a337a _pthread_start + 357
10  libsystem_pthread.dylib          0xa75a2a56 thread_start + 34

Thread 3:: com.apple.NSEventThread
0   libsystem_kernel.dylib           0xa73e4402 mach_msg_trap + 10
1   libsystem_kernel.dylib           0xa73e3a3f mach_msg + 47
2   com.apple.CoreFoundation         0x9377f9b8 __CFRunLoopServiceMachPort + 296
3   com.apple.CoreFoundation         0x9377e9a6 __CFRunLoopRun + 2262
4   com.apple.CoreFoundation         0x9377dda1 CFRunLoopRunSpecific + 641
5   com.apple.CoreFoundation         0x9377db0a CFRunLoopRunInMode + 122
6   com.apple.AppKit                 0x914aa580 _NSEventThread + 165
7   libsystem_pthread.dylib          0xa75a34d5 _pthread_body + 347
8   libsystem_pthread.dylib          0xa75a337a _pthread_start + 357
9   libsystem_pthread.dylib          0xa75a2a56 thread_start + 34

Thread 4:
0   libsystem_kernel.dylib           0xa73ee716 __workq_kernreturn + 10
1   libsystem_pthread.dylib          0xa75a2e39 _pthread_wqthread + 992
2   libsystem_pthread.dylib          0xa75a2a32 start_wqthread + 34

Thread 5:
0   libsystem_kernel.dylib           0xa73ee716 __workq_kernreturn + 10
1   libsystem_pthread.dylib          0xa75a2e64 _pthread_wqthread + 1035
2   libsystem_pthread.dylib          0xa75a2a32 start_wqthread + 34

Thread 6:
0   libsystem_kernel.dylib           0xa73ee716 __workq_kernreturn + 10
1   libsystem_pthread.dylib          0xa75a3059 _pthread_wqthread + 1536
2   libsystem_pthread.dylib          0xa75a2a32 start_wqthread + 34

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0x00000000  ebx: 0x00000000  ecx: 0x00000200  edx: 0xbf80039c
  edi: 0x00032ee8  esi: 0xbf80039c  ebp: 0xbf800338  esp: 0xbf7fff28
   ss: 0x00000023  efl: 0x00210287  eip: 0x00030ef1   cs: 0x0000001b
   ds: 0x00000023   es: 0x00000023   fs: 0x00000000   gs: 0x0000000f
  cr2: 0xbf7fff24
 
Logical CPU:     2
Error Code:      0x00000006
Trap Number:     14
Mac mini
MacOS 10.13.6
Processor 2.3GHz Intel Core i5
Memory 8 GB RAM
Davis VP 2 6163

Offline rigger3

  • Posts: 50
    • dseannixon
  • OS/Browser:
  • Mac OS X 10.13.6
  • Safari 12.1
Re: App is crashing lately
« Reply #1 on: April 05, 2019, 12:50:09 AM »
Downloading the lastest version that was update 4-4-19. I will let you know if it happens again.

Thanks
Mac mini
MacOS 10.13.6
Processor 2.3GHz Intel Core i5
Memory 8 GB RAM
Davis VP 2 6163

Offline Weather Display

  • Posts: 87,458
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Android 7.1.1
  • Chrome 73.0.3683.90
    • Weather Display
Re: App is crashing lately
« Reply #2 on: April 05, 2019, 02:44:00 AM »
one solution is to restart it every few days maybe

Offline rigger3

  • Posts: 50
    • dseannixon
  • OS/Browser:
  • Mac OS X 10.13.6
  • Safari 12.1
Re: App is crashing lately
« Reply #3 on: April 05, 2019, 09:53:29 PM »
Did you see this in the crash notes:

Application Specific Information:
BUG IN CLIENT OF LIBDISPATCH: Semaphore object deallocated while in use
« Last Edit: April 07, 2019, 03:27:39 PM by rigger3 »
Mac mini
MacOS 10.13.6
Processor 2.3GHz Intel Core i5
Memory 8 GB RAM
Davis VP 2 6163

Offline rigger3

  • Posts: 50
    • dseannixon
  • OS/Browser:
  • iOS 12.3
  • Safari 12.1.1
Re: App is crashing lately
« Reply #4 on: April 27, 2019, 02:00:29 PM »
Hi Brian,

I have been trying your suggest of restarting the app. The crashes are still happening.

They are at very specific time. 12am and 12pm. I am still getting the same error message of:

Application Specific Information:
BUG IN CLIENT OF LIBDISPATCH: Semaphore object deallocated while in use

Any suggestions?

Thanks,

Sean
Mac mini
MacOS 10.13.6
Processor 2.3GHz Intel Core i5
Memory 8 GB RAM
Davis VP 2 6163

Offline Weather Display

  • Posts: 87,458
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 74.0.3729.108
    • Weather Display
Re: App is crashing lately
« Reply #5 on: April 27, 2019, 07:43:05 PM »
a crash at a specific time is a big clue
12pm might be corrupted FWI data
(you could try deleting the fwi.inf and fwi2.inf data files)

Offline rigger3

  • Posts: 50
    • dseannixon
  • OS/Browser:
  • Mac OS X 10.13.6
  • Safari 12.1
Re: App is crashing lately
« Reply #6 on: April 28, 2019, 06:33:10 PM »
Thx for the info.

I deleted the fwi.inf, I could not find the fwi2.inf file.

I will let you know how it goes.

Mac mini
MacOS 10.13.6
Processor 2.3GHz Intel Core i5
Memory 8 GB RAM
Davis VP 2 6163

Offline patwkoch

  • Posts: 7
  • OS/Browser:
  • Mac OS X 10.14.5
  • Safari 12.1.1
Re: App is crashing lately
« Reply #7 on: May 30, 2019, 03:27:03 PM »
Hi rigger3 - Did delete the file resolve your crashing issues?  Mine is doing the same thing. 

Offline rigger3

  • Posts: 50
    • dseannixon
  • OS/Browser:
  • Mac OS X 10.13.6
  • Safari 12.1.1
Re: App is crashing lately
« Reply #8 on: May 31, 2019, 08:05:17 PM »
Yes, it seem to have worked. I have not experienced any crashes since deleting the files.
Mac mini
MacOS 10.13.6
Processor 2.3GHz Intel Core i5
Memory 8 GB RAM
Davis VP 2 6163

Offline patwkoch

  • Posts: 7
  • OS/Browser:
  • Mac OS X 10.13.2
  • Safari 11.0.2
Re: App is crashing lately
« Reply #9 on: June 09, 2019, 06:19:53 PM »
I did a lot of testing.  I switched back to windows for a while until I had time to research the crashing issue.  It seemed to crash anytime the program updated internet files.  So, I checked and unchecked a bunch of options in the "Web Files Setup#1" tab.  Once I unchecked the system from creating and uploading any of the dials, it stopped crash.  The graphs do not seem to cause a problem, only dials. 

Then I was curious as to if it was an issue creating GIFs.  So, I toggled the option to create JPEG instead of GIF.  The I turned back on some of the options to create dials.  It DID NOT crash!!! Woohoo!

Offline patwkoch

  • Posts: 7
  • OS/Browser:
  • Mac OS X 10.13.2
  • Safari 11.0.2
Re: App is crashing lately
« Reply #10 on: June 09, 2019, 06:32:32 PM »
I spoke too soon.  Right after I posted the message, it crashed.  I checked the output files for the dials.  The program created the rain dials, humidity, gust, directional, dew, barodial.jpg.... then crashed.  The offending file is called average dial.jpg.  It was the last image created before the crash. 

Offline Weather Display

  • Posts: 87,458
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 74.0.3729.169
    • Weather Display
Re: App is crashing lately
« Reply #11 on: June 10, 2019, 05:33:10 AM »
ah, the option to create individual dials
I will test/check on that

Offline patwkoch

  • Posts: 7
  • OS/Browser:
  • Mac OS X 10.14.5
  • Safari 12.1.1
Re: App is crashing lately
« Reply #12 on: June 10, 2019, 12:55:34 PM »
Hi Brian, I'm a software developer myself, so I know developing a program this complex is difficult. You are doing a great job.  I have found a few other annoying bugs in the MAC version build 315.  Should I post these in the Bugs/Issues thread or in the Mac thread?  I wish I knew enough about development on a MAC to help and test.

Offline Weather Display

  • Posts: 87,458
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 74.0.3729.169
    • Weather Display
Re: App is crashing lately
« Reply #13 on: June 10, 2019, 11:32:00 PM »
i have made some fixes for the individual dial images, latest update

Offline mfd38

  • Posts: 1,218
  • Massachusetts
  • OS/Browser:
  • Mac OS X 10.14.5
  • Safari 12.1.1
    • Medfield, MA Weather
Re: App is crashing lately
« Reply #14 on: June 18, 2019, 09:35:37 PM »
Hi Brian,

I have tried Build 315 and it closes at 11 minutes past midnight each night. Here is the error message in the System Log
Quote
Jun 16 00:11:09 PJL-2 com.apple.xpc.launchd[1] (com.apple.xpc.launchd.oneshot.0x100085c7.weatherdisplay[94377]): Service exited due to SIGSEGV | sent by exc handler[94377]
.

I also reviewed all settings and did not find any specific setting that requires actions such as file creation or file upload that is set to 11 minutes past midnight. Any thoughts on what could cause the crash? Previously using Build 307 and that works ok so I went back to that.

Thanks
« Last Edit: June 18, 2019, 09:42:38 PM by mfd38 »