Ticket #3166 (closed defect: fixed)

Opened 20 months ago

Last modified 11 months ago

'show' block with video clock crashes TA if object is not video

Reported by: garycmartin Owned by: walter
Priority: Unspecified by Maintainer Milestone: Unspecified by Release Team
Component: Turtleart Version: Unspecified
Severity: Unspecified Keywords:
Cc: Distribution/OS: Unspecified
Bug Status: Unconfirmed

Description

Testing in TA 116, the 'show' block with a video object attached draws a grey rectangle and then crashes TA if object was not actually video media. Would be great if there was some test done on it before trying to play the media. I accidently selected still png images by mistake the first few times I tried this block. Perhaps the icon representing the 'Sugar journal media object' could also be changed from the Journal icon to that of the Image viewer type picture frame?

Attachments

ta_media_crash.log Download (2.3 KB) - added by garycmartin 20 months ago.

Change History

  Changed 20 months ago by walter

Hmm. My test must be failing. Will check it. Re the Journal icon, you can use it to open any Journal object. If it is not an image, it will try to use the preview image. So maybe I should add a block that is specifically for images???

  Changed 20 months ago by walter

Was there an except raised in the log file?

follow-up: ↓ 4   Changed 20 months ago by walter

I cannot seem to reproduce this error... a log file would help.

Changed 20 months ago by garycmartin

in reply to: ↑ 3   Changed 20 months ago by garycmartin

Replying to walter:

I cannot seem to reproduce this error... a log file would help.

Here's the log. Steps to reproduce the cash:

1) drag on the 'show' brick
2) drag on the 'video object' and use it to replace the default 'text' object
3) click the 'video object' and chose an image (e.g. a Paint activity, a screen shot, or a downloaded png image)
4) click 'show' once to run the brick

You briefly see a grey box and then TA will crash.

  Changed 12 months ago by walter

I think I have fixed the problem with movies crashing in general.

 http://git.sugarlabs.org/turtleart/mainline/commit/7d5b1dffa0e28c7e06c5f585311aaae18a8a646d

I cannot otherwise reproduce this bug. Please pull and test.

  Changed 11 months ago by walter

  • status changed from new to closed
  • resolution set to fixed

When I try to reproduce this bug since fixing the general issues with movie playback, I cannot crash TA. When repeating the steps above, I get an image displayed. Please reopen this ticket if the problem persists.

Note: See TracTickets for help on using tickets.