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

Infinite loop on Mac OSX 10.8.5 #187

Closed
rizhamid opened this issue Mar 4, 2014 · 7 comments
Closed

Infinite loop on Mac OSX 10.8.5 #187

rizhamid opened this issue Mar 4, 2014 · 7 comments

Comments

@rizhamid
Copy link

rizhamid commented Mar 4, 2014

Hello I am using webcam-capture-0.3.10-RC6.jar and when I close the webcam it do not close. rather the CPU remains on 100% and memory goes high and keep there.

What i can see in logs is

WebcamDefaultDriver Searching devices
WebcamDefaultDriver Found device FaceTime HD Camera (Built-in) 0x1a11000005ac8509
WebcamDefaultDriver Searching devices
WebcamDefaultDriver Found device FaceTime HD Camera (Built-in) 0x1a11000005ac8509
WebcamDefaultDriver Searching devices
WebcamDefaultDriver Found device FaceTime HD Camera (Built-in) 0x1a11000005ac8509
WebcamDefaultDriver Searching devices
WebcamDefaultDriver Found device FaceTime HD Camera (Built-in) 0x1a11000005ac8509
WebcamDefaultDriver Searching devices
WebcamDefaultDriver Found device FaceTime HD Camera (Built-in) 0x1a11000005ac8509
WebcamDefaultDriver Searching devices
WebcamDefaultDriver Found device FaceTime HD Camera (Built-in) 0x1a11000005ac8509
WebcamDefaultDriver Searching devices
WebcamDefaultDriver Found device FaceTime HD Camera (Built-in) 0x1a11000005ac8509

Here is the complete log.

Webcam Setting new resolution 640x480
WebcamCapture Opening webcam...
WebcamLock Lock Webcam FaceTime HD Camera (Built-in) 0x1a11000005ac8509
WebcamOpenTask Opening webcam FaceTime HD Camera (Built-in) 0x1a11000005ac8509
WebcamDefaultDevice Opening webcam device FaceTime HD Camera (Built-in) 0x1a11000005ac8509
WebcamDefaultDevice Webcam device 0x1a11000005ac8509 starting session, size java.awt.Dimension[width=640,height=480]
WebcamDefaultDevice Webcam device session started
WebcamDefaultDevice Initialize buffer
WebcamDefaultDriver Searching devices
WebcamDefaultDevice Webcam device com.github.sarxos.webcam.ds.buildin.WebcamDefaultDevice@45d08940 is now open
Webcam Webcam is now open FaceTime HD Camera (Built-in) 0x1a11000005ac8509
WebcamDefaultDriver Found device FaceTime HD Camera (Built-in) 0x1a11000005ac8509
WebcamCapture Webcam device: FaceTime HD Camera (Built-in) 0x1a11000005ac8509
WebcamCapture Webcam current resolution: 640x480
WebcamCapture Webcam supported resolutions: 176x144, 320x240, 640x480
WebcamCapture Taking a 640x480 image...
FileUtil The folder already exists: /Users/riz/gTeamFiles/webcamshots
WebcamCloseTask Closing FaceTime HD Camera (Built-in) 0x1a11000005ac8509
WebcamDefaultDevice Closing webcam device
WebcamLock Unlock Webcam FaceTime HD Camera (Built-in) 0x1a11000005ac8509
WebcamLock Lock updater has been interrupted
WebcamDefaultDriver Searching devices
WebcamDefaultDriver Found device FaceTime HD Camera (Built-in) 0x1a11000005ac8509
WebcamDefaultDriver Searching devices
WebcamDefaultDriver Found device FaceTime HD Camera (Built-in) 0x1a11000005ac8509
WebcamDefaultDriver Searching devices
WebcamDefaultDriver Found device FaceTime HD Camera (Built-in) 0x1a11000005ac8509
QuartzSchedulerThread batch acquisition of 0 triggers
WebcamDefaultDriver Searching devices
WebcamDefaultDriver Found device FaceTime HD Camera (Built-in) 0x1a11000005ac8509
WebcamDefaultDriver Searching devices
WebcamDefaultDriver Found device FaceTime HD Camera (Built-in) 0x1a11000005ac8509
.
.
.
.
.
.
.
.
.

@rizhamid
Copy link
Author

rizhamid commented Mar 4, 2014

By the way good work!!

@sarxos
Copy link
Owner

sarxos commented Mar 5, 2014

Hi @rizhamid,

Thank you for the report. Can you please perform threads stack dump when this happens and post the result?

@sarxos
Copy link
Owner

sarxos commented Mar 10, 2014

@rizhamid
Copy link
Author

Thanks A lot this is fixed

@rizhamid
Copy link
Author

When would i Expect an official release?
I hope rest every thing will be fine

@sarxos
Copy link
Owner

sarxos commented Mar 13, 2014

It depends how important it is for you. I can release it very fast, but still in form of RC (this one will be 7). As for the official release to Maven Central I'm blocked by BridJ v0.6.3 still being in SNAPSHOT.

@sarxos
Copy link
Owner

sarxos commented Mar 13, 2014

I'm closing since it's fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants