# \#bug

**URL:** https://discourse.vtk.org/tag/bug/11.md

[Latest](https://discourse.vtk.org/latest.md) · [Categories](https://discourse.vtk.org/categories.md) · [Tags](https://discourse.vtk.org/tags.md)

---

## [vtkExodusIIReader: Potential Memory Bugs](https://discourse.vtk.org/t/vtkexodusiireader-potential-memory-bugs/16382)

<div class="topic-metadata">

**Author:** [@Landon-Huking](https://discourse.vtk.org/u/Landon-Huking)\
**Replies:** 2\
**Last updated:** [April 21, 2026, 3:39pm UTC](https://discourse.vtk.org/t/vtkexodusiireader-potential-memory-bugs/16382 "2026-04-21T15:39:03Z")

</div>

Intro Hi! I have been fuzzing VTK file readers and have potentially fond some memory bugs in the vtkExodusIIReader module. Fuzzing Setup All fuzzing was done with AFL++ using a from source build of VTK with AFL instrume…

---

## [VTK reporting potential vulnerabilities](https://discourse.vtk.org/t/vtk-reporting-potential-vulnerabilities/15796)

<div class="topic-metadata">

**Author:** [@harrypantazis](https://discourse.vtk.org/u/harrypantazis)\
**Replies:** 3\
**Last updated:** [April 17, 2026, 11:39pm UTC](https://discourse.vtk.org/t/vtk-reporting-potential-vulnerabilities/15796 "2026-04-17T23:39:14Z")

</div>

Greetings, I have been fuzzing an open-source application which depends on VTK (9.5) as part of a security code audit and have identified a series of memory errors for a specific filetype parser in VTK. Which would be …

---

## [Volume for QuadHexahedrons incorrect](https://discourse.vtk.org/t/volume-for-quadhexahedrons-incorrect/16358)

<div class="topic-metadata">

**Author:** [@magicmangoman](https://discourse.vtk.org/u/magicmangoman)\
**Replies:** 0\
**Last updated:** [March 25, 2026, 2:42pm UTC](https://discourse.vtk.org/t/volume-for-quadhexahedrons-incorrect/16358 "2026-03-25T14:42:12Z")

</div>

Incorrect Volume for QuadraticHexahedron ?! Hi, it appears that vtk gives out an incorrect volume for QuadraticHexahedrons, i.e. for the Cell defined in vtkQuadraticHexahedron.h. This is verified by the failure of the f…

---

## [Wrong orientation of principal vector generated by vtkTensorPrincipalInvariants](https://discourse.vtk.org/t/wrong-orientation-of-principal-vector-generated-by-vtktensorprincipalinvariants/16218)

<div class="topic-metadata">

**Author:** [@npoletz](https://discourse.vtk.org/u/npoletz)\
**Replies:** 2\
**Last updated:** [January 12, 2026, 9:26am UTC](https://discourse.vtk.org/t/wrong-orientation-of-principal-vector-generated-by-vtktensorprincipalinvariants/16218 "2026-01-12T09:26:36Z")

</div>

Hello, I believe there is an error in the principal vector orientations produced by vtkTensorPrincipalInvariants. In the image below, the diagonal tensor \[1, 2, 3\] (left) and its version rotated counterclockwise by π/6…

---

## [vtkChartXY log scale is not working - possible bug](https://discourse.vtk.org/t/vtkchartxy-log-scale-is-not-working-possible-bug/14085)

<div class="topic-metadata">

**Author:** [@eduardo.camargo](https://discourse.vtk.org/u/eduardo.camargo)\
**Replies:** 5\
**Last updated:** [December 22, 2025, 11:52pm UTC](https://discourse.vtk.org/t/vtkchartxy-log-scale-is-not-working-possible-bug/14085 "2025-12-22T23:52:02Z")

</div>

Hello, everyone! We use VTK on several projects in my company and recently, during an upgrade from VTK-6.3.0 to VTK-9.3.0, a bug was found. I have already debugged the VTK source hoping that I could find a fix for it bu…

---

## [Partial model loss in array display when the number of triangles is huge.](https://discourse.vtk.org/t/partial-model-loss-in-array-display-when-the-number-of-triangles-is-huge/16015)

<div class="topic-metadata">

**Author:** [@DDS](https://discourse.vtk.org/u/DDS)\
**Replies:** 0\
**Last updated:** [September 5, 2025, 7:05am UTC](https://discourse.vtk.org/t/partial-model-loss-in-array-display-when-the-number-of-triangles-is-huge/16015 "2025-09-05T07:05:44Z")

</div>

I have a STL file which has 983236 triangles. I read it and use vtkAppendPolyData and vtkTransformPolyDataFilter to make a new data for the matrix display. Whe I set nx=ny=nz=7, it was displayed correctly. However when I…

---

## [VTK Array doesn't work correctly if it's used under Unreal Engine](https://discourse.vtk.org/t/vtk-array-doesnt-work-correctly-if-its-used-under-unreal-engine/15812)

<div class="topic-metadata">

**Author:** [@dragontesa](https://discourse.vtk.org/u/dragontesa)\
**Replies:** 13\
**Last updated:** [July 22, 2025, 7:31pm UTC](https://discourse.vtk.org/t/vtk-array-doesnt-work-correctly-if-its-used-under-unreal-engine/15812 "2025-07-22T19:31:09Z")

</div>

Hello Everyone. I’ve been trying to integrate VTK into Unreal Engine for months. I wrote a plugin to wrap VTK using as a thirdparty library. The plugin module built with RTTI enabled due to compiling VTK on Linux. Bu…

---

## [Mesh Quality Degradation with vtkClipPolyData in Recent VTK Versions: PyVista & ParaView Behavior](https://discourse.vtk.org/t/mesh-quality-degradation-with-vtkclippolydata-in-recent-vtk-versions-pyvista-paraview-behavior/14762)

<div class="topic-metadata">

**Author:** [@gnikit](https://discourse.vtk.org/u/gnikit)\
**Replies:** 11\
**Last updated:** [October 25, 2024, 5:58pm UTC](https://discourse.vtk.org/t/mesh-quality-degradation-with-vtkclippolydata-in-recent-vtk-versions-pyvista-paraview-behavior/14762 "2024-10-25T17:58:00Z")

</div>

I recently noticed a deterioration in the mesh quality of the filter vtkClipPolyData. I was able to reproduce the exact same poor quality clip with PyVista and ParaView (clip\_scalar in PyVista and Clip\>Clip Type=Scalar i…

---

## [Bug in vtkCamera::setUserViewTransform with an inverse vtkTransform](https://discourse.vtk.org/t/bug-in-vtkcamera-setuserviewtransform-with-an-inverse-vtktransform/14738)

<div class="topic-metadata">

**Author:** [@manik](https://discourse.vtk.org/u/manik)\
**Replies:** 6\
**Last updated:** [October 22, 2024, 1:42pm UTC](https://discourse.vtk.org/t/bug-in-vtkcamera-setuserviewtransform-with-an-inverse-vtktransform/14738 "2024-10-22T13:42:13Z")

</div>

Hi, I think I found a bug somewhere between vtkCamera and vtkAbstractTransform/vtkTransform that leads to a deadlock due to a mutex being locked twice. I made a minimal example: just use the vtkCamera example and add t…

---

## [vtkLine distanceToLine does not work as written in documentation?](https://discourse.vtk.org/t/vtkline-distancetoline-does-not-work-as-written-in-documentation/14563)

<div class="topic-metadata">

**Author:** [@ladela](https://discourse.vtk.org/u/ladela)\
**Replies:** 1\
**Last updated:** [September 12, 2024, 3:26pm UTC](https://discourse.vtk.org/t/vtkline-distancetoline-does-not-work-as-written-in-documentation/14563 "2024-09-12T15:26:49Z")

</div>

Hi everyone, I am using vtk for my project in python and I just found out the computation of distanceToLine does not work as written in the documentation. (Snippet below.) Static Public Member Functions static vtkLine …

---

## [How to use \`CMAKE\_INSTALL\_PREFIX\` to solve \`The \`MODULE\_DESTINATION\` must not be an absolute path.\` error](https://discourse.vtk.org/t/how-to-use-cmake-install-prefix-to-solve-the-module-destination-must-not-be-an-absolute-path-error/14531)

<div class="topic-metadata">

**Author:** [@azmyin12](https://discourse.vtk.org/u/azmyin12)\
**Replies:** 3\
**Last updated:** [September 6, 2024, 5:08pm UTC](https://discourse.vtk.org/t/how-to-use-cmake-install-prefix-to-solve-the-module-destination-must-not-be-an-absolute-path-error/14531 "2024-09-06T17:08:00Z")

</div>

Hello, I am in the process of upgrading MIT’s LabelFusion, an open-source RGBD data annotation tool for use in Ubuntu 22.04. It uses their in-house Direction app that used to use VTK \<=4.8. Since Ubuntu 22.04 comes equ…

---

## [VTK & Qt: rendering issues when drawing thick lines](https://discourse.vtk.org/t/vtk-qt-rendering-issues-when-drawing-thick-lines/13903)

<div class="topic-metadata">

**Author:** [@dkutak](https://discourse.vtk.org/u/dkutak)\
**Replies:** 19\
**Last updated:** [September 5, 2024, 5:56am UTC](https://discourse.vtk.org/t/vtk-qt-rendering-issues-when-drawing-thick-lines/13903 "2024-09-05T05:56:59Z")

</div>

Hello, We are using Qt 5.15.7 and VTK 9.2.2. After the update from VTK 8.2.0, we started to encounter strange line-rendering issues that did not occur before. These issues apply to all lines that are rendered with thick…

---

## [Tree edges are rendered incorrectly in vtkCocoa after calling SetLineWidth()](https://discourse.vtk.org/t/tree-edges-are-rendered-incorrectly-in-vtkcocoa-after-calling-setlinewidth/14436)

<div class="topic-metadata">

**Author:** [@fraseyboo](https://discourse.vtk.org/u/fraseyboo)\
**Replies:** 0\
**Last updated:** [August 20, 2024, 10:56pm UTC](https://discourse.vtk.org/t/tree-edges-are-rendered-incorrectly-in-vtkcocoa-after-calling-setlinewidth/14436 "2024-08-20T22:56:36Z")

</div>

So there appears to be an obscure bug present in the vtkCocoa renderer (used in MacOS) which happens in vtkGraphLayoutView. Modifying the line width of the graph edges breaks the render. It appears that all rectangles in…

---

## [Bug: Render VTK window offscreen in Apple vtkCocoaGLView](https://discourse.vtk.org/t/bug-render-vtk-window-offscreen-in-apple-vtkcocoaglview/14099)

<div class="topic-metadata">

**Author:** [@JeffreyWardman](https://discourse.vtk.org/u/JeffreyWardman)\
**Replies:** 1\
**Last updated:** [June 26, 2024, 12:57am UTC](https://discourse.vtk.org/t/bug-render-vtk-window-offscreen-in-apple-vtkcocoaglview/14099 "2024-06-26T00:57:53Z")

</div>

I have a library which renders fine and without segfaults on arm64 mac and for linux and windows. I have a QT application which uses this library and works fine for linux and windows but not for mac. In the library, I …

---

## [Filter vtkSubdivideTetra results in negative volumes](https://discourse.vtk.org/t/filter-vtksubdividetetra-results-in-negative-volumes/14054)

<div class="topic-metadata">

**Author:** [@sfladi](https://discourse.vtk.org/u/sfladi)\
**Replies:** 0\
**Last updated:** [June 14, 2024, 12:14pm UTC](https://discourse.vtk.org/t/filter-vtksubdividetetra-results-in-negative-volumes/14054 "2024-06-14T12:14:12Z")

</div>

When using the vtkSubdivideTetra filter, half of the resulting tetrahedral cells have negative volume, resulting in a zero or close to zero volume for the whole mesh. This probably has to do with with the ordering of ve…

---

## [Widgets selection priority bug](https://discourse.vtk.org/t/widgets-selection-priority-bug/13642)

<div class="topic-metadata">

**Author:** [@cvAIRteam](https://discourse.vtk.org/u/cvAIRteam)\
**Replies:** 0\
**Last updated:** [March 28, 2024, 8:21am UTC](https://discourse.vtk.org/t/widgets-selection-priority-bug/13642 "2024-03-28T08:21:06Z")

</div>

Hello, When two (or more) widgets are created and one is visually behind the other, the widget selected is the first widget created. So if the widget behind is created first, it will be selected even if visually we sel…

---

## [Error occurs when using vtkPixelSpaceCallbackMapper with TypeScript](https://discourse.vtk.org/t/error-occurs-when-using-vtkpixelspacecallbackmapper-with-typescript/12853)

<div class="topic-metadata">

**Author:** [@mkubota](https://discourse.vtk.org/u/mkubota)\
**Replies:** 2\
**Last updated:** [December 28, 2023, 8:51pm UTC](https://discourse.vtk.org/t/error-occurs-when-using-vtkpixelspacecallbackmapper-with-typescript/12853 "2023-12-28T20:51:18Z")

</div>

I tried this example in typescript, but below error occured. SphereAndLabels.ts:44:22 - error TS2345: Argument of type '(coordsList: any) =\> void' is not assignable to parameter of type '() =\> any'. Target signature p…
