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: Crash bug  (Read 13945 times)

Dom

  • Newbie
  • *
  • Posts: 3
    • View Profile
Crash bug
« on: January 23, 2008, 06:20:54 am »

Repeatable crash bug with 0.96beta

1) Start up Anim8or
2) Go to Object/Point Edit mode
3) Select 'Drag Select'
4) Now click on another desktop window (doesnt matter which, IE, Thunderbird - just as long as it is a window not the desktop)
5) Now left click on the view window (the blue part) of Anim8or, and it crashes.
Clicking the taskbar at the top is ok, but if you left click into the window you get an access violation (call to address 0)

The offending code is at 0x004cb32F in the beta:
Code: [Select]
004CB327   push        edi
004CB328   push        edx
004CB329   lea         ecx,[esp+24h]
004CB32D   push        eax
004CB32E   push        ecx
004CB32F   call        dword ptr [esi+174h]
unfortunately, [esi+174h] is zero and causes the crash.
This also happens in v0.95 at address 0x004C5399 (same code, just different location in this build)

- Dom
Logged

cumesoftware

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
    • Cume Software official website
Re: Crash bug
« Reply #1 on: January 23, 2008, 11:37:13 am »

I've tested this with v0.95 and v0.96b, and I can reproduce the crash. It seems to be some problem with the select tool. However, if you return to Anim8or by clicking on the task bar or other part of its window except the drawing area you can avoid this situation (as I understood between the lines of your post). This might indicate the nature of the problem.
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2124
    • View Profile
Re: Crash bug
« Reply #2 on: January 24, 2008, 05:21:00 pm »

I can't reproduce this.  What OS and graphics card do you have? (Use the About->SystemInfo command to get this.)
Logged

Dom

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Crash bug
« Reply #3 on: January 29, 2008, 05:19:52 am »

OpenGL Version: 2.0.3
OpenGL renderer: GeForce 7950 GT/PCI/SSE2/3DNOW! (Its a dual core AMD Athlon)
OS Version: Windows XP Service Pack 2 (5.1)
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2124
    • View Profile
Re: Crash bug
« Reply #4 on: January 29, 2008, 05:42:55 pm »

OKI finally figured it out.  The other window needs to overlay the Anim8or window for it to crash.  If it's completely to the side the crash doesn't happen (at least on my system).

This is related to the bug where the toolbars get drawn sort in of a negative color.  It's due to a funamental mistake I make writing the 2D/3D graphics code and fairly difficult to fix properly.  But I think I can fix the crash fairly easily.
Logged

saakhmet

  • Newbie
  • *
  • Posts: 6
    • View Profile
    • kaddiska's space
Re: Crash bug
« Reply #5 on: March 03, 2008, 08:39:17 am »

man,you dont need to do much,just minimize anim8or v0.96..open another window..then maybe wait for some time,,select the anim8or v0.96 window,,and then it crashes!!it happens all the time,,i guess  it's like that 'cos it's still beta,,or a preview at the very least..but an annoying bug though!! :(
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2124
    • View Profile
Re: Crash bug
« Reply #6 on: March 04, 2008, 02:11:43 am »

Just to be clear, I have a work around that seems to fix this crash.  Anim8or still draws the view a little whacky but it doesn't crash.

#096-007 - Click-drag in Drag-Select Mode can Crash for Unfocused Anim8or Window.
Logged