PR# 19290 trying to run AutoTest always crashes EiffelStudio
Problem Report Summary
Submitter: uwindl
Category: EiffelStudio
Priority: Medium
Date: 2016/11/13
Class: Bug
Severity: Critical
Number: 19290
Release: 16.05
Confidential: No
Status: Open
Responsible: jfiat_es
Environment: linux x86_64
Synopsis: trying to run AutoTest always crashes EiffelStudio
Description
When loading a old project that has auto-tests that worked in an earlier version of EiffelStudio, now it always crashes Eiffel Studio. I suspect that the AutoTest implementation changed in an incompatible way AND that the exception triggered is not handled properly. I don't know what type of network connection ETEST_EVALUATOR_CONNECTION wants to start, but I verified that there are three existing listening sockets when EiffelStudio is running. Exception log attached. My expectations are: 1) If something changed in an incompatible way, there should be a clear indication of that 2) Preferrably changes should be done automatically, or be assisted at least 3) Eiffel Studio should not crash so easily
To Reproduce
Try to run autotests.
Problem Report Interactions
I analyzed the problem, leading to this routine: --- create_localhost: INET_ADDRESS -- (from INET_ADDRESS_FACTORY) -- (export status {NONE}) local localhostname: STRING_8 do localhostname := Impl.local_host_name check attached create_from_name (localhostname) as l_result then Result := l_result end end --- The problem is "Impl.local_host_name"; could it be replaced with "loopback_address.internal_host_name" (if there is no network)? In my case the computer had no network, and the hostname did not resolve via /etc/hosts. However "localhost" would. For local connections "localhost" might be more efficient anyway, because the MTU (maximum transfer unit) is larger than when going through some Ethernet interface. .... Output truncated, Click download to get the full message