Blender crashes when they use vector.project function #55374

Closed
opened 2018-06-07 17:22:51 +02:00 by Sergey · 8 comments

System Information
Windows 7 64

Blender Version
version: 2.79 (sub 0), branch: master, commit date: 2018-03-22 14:10, hash: f4dc9f9d68b

Short description of error

Blender crashes when I type next code in console:

>>> sec = range(10)
>>> Vector(sec).project(sec)

I know that Vector does not expect more than four arguments but it should give a warning, should not it?

Exact steps for others to reproduce the error
Open console and write code that I mentioned above

**System Information** Windows 7 64 **Blender Version** version: 2.79 (sub 0), branch: master, commit date: 2018-03-22 14:10, hash: f4dc9f9d68b **Short description of error** Blender crashes when I type next code in console: ``` >>> sec = range(10) >>> Vector(sec).project(sec) ``` I know that Vector does not expect more than four arguments but it should give a warning, should not it? **Exact steps for others to reproduce the error** Open console and write code that I mentioned above
Author

Added subscriber: @randum

Added subscriber: @randum
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Could reproduce in 2.79b, but this seems to befixed already in current master.
I havent hunted down the relating commit, but @randum : could you try a master build from https://builder.blender.org/download and check if this is resolved for you?

Marking as incomplete until we have an answer...

Could reproduce in 2.79b, but this seems to befixed already in current master. I havent hunted down the relating commit, but @randum : could you try a master build from https://builder.blender.org/download and check if this is resolved for you? Marking as incomplete until we have an answer...
Author

I tried 2.79 and 2.80 version of Blender (32 bit) from your link and both of them show the same bug. :/

I tried 2.79 and 2.80 version of Blender (32 bit) from your link and both of them show the same bug. :/

Added subscribers: @ideasman42, @mont29

Added subscribers: @ideasman42, @mont29
Campbell Barton was assigned by Bastien Montagne 2018-07-22 18:02:06 +02:00

@ideasman42 should know that area of code well. ;)

@ideasman42 should know that area of code well. ;)

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Fixed blender/blender@fe8d8aa27e
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#55374
No description provided.