Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Blender 2.6 Bug Tracker: Browse

[#25597] Issue with Grease Pencil and the Sketching Session.

Date:
2011-01-12 08:02
Priority:
3
State:
Closed
Submitted by:
Richard Stevens (blahblah1981)
Assigned to:
Joshua Leung (aligorith)
Category:
None
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
Issue with Grease Pencil and the Sketching Session.
Detailed description
Hello,

When using the new Sketching Session feature of the Grease Pencil, a reproducible crash will occur when "undoing" changes.

Steps to reproduce:

1. Start Blender.

2. Check the "Use Sketching Session" checkmark, and then click on "Draw".

3. Draw (a single stroke will suffice).

4. Undo (ctrl-z).

5. Click the "Draw" button -> Crash.

I've reproduced this on both FreeBSD (svn) and also on Windows (Graphicall).

FreeBSD AMD64
SVN v34269
cmake

Windows 7 32 bit
Graphicall v34262


More informaion, running "blender -d", gives the following output during the crash:

Error: Cannot paint on locked layer
Segmentation fault (core dumped)

Debug file attahced.

As an aside, when building blender with the latest svn release, the splash screen does not get updated with the revision that I built against. In this particular case, even though I built revision 34269, the splash screen only shows r34050. Not that it matters much, but it does not always update.

Regards and thanks for such a great program!

Followup

Message
  • Date: 2011-01-12 09:16
  • Sender: Joshua Leung
  • Was the undo done while still in the sketching mode?

    If so, this may be tricky to resolve :(
  • Date: 2011-01-12 09:38
  • Sender: Richard Stevens
  • Yes, the undo was done while still in the sketching mode. Exiting the sketching mode then doing the undo works without issue. Blender only crashes when the undo is done while still in sketching mode.
  • Date: 2011-01-12 12:52
  • Sender: ronan ducluzeau
  • ubuntu 10.10 r34279

    I have crash whatever I do after the undo (click anywhere or grab the cube).
    I noticed that the undo uncheck sketching mode option.
  • Date: 2011-01-13 07:15
  • Sender: Joshua Leung
  • I've added a "fix" for this in SVN. Hopefully it should hold well enough.
 

Attached Files:

Name Date Download
blender_debug_output.txt 2011-01-12 08:02 Download

Changes:

Field Old Value Date By
status_idOpen2011-01-13 07:15aligorith
close_dateNone2011-01-13 07:15aligorith
StatusInvestigate2011-01-13 07:15aligorith
assigned_tonone2011-01-12 09:16aligorith
StatusNew2011-01-12 09:16aligorith
File Added14492: blender_debug_output.txt2011-01-12 08:02blahblah1981