Skip to content

LFM Reader seg faults in isStrInList #9

@pedros007

Description

@pedros007

UPDATE

to reproduce:

  1. Load single LFM file
  2. DO NOT click apply
  3. Change file list selection to a time series of files
  4. Apply
  5. deselect all but Density.
  6. Apply

Crash will occur almost immediately.


I sporadically get a segfault when clicking the [...] button next to the filename list on the vtkLFMReader source. The stack trace (below) suggests a problem somehow with isStrInList. Printing to stdout suggests this happens on the "rho_" variable.

Process:         paraview [84587]
Path:            /Applications/ParaView-4.0.1-Darwin-64bit.app/Contents/MacOS/paraview
Identifier:      ???
Version:         ??? (???)
Code Type:       X86-64 (Native)
Parent Process:  bash [34610]

Date/Time:       2013-08-15 16:46:31.037 -0600
OS Version:      Mac OS X 10.7.5 (11G63b)
Report Version:  9

Interval Since Last Report:          125783 sec
Crashes Since Last Report:           23
Per-App Interval Since Last Report:  3688 sec
Per-App Crashes Since Last Report:   23
Anonymous UUID:                      2271162C-AA0F-4F34-BB1F-72FC163A76BA

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0xffffffffffffffe8

VM Regions Near 0xffffffffffffffe8:
--> shared memory          00007fffffe00000-00007fffffe02000 [    8K] r-x/r-x SM=SHM  


Application Specific Information:
objc[84587]: garbage collection is OFF

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libstdc++.6.dylib               0x00007fff912d48b4 std::string::compare(std::string const&) const + 10
1   libGhostKit.dylib               0x00000001123937dd bool std::operator==<char, std::char_traits<char>, std::allocator<char> >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) + 29 (basic_string.h:2153)
2   libGhostKit.dylib               0x0000000112393768 std::_List_const_iterator<std::string> std::__find<std::_List_const_iterator<std::string>, std::string>(std::_List_const_iterator<std::string>, std::_List_const_iterator<std::string>, std::string const&, std::input_iterator_tag) + 72 (stl_algo.h:173)
3   libGhostKit.dylib               0x0000000112388566 std::_List_const_iterator<std::string> std::find<std::_List_const_iterator<std::string>, std::string>(std::_List_const_iterator<std::string>, std::_List_const_iterator<std::string>, std::string const&) + 70 (stl_algo.h:327)
4   libGhostKit.dylib               0x0000000112379897 isStrInList(std::list<std::string, std::allocator<std::string> > const&, std::string const&) + 71 (vtkLFMReader.cxx:50)
5   libGhostKit.dylib               0x000000011237993d hasVariable(std::list<std::string, std::allocator<std::string> > const&, std::string const&) + 29 (vtkLFMReader.cxx:74)
6   libGhostKit.dylib               0x000000011237a71e vtkLFMReader::RequestInformation(vtkInformation*, vtkInformationVector**, vtkInformationVector*) + 1886 (vtkLFMReader.cxx:138)
7   libvtkPVVTKExtensionsDefault-pv4.0.1.dylib  0x0000000104505e03 vtkFileSeriesReader::RequestInformationForInput(int, vtkInformation*, vtkInformationVector*) + 371
8   libvtkPVVTKExtensionsDefault-pv4.0.1.dylib  0x0000000104505b24 vtkFileSeriesReader::RequestInformation(vtkInformation*, vtkInformationVector**, vtkInformationVector*) + 532
9   libvtkPVVTKExtensionsDefault-pv4.0.1.dylib  0x00000001045055ea vtkFileSeriesReader::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) + 266
10  libvtkCommonExecutionModel-pv4.0.1.dylib    0x00000001079c996e vtkExecutive::CallAlgorithm(vtkInformation*, int, vtkInformationVector**, vtkInformationVector*) + 78
11  libvtkCommonExecutionModel-pv4.0.1.dylib    0x00000001079dd1b0 vtkStreamingDemandDrivenPipeline::ExecuteInformation(vtkInformation*, vtkInformationVector**, vtkInformationVector*) + 48
12  libvtkCommonExecutionModel-pv4.0.1.dylib    0x00000001079c0270 vtkDemandDrivenPipeline::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) + 752
13  libvtkCommonExecutionModel-pv4.0.1.dylib    0x00000001079dc6a8 vtkStreamingDemandDrivenPipeline::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) + 1480
14  libvtkPVServerImplementationCore-pv4.0.1.dylib  0x0000000104f77a19 vtkSISourceProxy::UpdatePipelineInformation() + 89
15  libvtkPVServerManagerApplication-pv4.0.1.dylib  0x000000010368ca4a vtkSISourceProxyCommand(vtkClientServerInterpreter*, vtkObjectBase*, char const*, vtkClientServerStream const&, vtkClientServerStream&) + 826

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions