Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ice-dev] VisIt Mac local launch error

Hi Alex,

Thanks for investigating. Were you able to use the dmg that I had sent to Taylor earlier. Meaning is there a dmg that is still working?

Anytime the VisIt viewer dies then everything is dead after that and shouldn't happen. Can you run visit successfully from command line?

visit -cli -nowin

Should give you a command prompt. You can type quit() to exit console

Does the linux version work? Can you connect to that.

My challenge again is to replicate an error I can't reproduce. So I am going to need your help to see what has changed.

Also, if stand alone works can you make sure exodus files can get loaded.

I may have to give a VisIt tutorial at some point on how VisIt and ICE communicate.

The root version working is interesting to know. Does it load any dataset?

My response time today is going to be slow to nonexistent because of my SC demo.

Best regards,
Hari

On Nov 18, 2014 8:11 AM, "McCaskey, Alex" <mccaskeyaj@xxxxxxxx> wrote:
Hari,

I forgot to mention yesterday that the DMG in the dropbox link you sent also failed with the same result.

So I spent all of yesterday researching and debugging this issue. Here’s what I’ve found:

1. Clearly the main issue is that no data is being sent by the VisIt service back to ICE. The Socket instance is created and valid, but no data returns from the InputStreamReader. This reader does not throw an IOException and is not thread blocking, so the only other option is that it has reached EOS. This leads me to believe it’s separate from ICE and is a VisIt issue.
2. Placing a breakpoint right before the read loop, I notice that the socket connection and input stream reader are fine, but that VisIt fails (before any reading is actually done) with some Python error message: File <string> line 1 in <module> and a visit.VisitException: VisIt’s viewer has terminated abnormally. Perhaps this is the reason that the service stops and doesn’t send data to the ICE client? It seems like ICE is correctly creating and connecting to the port, but no data is available from VisIt. This could be something you could debug better than I.
3. Running ICE from ICE.app/Contents/MacOS as root lets me successfully connect to VisIt locally. Last time this happened, I ran Eclipse as root and launched the ice.product. It worked and then kept working all the way til now. Could this be an issue with the java.policy file? I’ll let you look into that one. But as it stands, running ICE again while not in root brings back the same issue. And I should also note that while it connects with root it does not open any plots. I get “Error - VisIt could not read from the file /private/var/root/ICEFiles/default/mooseModel_out.e. It seems to not know that this is an Exodus file.

I hope this helps you figure this bug out. I just want to note that this is the number 1 priority for the VisIt client right now. As it stands, our main source of funding (NEAMS, and specifically INL and the BISON team) cannot use NiCE for post-simulation data visualization. They all use Macs and saw the tool fail for them when we were there 2 weeks ago. I would like to get them an update soon addressing these bugs and our fixes for them.

Best,

Alex

On Nov 15, 2014, at 12:05 AM, Harinarayan Krishnan <hkrishnan@xxxxxxx<mailto:hkrishnan@xxxxxxx>> wrote:

Hi Alex,

Hmm, interesting.

Try the following: (nothing in the package should be different than the release version)
https://www.dropbox.com/s/46z8jxll1z49bru/VisIt-2.8.1.dmg?dl=0

I was able to successfully run this with both ICE and VisualizationRCPApp.

I will try to investigate this further after SC.

Best regards,
Hari

On Thu, Nov 13, 2014 at 6:48 AM, McCaskey, Alex <mccaskeyaj@xxxxxxxx<mailto:mccaskeyaj@xxxxxxxx>> wrote:
Hari,

I just tested this out. It launches VisIt find from the Terminal, but fails in ICE with the following:

VizFileViewer Message: Incoming resource update.
VizFileViewer Message: Updating resource table.
Nov 13, 2014 9:46:37 AM gov.lbnl.visit.swt.VisItSwtConnection launch
INFO: Launch Local
Nov 13, 2014 9:46:37 AM gov.lbnl.visit.swt.VisItSwtConnection$VisItReaderThread run
INFO: >> Running: viewer2.8.1 -nowin -noint -shared_port 9600 -shared_password notused -interactions -hide_window -host 127.0.0.1 -port 5600
Nov 13, 2014 9:46:37 AM gov.lbnl.visit.swt.VisItSwtConnection$VisItReaderThread run
INFO: >> QObject::connect: Cannot connect (null)::destroyed() to QHostInfoLookupManager::waitForThreadPoolDone()
Nov 13, 2014 9:46:39 AM gov.lbnl.visit.swt.VisItSwtConnection$VisItReaderThread run
INFO: >> Starting to listen on port: 9600
Nov 13, 2014 9:46:39 AM gov.lbnl.visit.swt.VisItSwtConnection$VisItReaderThread run
INFO: >> user: 127.0.0.1 is attempting to connect
Nov 13, 2014 9:46:39 AM gov.lbnl.visit.swt.VisItSwtConnection$VisItReaderThread run
INFO: >> user1 requesting window: 1
Nov 13, 2014 9:46:39 AM gov.lbnl.visit.swt.VisItSwtConnection$VisItReaderThread run
INFO: >> Traceback (most recent call last):
Nov 13, 2014 9:46:39 AM visit.java.client.VisItProxy handshake
SEVERE: null
java.lang.NullPointerException
at visit.java.client.VisItProxy.handshake(VisItProxy.java:190)
at visit.java.client.VisItProxy.connect(VisItProxy.java:229)
at gov.lbnl.visit.swt.VisItSwtConnection.connect(VisItSwtConnection.java:257)
at gov.lbnl.visit.swt.VisItSwtConnection.launchLocal(VisItSwtConnection.java:367)
at gov.lbnl.visit.swt.VisItSwtConnection.launch(VisItSwtConnection.java:575)
at gov.lbnl.visit.swt.VisItSwtConnectionManager.createConnection(VisItSwtConnectionManager.java:85)
at org.eclipse.ice.viz.visit.VisitEditor.createPartControl(VisitEditor.java:224)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPartControl(CompatibilityPart.java:142)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor.createPartControl(CompatibilityEditor.java:96)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:323)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:877)
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:857)
at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:119)
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:333)
at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:254)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:102)
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:71)
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:53)
at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:129)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:949)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:633)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:735)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:706)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:700)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:685)
at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.showTab(StackRenderer.java:1147)
at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer$1.handleEvent(LazyStackRenderer.java:65)
at org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:41)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:180)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:4650)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:205)
at org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:38)
at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:197)
at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:197)
at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:135)
at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:78)
at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:39)
at org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:80)
at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:58)
at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:171)
at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:576)
at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:543)
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:619)
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:331)
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1046)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3112)
at org.eclipse.ui.internal.WorkbenchPage.access$21(WorkbenchPage.java:3034)
at org.eclipse.ui.internal.WorkbenchPage$8.run(WorkbenchPage.java:3016)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3012)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2976)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2959)
at org.eclipse.ice.viz.visit.LaunchVisitHandler.execute(LaunchVisitHandler.java:84)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:290)
at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:243)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:224)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:167)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:499)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:213)
at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:850)
at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.handleWidgetSelection(HandledContributionItem.java:743)
at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.access$7(HandledContributionItem.java:727)
at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem$4.handleEvent(HandledContributionItem.java:662)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4166)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1489)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1474)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4012)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3651)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:140)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:611)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
at org.eclipse.equinox.launcher.Main.main(Main.java:1426)

Nov 13, 2014 9:46:39 AM gov.lbnl.visit.swt.VisItSwtConnection$VisItReaderThread run
INFO: >>   File "<string>", line 1, in <module>
Nov 13, 2014 9:46:39 AM gov.lbnl.visit.swt.VisItSwtConnection$VisItReaderThread run
INFO: >> visit.VisItException: VisIt's viewer has terminated abnormally!

On Nov 13, 2014, at 9:31 AM, Harinarayan Krishnan <hkrishnan@xxxxxxx<mailto:hkrishnan@xxxxxxx><mailto:hkrishnan@xxxxxxx<mailto:hkrishnan@xxxxxxx>>> wrote:


Hi Alex,

I updated the dmg yesterday or Tuesday, but haven't had a chance to test it. If you could test it and let me know if it now works that would be great.

Best regards,
Hari

On Nov 13, 2014 6:30 AM, "McCaskey, Alex" <mccaskeyaj@xxxxxxxx<mailto:mccaskeyaj@xxxxxxxx><mailto:mccaskeyaj@xxxxxxxx<mailto:mccaskeyaj@xxxxxxxx>>> wrote:
Hari,

I just finished implementing an ‘Add Silo File Set’ action to the Add File drop down menu on the VizFileViewer. This action basically lets the user select a set of time dependent silo files and then constructs a *.visit file for VisIt to load and show time evolution with the TimeSliderWidget.

I’d like to show this to the CAEBAT guys on Monday, if possible, but all I have is my Macbook to take to the meeting. Do you think you’ll have the updated Mac DMG by then?

Best,

Alex McCaskey
ORNL Computer Science Research
mccaskeyaj@xxxxxxxx<mailto:mccaskeyaj@xxxxxxxx><mailto:mccaskeyaj@xxxxxxxx<mailto:mccaskeyaj@xxxxxxxx>><mailto:mccaskeyaj@xxxxxxxx<mailto:mccaskeyaj@xxxxxxxx><mailto:mccaskeyaj@xxxxxxxx<mailto:mccaskeyaj@xxxxxxxx>>>
(865) 574-8715<tel:%28865%29%20574-8715><tel:%28865%29%20574-8715>




Alex McCaskey
ORNL Computer Science Research
mccaskeyaj@xxxxxxxx<mailto:mccaskeyaj@xxxxxxxx><mailto:mccaskeyaj@xxxxxxxx<mailto:mccaskeyaj@xxxxxxxx>>
(865) 574-8715<tel:%28865%29%20574-8715>

Alex McCaskey
ORNL Computer Science Research
mccaskeyaj@xxxxxxxx<mailto:mccaskeyaj@xxxxxxxx>
(865) 574-8715




Back to the top