Editing an object with a Mirror Modifier applied causes a crash.
OSX - compiled with gcc6.2.1
Blender r51777:::
1. Add Cube to scene in 3D editor
2. Add mirror modifier
3. Attempt to enter Edit mode on Cube ===> Crash
Typical Crash Report :::::::
Process: blender [69297]
Path: /Users/USER/*/blender.app/Contents/MacOS/blender
Identifier: org.blenderfoundation.blender
Version: 2.64 (2.64, 2012-Oct-31, Blender Foundation)
Code Type: X86-64 (Native)
Parent Process: launchd [265]
Date/Time: 2012-10-31 10:48:38.560 +1030
OS Version: Mac OS X 10.7.5 (11G63)
Report Version: 9
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x000000018b49e154
VM Regions Near 0x18b49e154:
CG backing stores 000000012b462000-000000012c240000 [ 13.9M] rw-/rw- SM=SHM
-->
CG shared images 00000001c0001000-00000001c0009000 [ 32K] rw-/rw- SM=SHM
Application Specific Information:
objc[69297]: garbage collection is OFF
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 org.blenderfoundation.blender 0x0000000100500557 cdDM_drawMappedFaces + 1655
1 ??? 0x0000000106150398 0 + 4397007768
Description
Event Timeline
It appears the issue pops up in r51773 (*probably* as it does not build until r51775 applied)
Interesting, I just compiled r51781 and this is still occurring. It also happens with other modifiers.
r51784 also fails in the same way.
The only thing I can think of is that I use a version of GCC (4.6.1) I compiled to allow OpenMP to work as was the suggestion at the time due to it not working with Apple LLVM. Is this working with default XCode4 installs of llvm now?
LLVM doesn't support OpenMP yet, so it will not work currently. I couldn't redo the crash with my build on OS X, maybe you can do some tests to narrow down the cause:
* Use "Load Factory Settings" as first step
* Check if you have VBO's enabled in the user preferences
* Try a build from build.blender.org
OK.
Tested build r51784 :
* Load Fact Settings ==> works fine
* tried using my own settings but turning off VBO ==> works fine now
I see that Campbell has added this:
r51785 | campbellbarton | 2012-10-31 21:35:32 +1030 (Wed, 31 Oct 2012) | 2 lines
fix for crash in own commit r51773. drawing VBO's used the wrong origindex.
So I assume that this was the problem. Tested r51798 with my user prefs (VBO on) and works fine.
Please mark this as closed based on r51785 fixing the problem.