Remove Doubles produces holes in mesh #56074

Closed
opened 2018-07-21 19:41:06 +02:00 by Jacob · 5 comments

System Information
Mac OSX 10.13.4, AMD Radeon R9 M370X 2048 MB
Intel Iris Pro 1536 MB (But I've seen this error on other OSs too).

Blender Version
Broken: 2.79b f4dc9f9
Worked: 2.79 5bd8ac9

When I "remove doubles" on an imported OBJ file, it inappropriately removes some faces, leaving holes in the mesh. This does not happen on older versions of blender (2.79b vs. 2.79)

  1. Load the attached OBJ file.

  2. Switch to edit mode.

  3. With all vertices selected, click on Remove Doubles in the Tools shelf.

  4. The mesh now has holes.

protein_nucleic_surf_A.mtl

protein_nucleic_surf_A.obj

**System Information** Mac OSX 10.13.4, AMD Radeon R9 M370X 2048 MB Intel Iris Pro 1536 MB (But I've seen this error on other OSs too). **Blender Version** Broken: 2.79b f4dc9f9 Worked: 2.79 5bd8ac9 When I "remove doubles" on an imported OBJ file, it inappropriately removes some faces, leaving holes in the mesh. This does not happen on older versions of blender (2.79b vs. 2.79) 1. Load the attached OBJ file. 2. Switch to edit mode. 3. With all vertices selected, click on Remove Doubles in the Tools shelf. 4. The mesh now has holes. [protein_nucleic_surf_A.mtl](https://archive.blender.org/developer/F4008151/protein_nucleic_surf_A.mtl) [protein_nucleic_surf_A.obj](https://archive.blender.org/developer/F4008150/protein_nucleic_surf_A.obj)
Author

Added subscriber: @jdurrant

Added subscriber: @jdurrant

Added subscribers: @ideasman42, @mont29

Added subscribers: @ideasman42, @mont29
Campbell Barton was assigned by Bastien Montagne 2018-07-26 17:46:53 +02:00

Not sure whether @ideasman42 wants to have a look here… That mesh has terrible geometry I think, but on the other hands remove doubles code generates a lot of asserts like that:

/usr/lib/x86_64-linux-gnu/libasan.so.4(+0x54741) [0x7f76578d4741]
./bin/blender(BLI_system_backtrace+0x9b) [0x55fff2da0a92]
./bin/blender(+0x536311a) [0x55fff1b5b11a]
./bin/blender(bmo_find_doubles_exec+0x45) [0x55fff1b5b57e]
./bin/blender(BMO_op_exec+0x112) [0x55fff17f0040]
./bin/blender(+0x40c9505) [0x55fff08c1505]
./bin/blender(+0x34b1c1b) [0x55ffefca9c1b]
./bin/blender(+0x34b2bd1) [0x55ffefcaabd1]
./bin/blender(WM_operator_name_call_ptr+0x116) [0x55ffefcaae32]
./bin/blender(+0x3da31f3) [0x55fff059b1f3]
./bin/blender(+0x3deca92) [0x55fff05e4a92]
./bin/blender(+0x34ac574) [0x55ffefca4574]
./bin/blender(+0x34b79ff) [0x55ffefcaf9ff]
./bin/blender(+0x34b7ffe) [0x55ffefcafffe]
./bin/blender(wm_event_do_handlers+0xa66) [0x55ffefcb27af]
./bin/blender(WM_main+0x30) [0x55ffefc98c55]
./bin/blender(main+0xb32) [0x55ffefc8e4f6]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f764e268b17]
./bin/blender(_start+0x2a) [0x55ffefc8d78a]
BLI_assert failed: /home/i74700deb64/blender/__work__/src/source/blender/bmesh/operators/bmo_removedoubles.c:622, bmesh_find_doubles_common(), at '(((duplicates[duplicates[i]]) == (-1)) || ((duplicates[duplicates[i]]) == (duplicates[i])))'
Not sure whether @ideasman42 wants to have a look here… That mesh has terrible geometry I think, but on the other hands remove doubles code generates a lot of asserts like that: ``` /usr/lib/x86_64-linux-gnu/libasan.so.4(+0x54741) [0x7f76578d4741] ./bin/blender(BLI_system_backtrace+0x9b) [0x55fff2da0a92] ./bin/blender(+0x536311a) [0x55fff1b5b11a] ./bin/blender(bmo_find_doubles_exec+0x45) [0x55fff1b5b57e] ./bin/blender(BMO_op_exec+0x112) [0x55fff17f0040] ./bin/blender(+0x40c9505) [0x55fff08c1505] ./bin/blender(+0x34b1c1b) [0x55ffefca9c1b] ./bin/blender(+0x34b2bd1) [0x55ffefcaabd1] ./bin/blender(WM_operator_name_call_ptr+0x116) [0x55ffefcaae32] ./bin/blender(+0x3da31f3) [0x55fff059b1f3] ./bin/blender(+0x3deca92) [0x55fff05e4a92] ./bin/blender(+0x34ac574) [0x55ffefca4574] ./bin/blender(+0x34b79ff) [0x55ffefcaf9ff] ./bin/blender(+0x34b7ffe) [0x55ffefcafffe] ./bin/blender(wm_event_do_handlers+0xa66) [0x55ffefcb27af] ./bin/blender(WM_main+0x30) [0x55ffefc98c55] ./bin/blender(main+0xb32) [0x55ffefc8e4f6] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f764e268b17] ./bin/blender(_start+0x2a) [0x55ffefc8d78a] BLI_assert failed: /home/i74700deb64/blender/__work__/src/source/blender/bmesh/operators/bmo_removedoubles.c:622, bmesh_find_doubles_common(), at '(((duplicates[duplicates[i]]) == (-1)) || ((duplicates[duplicates[i]]) == (duplicates[i])))' ```

This issue was referenced by 71564debf9

This issue was referenced by 71564debf919d9ac99387359e9a07195bf0d94ff

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#56074
No description provided.