[vtkusers] vtkGL2PSExporter crashes

David Lonie david.lonie at kitware.com
Fri May 5 14:15:08 EDT 2017

This is really weird, that stack is corrupt as well.

Try running the application through a memory analyzer (something like
valgrind on linux, not sure what the equivalent would be for windows).
Maybe it'll show where the stack is being overwritten. Double check
array usage in your application to see if anything is writing past the
end of an array or something similar.


On Fri, May 5, 2017 at 2:12 PM, rakesh patil <prakeshofficial at gmail.com> wrote:
> Hi David,
> I tried the test example of vtkGL2PSExporter separately on another system.
> Attached the stack trace of the runtime crash.
> On Fri, May 5, 2017 at 7:54 PM, David Lonie <david.lonie at kitware.com> wrote:
>> On Fri, May 5, 2017 at 10:23 AM, rakesh patil <prakeshofficial at gmail.com>
>> wrote:
>> > I will check the unit tests. Before that, I would like to know whether
>> > it is
>> > mandatory that ghostscript should be installed if I want to use
>> > vtkGL2PSExporter? Because I do not have GhostScript installed. Would
>> > that be
>> > a reason?
>> Ghostscript is not needed for GL2PS for work, we just use it to
>> validate the output from the unit tests, so the tests are disabled
>> unless it's found.

More information about the vtkusers mailing list