Crash in xmlSAX2SetDocumentLocator when doing undo
Closed, InvalidPublic

Description

Occured in Blender 2.63.0 r45996
Windows XP 32-bit SP3 EN
ATI Radeon HD 2600 Pro, driver version 8.950.0.0

- Create cube (or use cube in default startup scene)
- Add Multiresolution modifier
- Press "Subdivide" on modifier settings panel 8-9 times
- Press ctrl+z to undo several times
- Repeat again until crashes (usually crashes at first undo but sometimes undo works to state of 0 subdivides, but after doing subdivide again and undoing again crashes)

Output of gdb (using standard binaries without debug symbols so not so many information):

Program received signal SIGSEGV, Segmentation fault.
0x006d0027 in xmlSAX2SetDocumentLocator ()
(gdb) bt
#0 0x006d0027 in xmlSAX2SetDocumentLocator ()
#1 0x006c5e99 in xmlSAX2SetDocumentLocator ()
#2 0x0022fd30 in ?? ()
#3 0x1e20d0fc in python32!_Py_SwappedOp () from C:\Program Files\Blender Foundation\Blender\python32.dll
#4 0xbaadf00d in ?? ()
#5 0xbaadf00d in ?? ()
#6 0xbaadf00d in ?? ()
#7 0xabababab in ?? ()
#8 0xabababab in ?? ()
#9 0x00000000 in ?? ()

Details

Type
Bug

Also noticed crashes on undo in this build after some other operations.

Also occured 2 times when creating new cylinder, and setting radius to "4mm", right after pressing Enter after typing "4mm".

Program received signal SIGSEGV, Segmentation fault.
0x006d0027 in xmlSAX2SetDocumentLocator ()
(gdb) bt
#0 0x006d0027 in xmlSAX2SetDocumentLocator ()
#1 0x006c5e99 in xmlSAX2SetDocumentLocator ()
#2 0x0022fd0c in ?? ()
#3 0x1e20d0fc in python32!_Py_SwappedOp () from C:\Program Files\Blender Foundation\Blender\python32.dll
#4 0xbaadf00d in ?? ()
#5 0xbaadf00d in ?? ()
#6 0xbaadf00d in ?? ()
#7 0xabababab in ?? ()
#8 0xabababab in ?? ()
#9 0x00000000 in ?? ()

Sounds like this isn't multires related. Judging from "0xbaadf00d", I guess uninitialized mem, impossible to say where from this backtrace.

Submitter: is this using the official 2.63 build? Have you tried 2.63a?

Yes, later discovered it was occuring not only by using multires.
Yes, occured in official build. And it not occuring in 2.63.0 for Mac OS, however it is r46461 (windows 2.63.0 is r45996).
I will try 2.63a.

Tried 2.63a (2.63.0 r46461:46487M; 32 bit; http://download.blender.org/release/Blender2.63/blender-2.63a-release-windows32.exe). When trying to do the same with multires modifier, crashes the same way, but stacktrace now slightly different:

Program received signal SIGSEGV, Segmentation fault.
0x006d0fd7 in xmlCheckHTTPInput ()
(gdb) bt
#0 0x006d0fd7 in xmlCheckHTTPInput ()
#1 0x006c6e99 in xmlCheckHTTPInput ()
#2 0x0022fd0c in ?? ()
#3 0x1e20d0fc in python32!_Py_SwappedOp () from C:\Program Files\Blender Foundation\Blender\python32.dll
#4 0xbaadf00d in ?? ()
#5 0xbaadf00d in ?? ()
#6 0xbaadf00d in ?? ()
#7 0xabababab in ?? ()
#8 0xabababab in ?? ()
#9 0x00000000 in ?? ()

One last thing to try, can you see if a more recent build works? Graphicall has some: http://graphicall.org/32bit/windows

Reassigning to Elubie.

Tried 2.63.11 r48011, this build http://graphicall.org/170
Windows XP 32-bit SP3 (the same configuration as in issue description).

Crash not occurs in this build, tried subsurf and undo multiple times, also tried adding cylinder and setting radius that caused crash in previous versions.

Add Comment