From: John Stone (johns_at_ks.uiuc.edu)
Date: Mon May 10 2021 - 15:39:22 CDT

Francois-Xavier,
  There are two different QuickSurf code paths, one for color-per-atom and one
for color-per-surface.

Does it matter which coloring method you have active when you
create the QuickSurf representation? Does it also crash if the
coloring method is set to "ColorID" prior to changing the rep
to QuickSurf (color-per-surface)?
I'm guessing that the crashes that have been reported likely occured for
color by "Name", which is the color-per-atom code path, but I want to
determine whether it crashes in both cases or only one.
If you can test by setting the rep coloring method prior to changing
from say, Lines, to QuickSurf, that would help me determine more details
about what is going wrong here.

Best,
  John Stone

On Mon, May 10, 2021 at 09:50:46PM +0200, FX wrote:
> Hi,
>
> I can reproduce that crash. Below is the info requested.
>
> Cheers,
> FX
>
>
> Exception Type: EXC_BAD_ACCESS (SIGSEGV)
> Exception Codes: EXC_I386_GPFLT
> Exception Note: EXC_CORPSE_NOTIFY
>
> Termination Signal: Segmentation fault: 11
> Termination Reason: Namespace SIGNAL, Code 0xb
> Terminating Process: exc handler [65654]
>
> Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
> 0 VMD 0x000000010d1e95f5 vmd_gaussdensity_avx2(int, int, float const*, float const*, float const*, float*, float*, int const*, float, float, float, float) + 1225
> 1 VMD 0x000000010d379f67 vmd_gaussdensity_opt(wkf_cpu_caps_struct*, int, int, float const*, float const*, float const*, float*, float*, int const*, float, float, float, float) + 3435
> 2 VMD 0x000000010d378e9f QuickSurf::calc_surf(AtomSel*, DrawMolecule*, float const*, float const*, int, float, float, float, int const*, float const*, VMDDisplayList*) + 4491
> 3 VMD 0x000000010d311c3a DrawMolItem::draw_quicksurf(float*, int, float, float, float) + 412
> 4 VMD 0x000000010d2f9545 DrawMolItem::create_cmdlist() + 1511
> 5 VMD 0x000000010d2f437c Displayable::draw_prepare() + 40
> 6 VMD 0x000000010d2f439f Displayable::draw_prepare() + 75
> 7 VMD 0x000000010d2f439f Displayable::draw_prepare() + 75
> 8 VMD 0x000000010d382397 Scene::prepare() + 171
> 9 VMD 0x000000010d39ac2e VMDApp::VMDupdate(int) + 156
> 10 VMD 0x000000010d3cf8b9 main + 176
> 11 libdyld.dylib 0x00007fff20579f3d start + 1
>
>
> ProductName: macOS
> ProductVersion: 11.3.1
> BuildVersion: 20E241
>
>
> Info) Multithreading available, 12 CPUs detected.
> Info) CPU features: SSE2 SSE4.1 AVX AVX2 FMA F16 HT
> Info) High-DPI OpenGL display support enabled.
> Info) OpenGL renderer: AMD Radeon Pro 560X OpenGL Engine
> Info) Features: STENCIL MDE MTX NPOT PP PS GLSL(OVF)
> Info) Full GLSL rendering mode is available.
> Info) Textures: 2-D (16384x16384), 3-D (16384x16384x16384), Multitexture (8)
>

-- 
NIH Center for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
http://www.ks.uiuc.edu/~johns/           Phone: 217-244-3349
http://www.ks.uiuc.edu/Research/vmd/