View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015184ParaView(No Category)public2014-12-05 09:522015-01-02 10:43
ReporterCory Quammen 
Assigned ToTristan Coulange 
PriorityhighSeveritycrashReproducibilityhave not tried
StatusclosedResolutionunable to reproduce 
PlatformOSOS Version
Product Versiongit-master 
Target VersionFixed in Version4.3 
Summary0015184: Crash when using Rescale to Visible Data Range
DescriptionSteps to reproduce:

- run paraview/local server
- Sources -> Sphere
- Color by Normals
- Click "Rescale to Visible Data Range"
- Crash
Additional InformationCode crashes with backtrace

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff2a47495 in vtkHardwareSelector::vtkInternals::ConvertSelection (this=0x1cf1940, fieldassociation=0, dataMap=..., pixelCounts=...)
    at /home/cory/code/src/ParaView/VTK/Rendering/Core/vtkHardwareSelector.cxx:136
136 ptr[cc] = key.Prop->GetConvertedPickValue(*idIter, fieldassociation);
(gdb) bt
#0 0x00007ffff2a47495 in vtkHardwareSelector::vtkInternals::ConvertSelection (this=0x1cf1940, fieldassociation=0, dataMap=..., pixelCounts=...)
    at /home/cory/code/src/ParaView/VTK/Rendering/Core/vtkHardwareSelector.cxx:136
#1 0x00007ffff2a49f65 in vtkHardwareSelector::GenerateSelection (this=0x1cf1840, x1=0, y1=0, x2=1300, y2=686)
    at /home/cory/code/src/ParaView/VTK/Rendering/Core/vtkHardwareSelector.cxx:751
#2 0x00007ffff38f3f7f in vtkPVHardwareSelector::Select (this=0x1cf1840, region=0x7fffffffc3b0)
    at /home/cory/code/src/ParaView/ParaViewCore/ClientServerCore/Rendering/vtkPVHardwareSelector.cxx:102
#3 0x00007ffff3924310 in vtkPVRenderView::Select (this=0x1ca0990, fieldAssociation=0, region=0x7fffffffc3b0)
    at /home/cory/code/src/ParaView/ParaViewCore/ClientServerCore/Rendering/vtkPVRenderView.cxx:651
#4 0x00007ffff3924001 in vtkPVRenderView::SelectPoints (this=0x1ca0990, region=0x7fffffffc3b0)
    at /home/cory/code/src/ParaView/ParaViewCore/ClientServerCore/Rendering/vtkPVRenderView.cxx:603
#5 0x00007fffee4996ee in vtkPVRenderView::SelectPoints (this=0x1ca0990, region0=0, region1=0, region2=1300, region3=686)
    at /home/cory/code/src/ParaView/ParaViewCore/ClientServerCore/Rendering/vtkPVRenderView.h:261
#6 0x00007fffee494996 in vtkPVRenderViewCommand (arlu=0xbe26e0, ob=0x1ca0990, method=0x41b3c59 "SelectPoints", msg=..., resultStream=...)
    at Wrapping/ClientServer/vtkPVRenderViewClientServer.cxx:579
#7 0x00007fffed024984 in vtkClientServerInterpreter::CallCommandFunction (this=0xbe26e0, cname=0x7ffff3981512 "vtkPVRenderView", ptr=0x1ca0990, method=0x41b3c59 "SelectPoints",
    msg=..., result=...) at /home/cory/code/src/ParaView/ParaViewCore/ClientServerStream/vtkClientServerInterpreter.cxx:848
#8 0x00007fffed02316d in vtkClientServerInterpreter::ProcessCommandInvoke (this=0xbe26e0, css=..., midx=0)
    at /home/cory/code/src/ParaView/ParaViewCore/ClientServerStream/vtkClientServerInterpreter.cxx:437
0000009 0x00007fffed0226c5 in vtkClientServerInterpreter::ProcessOneMessage (this=0xbe26e0, css=..., message=0)
    at /home/cory/code/src/ParaView/ParaViewCore/ClientServerStream/vtkClientServerInterpreter.cxx:269
#10 0x00007fffed02254f in vtkClientServerInterpreter::ProcessStream (this=0xbe26e0, css=...)
    at /home/cory/code/src/ParaView/ParaViewCore/ClientServerStream/vtkClientServerInterpreter.cxx:238
0000011 0x00007ffff305b1cb in vtkPVSessionCore::ExecuteStreamInternal (this=0xbe1be0, stream=..., ignore_errors=false)
    at /home/cory/code/src/ParaView/ParaViewCore/ServerImplementation/Core/vtkPVSessionCore.cxx:669
#12 0x00007ffff305afd3 in vtkPVSessionCore::ExecuteStream (this=0xbe1be0, location=21, stream=..., ignore_errors=false)
    at /home/cory/code/src/ParaView/ParaViewCore/ServerImplementation/Core/vtkPVSessionCore.cxx:639
#13 0x00007ffff3057822 in vtkPVSessionBase::ExecuteStream (this=0xbe2650, location=21, stream=..., ignore_errors=false)
    at /home/cory/code/src/ParaView/ParaViewCore/ServerImplementation/Core/vtkPVSessionBase.cxx:168
#14 0x00007ffff34a1ba6 in vtkSMProxy::ExecuteStream (this=0xb85970, stream=..., ignore_errors=false, location=21)
    at /home/cory/code/src/ParaView/ParaViewCore/ServerManager/Core/vtkSMProxy.cxx:2321
#15 0x00007ffff46c2ce4 in vtkSMRenderViewProxy::SelectSurfacePoints (this=0xb85970, region=0x7fffffffce50, selectedRepresentations=0x42fef80, selectionSources=0x40eada0,
    multiple_selections=true) at /home/cory/code/src/ParaView/ParaViewCore/ServerManager/Rendering/vtkSMRenderViewProxy.cxx:871
#16 0x00007ffff46c3446 in vtkSMRenderViewProxy::ComputeVisibleScalarRange (this=0xb85970, region=0x7fffffffce50, fieldAssociation=0, scalarName=0x1d9ccc8 "Normals", component=-1,
    range=0x7fffffffcee0) at /home/cory/code/src/ParaView/ParaViewCore/ServerManager/Rendering/vtkSMRenderViewProxy.cxx:988
#17 0x00007ffff46c31fe in vtkSMRenderViewProxy::ComputeVisibleScalarRange (this=0xb85970, fieldAssociation=0, scalarName=0x1d9ccc8 "Normals", component=-1, range=0x7fffffffcee0)
    at /home/cory/code/src/ParaView/ParaViewCore/ServerManager/Rendering/vtkSMRenderViewProxy.cxx:958
#18 0x00007ffff46bd47d in vtkSMPVRepresentationProxy::RescaleTransferFunctionToVisibleRange (this=0x3999f10, view=0xb85970, arrayname=0x1d9ccc8 "Normals", attribute_type=0)
    at /home/cory/code/src/ParaView/ParaViewCore/ServerManager/Rendering/vtkSMPVRepresentationProxy.cxx:406
#19 0x00007ffff46bcef4 in vtkSMPVRepresentationProxy::RescaleTransferFunctionToVisibleRange (this=0x3999f10, view=0xb85970)
    at /home/cory/code/src/ParaView/ParaViewCore/ServerManager/Rendering/vtkSMPVRepresentationProxy.cxx:349
#20 0x00007ffff7aecf8e in vtkSMPVRepresentationProxy::RescaleTransferFunctionToVisibleRange (proxy=0x3999f10, view=0xb85970)
    at /home/cory/code/src/ParaView/ParaViewCore/ServerManager/Rendering/vtkSMPVRepresentationProxy.h:169
#21 0x00007ffff7b2eda6 in pqRescaleVisibleScalarRangeReaction::rescaleVisibleScalarRange (this=0xbbff40)
    at /home/cory/code/src/ParaView/Qt/ApplicationComponents/pqRescaleVisibleScalarRangeReaction.cxx:79
#22 0x00007ffff7b62156 in pqRescaleVisibleScalarRangeReaction::onTriggered (this=0xbbff40)
    at Qt/ApplicationComponents/../../../../src/ParaView/Qt/ApplicationComponents/pqRescaleVisibleScalarRangeReaction.h:59
#23 0x00007ffff7b6174c in pqReaction::qt_static_metacall (_o=0xbbff40, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffffffd210) at Qt/ApplicationComponents/moc_pqReaction.cxx:51
#24 0x00007ffff582887a in QMetaObject::activate (sender=sender@entry=0xbbbe90, m=m@entry=0x7ffff67efde0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1,
    argv=argv@entry=0x7fffffffd210) at kernel/qobject.cpp:3539
#25 0x00007ffff5d3fa62 in QAction::triggered (this=this@entry=0xbbbe90, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#26 0x00007ffff5d41433 in QAction::activate (this=0xbbbe90, event=<optimized out>) at kernel/qaction.cpp:1257
#27 0x00007ffff60f8b02 in QAbstractButtonPrivate::click (this=this@entry=0xbbe750) at widgets/qabstractbutton.cpp:530
#28 0x00007ffff60f8c2c in QAbstractButton::mouseReleaseEvent (this=0xbbe720, e=0x7fffffffd6d0) at widgets/qabstractbutton.cpp:1123
#29 0x00007ffff61afa4a in QToolButton::mouseReleaseEvent (this=<optimized out>, e=<optimized out>) at widgets/qtoolbutton.cpp:723
#30 0x00007ffff5d9550a in QWidget::event (this=0xbbe720, event=0x7fffffffd6d0) at kernel/qwidget.cpp:8376
#31 0x00007ffff5d45e2c in QApplicationPrivate::notify_helper (this=this@entry=0x79b080, receiver=receiver@entry=0xbbe720, e=e@entry=0x7fffffffd6d0) at kernel/qapplication.cpp:4567
#32 0x00007ffff5d4c5dd in QApplication::notify (this=<optimized out>, receiver=0xbbe720, e=0x7fffffffd6d0) at kernel/qapplication.cpp:4110
#33 0x00007ffff58144dd in QCoreApplication::notifyInternal (this=0x7fffffffde70, receiver=receiver@entry=0xbbe720, event=event@entry=0x7fffffffd6d0) at kernel/qcoreapplication.cpp:953
#34 0x00007ffff5d4bd93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#35 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0xbbe720, event=event@entry=0x7fffffffd6d0, alienWidget=alienWidget@entry=0xbbe720,
    nativeWidget=nativeWidget@entry=0xbaf200, buttonDown=buttonDown@entry=0x7ffff682b318 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true)
    at kernel/qapplication.cpp:3178
#36 0x00007ffff5dc09cb in QETWidget::translateMouseEvent (this=this@entry=0xbaf200, event=event@entry=0x7fffffffda50) at kernel/qapplication_x11.cpp:4634
#37 0x00007ffff5dc0269 in QApplication::x11ProcessEvent (this=0x7fffffffde70, event=event@entry=0x7fffffffda50) at kernel/qapplication_x11.cpp:3627
#38 0x00007ffff5de7b02 in x11EventSourceDispatch (s=0x798040, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#39 0x00007fffeaa6ce04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007fffeaa6d048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007fffeaa6d0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007ffff58417a1 in QEventDispatcherGlib::processEvents (this=0x79c170, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#43 0x00007ffff5de7bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#44 0x00007ffff58130af in QEventLoop::processEvents (this=this@entry=0x7fffffffde20, flags=...) at kernel/qeventloop.cpp:149
#45 0x00007ffff58133a5 in QEventLoop::exec (this=this@entry=0x7fffffffde20, flags=...) at kernel/qeventloop.cpp:204
#46 0x00007ffff5818b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#47 0x00000000004094c4 in main (argc=1, argv=0x7fffffffdf98) at Applications/ParaView/paraview_main.cxx:112
TagsNo tags attached.
ProjectTBD
Topic Name
Typecrash
Attached Files

 Relationships

  Notes
(0033899)
Alan Scott (manager)
2014-12-05 14:29
edited on: 2014-12-05 14:29

I just tried using a week old version of master, Linux (hardware and then Mesa rendering), and could not replicate this crash.

What operating system was it on?

(0033901)
Cory Quammen (developer)
2014-12-06 10:01

The crash occurred on Ubuntu 14.04 run as a VirtualBox guest OS on Win7 64-bit host. I get limited hardware rendering at best on this system, and since the crash is in vtkHardwareSelector, it may be a problem just on my system. Point and cell selection works on this system just fine, though.

I tested on the ParaView nightly build for Win7 64-bit from 2014/12/6 and it did not crash.

I'll change this to gatekeeper review with no fix.
(0033902)
Cory Quammen (developer)
2014-12-06 10:03

This bug may not be related to the rescaling feature tested, but rather the vtkHardwareSelector when run on certain OS's in a virtual machine environment.
(0033903)
Utkarsh Ayachit (administrator)
2014-12-08 08:04

Topics merged into master (v4.2.0-231-g445a425):
        0015171_camera_front_of_plane_widget
        0015172_automatic_annotations
(VTK) exodus-15127
        fix-log-mark-labels
        fix-osx-fileinfo
        fix_pvscalarabar_warning
        genericio_reader_optimization
        include-missing-header
        linking-with-kits-enabled
(VTK) map-scalars-14943
        pvweb-fix-extract-block-bug
        pvweb-fix-incorrect-filter-name
        qt5-find-components
(0033927)
Alan Scott (manager)
2014-12-10 15:22

I agree - lets close the bug. It doesn't replicate with steps to reproduce as given. Cory - please reopen or open a new bug with detailed steps if you can reproduce.

 Issue History
Date Modified Username Field Change
2014-12-05 09:52 Cory Quammen New Issue
2014-12-05 09:52 Cory Quammen Assigned To => Tristan Coulange
2014-12-05 09:53 Cory Quammen Severity minor => crash
2014-12-05 09:53 Cory Quammen Additional Information Updated
2014-12-05 14:29 Alan Scott Note Added: 0033899
2014-12-05 14:29 Alan Scott Note Edited: 0033899
2014-12-06 10:01 Cory Quammen Note Added: 0033901
2014-12-06 10:03 Cory Quammen Note Added: 0033902
2014-12-06 10:03 Cory Quammen Status backlog => gatekeeper review
2014-12-06 10:03 Cory Quammen Resolution open => unable to reproduce
2014-12-08 08:03 Utkarsh Ayachit Fixed in Version => git-master
2014-12-08 08:04 Utkarsh Ayachit Status gatekeeper review => customer review
2014-12-08 08:04 Utkarsh Ayachit Note Added: 0033903
2014-12-10 15:22 Alan Scott Note Added: 0033927
2014-12-10 15:22 Alan Scott Status customer review => closed
2015-01-02 10:43 Utkarsh Ayachit Fixed in Version git-master => 4.3


Copyright © 2000 - 2018 MantisBT Team