Server in OSX does not run, crashes on launch

Forum to report issues and bugs on Apple OSX

Re: Server in OSX does not run, crashes on launch

Postby blanch » 15 Jul 2014, 10:21

and here is the dump (looks like calling strlen on a non-valid pointer)

Code: Select all
Process:         EyeTribe [5144]
Path:            /Applications/EyeTribe/EyeTribe
Identifier:      EyeTribe
Version:         0
Code Type:       X86-64 (Native)
Parent Process:  tcsh [4744]
Responsible:     Terminal [3266]
User ID:         501

Date/Time:       2014-07-15 09:59:36.149 +0200
OS Version:      Mac OS X 10.9.4 (13E28)
Report Version:  11
Anonymous UUID:  65705B44-CC97-1F2B-712E-DE99C82E4CFA

Sleep/Wake UUID: 91D3BFA9-AD6C-46B5-BC04-909CCE5C63B0

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

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000

VM Regions Near 0:
-->
    __TEXT                 000000010aa42000-000000010af4f000 [ 5172K] r-x/rwx SM=COW  /Applications/EyeTribe/*

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_c.dylib                0x00007fff84a97732 strlen + 18
1   EyeTribe                         0x000000010aa77861 0x10aa42000 + 219233

Thread 1:
0   libsystem_kernel.dylib           0x00007fff8d29464a kevent + 10
1   EyeTribe                         0x000000010adc5b6e 0x10aa42000 + 3685230
2   EyeTribe                         0x000000010ade2e10 0x10aa42000 + 3804688
3   libsystem_pthread.dylib          0x00007fff8f0b4899 _pthread_body + 138
4   libsystem_pthread.dylib          0x00007fff8f0b472a _pthread_start + 137
5   libsystem_pthread.dylib          0x00007fff8f0b8fc9 thread_start + 13

Thread 2:
0   libsystem_kernel.dylib           0x00007fff8d29464a kevent + 10
1   EyeTribe                         0x000000010adc5b6e 0x10aa42000 + 3685230
2   EyeTribe                         0x000000010ade2e10 0x10aa42000 + 3804688
3   libsystem_pthread.dylib          0x00007fff8f0b4899 _pthread_body + 138
4   libsystem_pthread.dylib          0x00007fff8f0b472a _pthread_start + 137
5   libsystem_pthread.dylib          0x00007fff8f0b8fc9 thread_start + 13

Thread 3:
0   libsystem_kernel.dylib           0x00007fff8d293716 __psynch_cvwait + 10
1   libsystem_pthread.dylib          0x00007fff8f0b6c3b _pthread_cond_wait + 727
2   libc++.1.dylib                   0x00007fff8a163ddc std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >) + 126
3   EyeTribe                         0x000000010aa7f0fb 0x10aa42000 + 250107
4   EyeTribe                         0x000000010aa6f348 0x10aa42000 + 185160
5   EyeTribe                         0x000000010aa6f3e1 0x10aa42000 + 185313
6   libsystem_pthread.dylib          0x00007fff8f0b4899 _pthread_body + 138
7   libsystem_pthread.dylib          0x00007fff8f0b472a _pthread_start + 137
8   libsystem_pthread.dylib          0x00007fff8f0b8fc9 thread_start + 13

Thread 4:
0   libsystem_kernel.dylib           0x00007fff8d293e6a __workq_kernreturn + 10
1   libsystem_pthread.dylib          0x00007fff8f0b5f08 _pthread_wqthread + 330
2   libsystem_pthread.dylib          0x00007fff8f0b8fb9 start_wqthread + 13
blanch
 
Posts: 6
Joined: 04 Apr 2014, 10:04

Re: Server in OSX does not run, crashes on launch

Postby Martin » 15 Jul 2014, 22:17

Thanks for posting the dump. I have created a case for it and believe we will have it fixed with the next update.
Martin
 
Posts: 567
Joined: 29 Oct 2013, 15:20

Re: Server in OSX does not run, crashes on launch

Postby blanch » 16 Jul 2014, 11:39

any rough schedule as for when the next update will be available?
so impatient to test my device!
blanch
 
Posts: 6
Joined: 04 Apr 2014, 10:04

Re: Server in OSX does not run, crashes on launch

Postby Martin » 16 Jul 2014, 15:56

Hi Blanch,

Found the bug. The server assumes that the HOME environment variable is set. If it isn't the value returned is invalid and the crash occurs. For the upcoming release we've use /tmp instead.

To get it working with the current release you need to add the HOME path, e.g. HOME=/Users/YourAccountName
Martin
 
Posts: 567
Joined: 29 Oct 2013, 15:20

Re: Server in OSX does not run, crashes on launch

Postby blanch » 16 Jul 2014, 16:11

i do not think it is the problem for me:

Code: Select all
[esperluet:/Applications/EyeTribe] blanch% env | grep HOME
HOME=/Users/blanch
[esperluet:/Applications/EyeTribe] blanch% ./EyeTribe

**************************************
**   The EYE TRIBE TRACKER Server   **
**************************************
Version: 0.9.39

[15:48:09.840] INF: Initializing environment
[15:48:09.841] INF: Constructing logfile:
  /Users/blanch/eyetribe/logs/20140716161010_14111885558565234878.log

Settings applied:
TCP port: 6555
Connections: local only
Framerate: 30

[15:48:09.850] INF: Initializing Eye Tribe Server
Segmentation fault


just to be sure:

Code: Select all
[esperluet:/Applications/EyeTribe] blanch% env HOME=/Users/blanch ./EyeTribe

**************************************
**   The EYE TRIBE TRACKER Server   **
**************************************
Version: 0.9.39

[15:49:15.876] INF: Initializing environment
[15:49:15.877] INF: Constructing logfile:
  /Users/blanch/eyetribe/logs/20140716161116_14111885558565234878.log

Settings applied:
TCP port: 6555
Connections: local only
Framerate: 30

[15:49:15.896] INF: Initializing Eye Tribe Server
Segmentation fault
blanch
 
Posts: 6
Joined: 04 Apr 2014, 10:04

Re: Server in OSX does not run, crashes on launch

Postby Martin » 16 Jul 2014, 20:37

Ok. Seems we knocked one down with the Path setting, the segmentation fault is a different error (that you are unfortunate to see). Seems to be a problem primarily on OS X 10.8 where 10.9 is working ok. We're trying to have it fixed asap.
Martin
 
Posts: 567
Joined: 29 Oct 2013, 15:20

Re: Server in OSX does not run, crashes on launch

Postby blanch » 16 Jul 2014, 22:51

please note that i am running 10.9.4.

Code: Select all
[esperluet:/Applications/EyeTribe] blanch% uname -a
Darwin esperluet.local 13.3.0 Darwin Kernel Version 13.3.0: Tue Jun  3 21:27:35 PDT 2014; root:xnu-2422.110.17~1/RELEASE_X86_64 x86_64


and that if i can be of any help do not hesitate to PM me.
blanch
 
Posts: 6
Joined: 04 Apr 2014, 10:04

Re: Server in OSX does not run, crashes on launch

Postby margi4 » 18 Jul 2014, 19:01

I'm having the same problem in Mac OS X 10.9.4

Code: Select all
**************************************
**   The EYE TRIBE TRACKER Server   **
**************************************
Version: 0.9.39

[04:52:01.151] INF: Initializing environment
[04:52:01.152] INF: Constructing logfile:
  /Users/margi4/eyetribe/logs/20140718184641_17337454330264229927.log

Settings applied:
TCP port: 6555
Connections: local only
Framerate: 30

[04:52:01.160] INF: Initializing Eye Tribe Server
Segmentation fault: 11
margi4
 
Posts: 1
Joined: 16 Jul 2014, 19:36

Re: Server in OSX does not run, crashes on launch

Postby Martin » 19 Jul 2014, 00:13

We're aware of the Segmentation Error occurring on some systems with the first public beta release and are working to resolve the bug. I will get back to you once I have a better understanding of the problem and the steps we'll take to get an update out.
Martin
 
Posts: 567
Joined: 29 Oct 2013, 15:20

Re: Server in OSX does not run, crashes on launch

Postby contact » 21 Jul 2014, 11:53

Same bug for me on OSX 10.9.4

Terminal Trace
Code: Select all
BenBeamArtMBPR:~ bpetit$ /Applications/EyeTribe/EyeTribe

**************************************
**   The EYE TRIBE TRACKER Server   **
**************************************
Version: 0.9.39

[13:59:22.576] INF: Initializing environment
[13:59:22.576] INF: Constructing logfile:
  /Users/bpetit/eyetribe/logs/20140721114930_13305086716256988694.log

Settings applied:
TCP port: 6555
Connections: local only
Framerate: 30

[13:59:22.589] INF: Initializing Eye Tribe Server
Segmentation fault: 11


Log Trace
Code: Select all
2014-07-21 11:49:30.435|13305086716256988694|I|Creating new log file
2014-07-21 11:49:30.435|13305086716256988694|I|Initializing environment
2014-07-21 11:49:30.435|13305086716256988694|I|Detecting primary screen
2014-07-21 11:49:30.447|13305086716256988694|I|Initializing config system
2014-07-21 11:49:30.447|13305086716256988694|I|Trying to load obsolete config file
2014-07-21 11:49:30.447|13305086716256988694|W|Config file "/Users/bpetit/eyetribe/EyeTribe.cfg" doesn't exist!
2014-07-21 11:49:30.447|13305086716256988694|I|TCP port: 6555
2014-07-21 11:49:30.447|13305086716256988694|I|Connections: local only
2014-07-21 11:49:30.447|13305086716256988694|I|Framerate: 30
2014-07-21 11:49:30.447|13305086716256988694|I|Initializing Eye Tribe Server (v0.9.39)
2014-07-21 11:49:30.447|13305086716256988694|I|Creating Tracker Manager
2014-07-21 11:49:30.447|13305086716256988694|I|Creating Camera Manager


Ben
contact
 
Posts: 3
Joined: 11 Apr 2014, 11:24

PreviousNext

Return to Issues and troubleshooting - OSX



cron