This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2010-04-23 09:46:36

kevis1
Scratcher
Registered: 2010-04-23
Posts: 2

webcams not working

Hi,

I have a G4 eMac with a firewire iSight running 10.5 and an Atom Windows XP SP3 netbook. In both with the latest version of scratch we are unable to use the web cam. on the eMac the image is simply black (iChat works fine) and on the  netbook the Window comes-up but then a message dialog shows-up stating that the VM has crashed. I am not running as admin in either case, in Windows the dialog states that a stack trace has been generated but the dump file is not there (likely since not running as admin).

Any help would be very much appreciated.

Offline

 

#2 2010-04-23 09:50:28

ThePCKid
Scratcher
Registered: 2009-09-16
Posts: 1000+

Re: webcams not working

On Windows, try right clicking the app and click "Run as administrator"

Offline

 

#3 2010-04-23 18:27:24

AnonymousTom
Scratcher
Registered: 2010-03-19
Posts: 100+

Re: webcams not working

kevis1 wrote:

Hi,

I have a G4 eMac with a firewire iSight running 10.5 and an Atom Windows XP SP3 netbook. In both with the latest version of scratch we are unable to use the web cam. on the eMac the image is simply black (iChat works fine) and on the  netbook the Window comes-up but then a message dialog shows-up stating that the VM has crashed. I am not running as admin in either case, in Windows the dialog states that a stack trace has been generated but the dump file is not there (likely since not running as admin).

Any help would be very much appreciated.

It's probably as you thought, the fact that you are not an admin. Try getting permission, from the administrator of the computer.

Offline

 

#4 2010-04-24 00:36:19

kevis1
Scratcher
Registered: 2010-04-23
Posts: 2

Re: webcams not working

I have now used the "run as" to run it as administrator on the XP netbook, it crashes but I get the crash.dmp file. I have pasted it's contents below. Maybe the stack dump is illuminating to a dev?

---------------------------------------------------------------------
Fri Apr 23 23:31:26 2010

Exception code: C0000005
Exception addr: 0040B544
Access violation (read access) at FF000008
EAX:08A10004    EBX:08A111A0    ECX:000001A1    EDX:FF000000
ESI:08A65F0D    EDI:093A2054    EBP:08A10004    ESP:0006FA78
EIP:0040B544    EFL:00010296
FP Control: FFFF027F
FP Status:  FFFF4020
FP Tag:     FFFFFFFF

Hardware information:
    Manufacturer: Samsung Electronics
    Model: SEC
    Number of processors: 2
    Page size: 4096

Memory Information (upon launch):
    Physical Memory Size: 1038700 kbytes
    Physical Memory Free: 353584 kbytes
    Page File Size: 2503876 kbytes
    Page File Free: 1845112 kbytes
    Virtual Memory Size: 2097024 kbytes
    Virtual Memory Free: 1936468 kbytes
    Memory Load: 65 percent

Processor 0:          Intel(R) Atom(TM) CPU N270   @ 1.60GHz
    Identifier: x86 Family 6 Model 28 Stepping 2
    ~MHZ: 1595

Processor 1:          Intel(R) Atom(TM) CPU N270   @ 1.60GHz
    Identifier: x86 Family 6 Model 28 Stepping 2
    ~MHZ: 1595

Operating System: Microsoft Windows XP (Build 2600 Service Pack 3)
    Registered Owner: Michael Sliczniak
    Registered Company:
    SP major version: 3
    SP minor version: 0
    Suite mask: 300
    Product type: 1

Display Information:
    Graphics adapter name: Mobile Intel(R) 945 Express Chipset Family
    Primary monitor resolution: 1024 x 600

Device: Mobile Intel(R) 945 Express Chipset Family
    Adapter String: Mobile Intel(R) 945 Express Chipset Family
    Bios String: Intel Video BIOS
    Chip Type: Intel(R) GMA 950
    DAC Type: Internal
    Memory Size: 0x08000000

Driver Versions:
    igxprd32: 6.14.10.4926

VM Version: Squeak 3.10.10 (release) from Nov 14 2008
Compiler: gcc 2.95.2 19991024 (release)

Current byte code: 208
Primitive index: 0

Loaded plugins:
    CameraPlugin
    MIDIPlugin 1 February 2007 (i)
    WeDoPlugin
    SoundPlugin 1 February 2007 (i)
    ScratchPlugin
    LocalePlugin 1 February 2007 (i)
    FloatArrayPlugin 1 February 2007 (i)
    BitBltPlugin 1 February 2007 (i)
    LargeIntegers v1.5 1 February 2007 (i)
    UnicodePlugin
    SecurityPlugin 1 February 2007 (i)
    FilePlugin 1 February 2007 (i)
    MiscPrimitivePlugin 1 February 2007 (i)


Stack dump:

154804272 BitBlt>setDestForm:
154804180 BitBlt class>toForm:
154803932 WarpBlt class>toForm:
154803840 ScratchCameraDialog>step
154803724 Morph>stepAt:
154801176 [] in PasteUpMorph>runStepMethods
154799780 OrderedCollection>do:
154800900 [] in PasteUpMorph>runStepMethods
154799668 BlockContext>ifError:
154799564 PasteUpMorph>runStepMethods
154795596 PasteUpMorph>doOneCycleNow
154794792 PasteUpMorph>doOneCycle
149751748 [] in Project>spawnNewProcess
149751840 [] in BlockContext>newProcess

Offline

 

#5 2010-04-24 20:27:40

Survivorduck
Scratcher
Registered: 2009-07-05
Posts: 500+

Re: webcams not working

does it work good outside scratch? if so, start up scratch, then turn on ur webcam. once u know it works, turn it off and press the "camera" button on scratch.

Offline

 

#6 2010-04-25 03:16:48

JSO
Community Moderator
Registered: 2007-06-23
Posts: 1000+

Re: webcams not working

That certainly is a very weird problem. Are any other programs accessing the webcam at the same time? I've seen that causes problems in other programs too.

Otherwise I have no idea how to help you so - you will have to wait for a Scratch Team member to pass by.


http://oi48.tinypic.com/2v1q0e9.jpg

Offline

 

Board footer