ASSERT!! FocalLengthConverter.c Line 168Occured Time 2008:09:21 14:54:59Task ID: 11993113Task name: PhySwSP: 0x00117D8CStackDump:0x000000000x000000000x000000170x000000800x000DCBFC0x000000000x00117DE40x000085DC0x002877E00x000008000x000000400x00117D8C0xFF821DF00x000000000xFF8162E40xFF8162E40x00117D8C0xFFA1C8540x000000A80x000000070x0000C4500x000085DC0x000000070x000075300x000000000x000000000x199802180x000E02840xFFA1C6BC0x000000010xFFA238B00x000085DCShootConDump:10 00 01 02 07 00 00 0f 0f 0f CameraConDump:0a 01 02 0e 0a 01 11 0b 02 0e 00168000: Window:IneffectiveLockPhysicalScreen00168010: SSAPI::CaptureModeChange00168010: SSAPI:: EvfMode = 000168010: SSAPI:: CaptMode = 0x800400168060: SSAPI::CompleteCaptureModeChange00168070: _DecideCaptureMode00168070: _StartStill00168070: SSAPI:: UsingRaw[0]00168070: DSIC:41,600168130: Window:IneffectiveLockPhysicalScreen00168130: _MuteOffStitch00168130: TerminateDeliverToZoomController00168130: OPTICAL_ZOOM_MIN_POS00168130: ST_OPTICAL_WIDE_TERM00168130: UnpressZoomLever00168130: DispSwCon_TurnOnDisplayDevice00168130: LogicalEvent:0x313d:adr:0,Para:000168130: _EntryStartRecMode00168140: CaptModeChanger_CheckRTCRrepared00168140: DispSw: Unlock00168140: DispSwCon_MuteOffPhysicalScreen00168140: MuteOffPhysicalScreen00168140: _DecideModeDial00168140: No Change Capture Mode00168150: LogiEvnt_NotPowerType:0x09a4:adr:0,Para:000168150: LogiEvnt_NotPowerType:0x09a2:adr:0,Para:000171880: PressSwOne00171880: SSAPI::PrepareBuffer00171880: SSAPI::UpdateCaptureBitRate00171880: SSAPI:: UsingRaw[0]00171880: ShootState:0x100171880: ShtCon_Activate00171880: DispSw: Lock00171880: ShtCon_PrepareCapture00171880: DSIC:61,000171890: Window:EffectiveLockPhysicalScreen00171890: Window:IneffectiveLockPhysicalScreen00171890: LogicalEvent:0x3135:adr:0,Para:000171890: SSAPI::PrepareCapture00171920: ShootState:0x200171920: ClearEventComp00172250: ShootSeqToUI:0x2006:adr:0x1,Para:100172250: ShtCon_SetPreCapt00172250: ShtIsoChg00172250: DSIC:62,000172250: Window:EffectiveLockPhysicalScreen00172310: Window:IneffectiveLockPhysicalScreen00172320: _ResetShootingMode00172320: _EntryPrepareShoot00172320: ShootState:0x700172730: UnpressSwOne00172730: _ExitSequence00172730: Sht_CancelStrobeChargeTimer00172730: DSIC:4b,000172730: SSAPI::CancelPrepare00172900: SS:StrobeChargeComplete00172910: DispSwCon_MuteOffPhysicalScreen00172910: MuteOffPhysicalScreen00172910: ShootState:0x000172910: ShtCon_Deactivate00172910: DSIC:14,000172910: DSIC:60,000172910: DispSwCon_TurnOnDisplayDevice00172910: Window:EffectiveLockPhysicalScreen00172940: SSAPI:: UsingRaw[0]00172990: Window:IneffectiveLockPhysicalScreen00173000: DispSw: Unlock00173000: DispSwCon:Unlock00173000: ShtIsoChg00173000: TerminateDeliverToZoomController00173000: OPTICAL_ZOOM_MIN_POS00173000: ST_OPTICAL_WIDE_TERM00173000: UnpressZoomLever00173000: _EntryIdleShoot00173000: ShootState:0x000173000: SSAPI:: UsingRaw[0]00173750: Window:IneffectiveLockPhysicalScreen00177310: Window:IneffectiveLockPhysicalScreen00191890: Window:IneffectiveLockPhysicalScreen00195990: Window:IneffectiveLockPhysicalScreen
This is exactly the reason i added get_mode to the range of ubasic commands. Using it,scripts can check which mode they are run under and exit if requirement isnt met.
Quote from: PhyrePhoX on 21 / September / 2008, 11:30:59This is exactly the reason i added get_mode to the range of ubasic commands. Using it,scripts can check which mode they are run under and exit if requirement isnt met.This doesn't fix the problem! To my mind, the scripting should be bullet proof. (however, theres peek and poke in lua, right?) (script options: [ ] allow unsafe functions)
Without script, you can also activate SD mode in PLAY, and engage the mechanic!!!Power on in play, press alt, up, (left/right/zoom depending on cam model) -> squeezy noise !
ASSERT!! ZoomLensController.c Line 207Occured Time 2008:09:21 20:06:18Task ID: 11993113Task name: PhySwSP: 0x00117DB0StackDump:0x000000000x000000000x000000170x000000800x000DCC140x000000000x00117E080x000085DC0x002877E00x000008000x000000400x00117DB00xFF821DF00x000000000xFF8162E40xFF8162E40x00117DB00xFF92F0240x000000CF0x000000000xFFA238B00x000085DC0x000000060x000075300x000000000x000000000x199802180x000E029C0xFF92F27C0x000000080x0000FFFF0x00000000ShootConDump:0f 0f 0f 0f 0f 0f 0f 0f 0f 0f CameraConDump:08 0b 02 0f 0f 0f 0f 0f 0f 0f 00000050: *** Camera Log Start ***00000060: WriteEnableMedia00000070: _BeforeCBRForPlay00000070: _AfterCBRForPlay00000070: DSIC:52,000000070: LogicalEvent:0x5003:adr:0,Para:000000080: LogicalEvent:0x1165:adr:0,Para:000000080: _StartupImage00000080: SetPanelBrightnessToLcdController00000080: SetDisplayType00000080: TurnOnDisplayForStartup00000080: LogicalEvent:0x5007:adr:0,Para:000000100: SSAPI::NotifyStartupImageCreated00000100: DispSwCon_TurnOnBackLight00000100: TurnOnBackLight00000140: LogicalEvent:0x5001:adr:0,Para:000000170: DispSwCon_MuteOffPhysicalScreen00000170: MuteOffPhysicalScreen00000170: Window:EffectiveLockPhysicalScreen00000170: Window:IneffectiveLockPhysicalScreen00000170: LogicalEvent:0x300a:adr:0,Para:000000180: CreatePBController00000180: PB.Create00000180: LogicalEvent:0x3138:adr:0,Para:000000370: LogicalEvent:0x5006:adr:0,Para:000000470: LogicalEvent:0x112c:adr:0,Para:000000500: PB.CreateE00000500: AC:StartPB00000500: DispSwCon_TurnOnDisplayDevice00000500: AC:EBtn00000500: PB.Start00000500: DSIC:46,000000510: LogicalEvent:0x3209:adr:0x3f,Para:6300000510: CameraCon_NotifyCompleteFlashJpeg00000510: _CallNotifyCompleteFlashJpeg00000510: PB.Flash00000510: DSIC:46,000000510: Window:EffectiveLockPhysicalScreen00000510: DSIC:46,000000670: PB.DrawI00000690: LogicalEvent:0x320a:adr:0,Para:000000760: LogicalEvent:0x3203:adr:0,Para:000000790: PB.StartE00000790: PB.TOTAL00000790: PB.DPOF00000790: PB.IHist00000800: PB.DcdCBR00000800: PB.RfrsI00000840: Window:IneffectiveLockPhysicalScreen00000840: Window:IneffectiveLockPhysicalScreen00000850: Window:IneffectiveLockPhysicalScreen00000850: LogicalEvent:0x3201:adr:0,Para:000000850: DispSw: Unlock00000850: DispSwCon:Unlock00000850: Window:IneffectiveLockPhysicalScreen00000860: DispSwCon_TurnOnBackLight00000860: DispSwCon_MuteOffPhysicalScreen00000860: MuteOffPhysicalScreen00000860: AC:EntryPB00000860: AP:CheckConnectUSB00000960: LogicalEvent:0x321f:adr:0,Para:000000960: PB.CTG00000960: DSIC:47,000005410: Window:IneffectiveLockPhysicalScreen00006710: Window:IneffectiveLockPhysicalScreen00010120: Window:IneffectiveLockPhysicalScreen00010780: Window:IneffectiveLockPhysicalScreen
In practice, it would be very difficult to restrict "unsafe" if by unsafe you mean crash the cam. Things that can do physical damage OTOH or write to flash we should avoid. Poke sort of falls in this category, but you have to go out of your way to do it (or blindly run a script).It would be quite easy to add an "allow unsafe" checkbox, figuring out what all is unsafe is a different story. Actually, the CHDK shooting code should probably check that you are actually in record mode for every function.
Started by wap4 « 1 2 » AllBest's Builds
Started by Killer G. General Help and Assistance on using CHDK stable releases
Started by DougC General Discussion and Assistance
Started by justme « 1 2 3 » General Discussion and Assistance
Started by Glomeris General Discussion and Assistance