Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

An update to Anim8or, v1.00b, is available with a few bug fixes. Get your copy HERE. See the "ReadMe" file for details.

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

NickE

  • Full Member
  • ***
  • Posts: 157
    • 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, 12:45:35 pm »

... lol

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

NickE

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

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, 01:41:20 pm »

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, 01:45:35 pm by MvGulik »
Logged

NickE

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

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, 06: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, 01:19:07 pm 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, 07: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: 1546
    • View Profile
Re: [Bug Report] - Switching to Sequence Mode or Scene Mode Crashes Anim8or
« Reply #7 on: November 17, 2014, 11: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, 10: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, 10:15:25 am by MvGulik »
Logged

Steve

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

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