Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Ian Ross has just released a book on Anim8or. It's perect for a beginner and a good reference for experienced users. It contains detailed chapters on every aspect, with many examples. Get your own copy here: "Anim8or Tutorial Book"

Author Topic: [Bug Report] - Switching to Sequence Mode or Scene Mode Crashes Anim8or  (Read 17763 times)

NickE

  • Full Member
  • ***
  • Posts: 167
    • View Profile

If the attached an8 file is opened and switched to Sequence Mode or Scene Mode, Anim8or crashes.  Oddly, if the figure (and object) are imported into another an8 project, the figure can be added to a sequence and work as long as the figure is not modified.  If an attempt is made to alter the figure, Anim8or will crash.

This file was created by a prototype SMD file importer (similar to the BVH importer) that I am writing. This crashing behavior occurs regardless of whether the object is added to the skeleton.  A bare skeleton causes the same behavior.

Any insight would be appreciated.

Thank you,
NickE
Logged

MvGulik

  • Full Member
  • ***
  • Posts: 107
  • [... Lost in Space ...]
    • View Profile
Re: [Bug Report] - Switching to Sequence Mode or Scene Mode Crashes Anim8or
« Reply #1 on: November 17, 2014, 07:45:35 am »

... lol

Code: [Select]
framerate { 0 }Don't do that. Do f>0.
Logged

NickE

  • Full Member
  • ***
  • Posts: 167
    • View Profile
Re: [Bug Report] - Switching to Sequence Mode or Scene Mode Crashes Anim8or
« Reply #2 on: November 17, 2014, 08:18:45 am »

MvGulik,

Good catch!  Thank you so much!

NickE
Logged

MvGulik

  • Full Member
  • ***
  • Posts: 107
  • [... Lost in Space ...]
    • View Profile
Re: [Bug Report] - Switching to Sequence Mode or Scene Mode Crashes Anim8or
« Reply #3 on: November 17, 2014, 08:41:20 am »

YW.

Mmm. Rereading your initial message, This part:
Oddly, if the figure (and object) are imported into another an8 project, the figure can be added to a sequence and work as long as the figure is not modified.  If an attempt is made to alter the figure, Anim8or will crash.
Seems to be not directly related to the zero framerate. So you might not be completely out of the woods yet. (I have not checked this part)

*spelling*
« Last Edit: November 17, 2014, 08:45:35 am by MvGulik »
Logged

NickE

  • Full Member
  • ***
  • Posts: 167
    • View Profile
Re: [Bug Report] - Switching to Sequence Mode or Scene Mode Crashes Anim8or
« Reply #4 on: November 17, 2014, 08:43:16 am »

With fixing the framerate issue, you can switch to the Sequence or Scene Mode without Anim8or crashing, but if the figure is clicked while in Skinning mode, then changed to Sequence or Scene Mode, Anim8or crashes.

Can anyone see anything wrong with the bone weighting section of the an8 file?

Thank you,
NickE

Logged

MvGulik

  • Full Member
  • ***
  • Posts: 107
  • [... Lost in Space ...]
    • View Profile
Re: [Bug Report] - Switching to Sequence Mode or Scene Mode Crashes Anim8or
« Reply #5 on: November 17, 2014, 01:06:22 pm »

No clue for the why at this side. (Although I seems to vague remember some similar (general)issue.)

Anyway. Confirming this one for 1129, although at this end its the returning to Figure mode that triggers the crash. [XP]
- Load example file. (with the framerate{0} part fixed.)
- Switch to Figure mode.
- just in case: Flat-view + "Flat Outline" enabled.
- Activate Multi-Bone Skin.
- Click Mesh.
- Switch to other mode, and back to Figure mode.
* Crash.

(Disabling "Flat outline"/"Smooth Outline" seems to prevent the crash.)

edit:
---------------------------
System Information ...
---------------------------
OpenGL Vendor:   Intel
OpenGL Renderer: Intel 915G
OpenGL Version:  1.4.0 - Build 7.14.10.4764
OS Version:      Windows XP Service Pack 3 (5.1) build 2600
---------------------------

Edits:
Backtrack: Issue turned up between build 1061 .. 1066
Using Flat view and Flat outlines in Figure mode seems to be part of the triggers.
« Last Edit: December 01, 2014, 08:19:07 am by MvGulik »
Logged

MvGulik

  • Full Member
  • ***
  • Posts: 107
  • [... Lost in Space ...]
    • View Profile
Re: [Bug Report] - Switching to Sequence Mode or Scene Mode Crashes Anim8or
« Reply #6 on: November 17, 2014, 02:03:27 pm »

@Nick: Its a general issue. So other than that zero framerate, there is noting wrong with your an8 source.
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2124
    • View Profile
Re: [Bug Report] - Switching to Sequence Mode or Scene Mode Crashes Anim8or
« Reply #7 on: November 17, 2014, 06:53:25 pm »

The crash is definitely caused by the 0 fps frame rate. Anim8or divides the frame number by the frame rate using integer arithmetic, and dividing by integer 0 crashes.  I'll fix Anim8or to prevent setting the frame rate to 0.
Logged

MvGulik

  • Full Member
  • ***
  • Posts: 107
  • [... Lost in Space ...]
    • View Profile
Re: [Bug Report] - Switching to Sequence Mode or Scene Mode Crashes Anim8or
« Reply #8 on: November 18, 2014, 05:12:18 am »

Mmm. To me that kinda reads as only the first issue is picked up.
So just in case, there a actually 2 unrelated issues here. Msg 5 being a run down on issue 2. (which can also be triggered by just using a simple Mesh-Object inside the Figure editor.)

*spelling*
(If more data is needed, just let me know.)
« Last Edit: November 18, 2014, 05:15:25 am by MvGulik »
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2124
    • View Profile
Re: [Bug Report] - Switching to Sequence Mode or Scene Mode Crashes Anim8or
« Reply #9 on: November 18, 2014, 10:56:03 am »

Yes, I'm still looking into the second issue.
Logged