home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.apollo:3090 comp.windows.interviews:2302
- Newsgroups: comp.sys.apollo,comp.windows.interviews
- Path: sparky!uunet!haven.umd.edu!wam.umd.edu!dododge
- From: dododge@wam.umd.edu (David O. Dodge)
- Subject: Interviews vs. Apollo C++
- Message-ID: <1992Jul23.100220.12904@wam.umd.edu>
- Summary: major problems
- Originator: dododge@rac2.wam.umd.edu
- Sender: usenet@wam.umd.edu (USENET News system)
- Nntp-Posting-Host: rac2.wam.umd.edu
- Organization: University of Maryland at College Park
- Date: Thu, 23 Jul 1992 10:02:20 GMT
- Lines: 39
-
- Note that this is crossposted to both comp.sys.apollo and
- comp.windows.interviews.
-
- At my workplace we're trying to get InterViews running on our Apollo
- Domain/OS machines. I believe we're using IV 3.0.1 beta and the latest
- version of Apollo CC, but the binaries are segmentation faulting all over
- the place.
-
- Here's an example of one spot where things are going wrong:
-
- For one of our own programs we have a class we wrote called OurViewer,
- which inherits most of its stuff from Viewer. We don't define a Draw()
- member function for OurViewer, and when we call Draw() within one of
- OurViewer's member functions, the program dies. If I replace the Draw()
- invocation with an explicit call to Viewer::Draw() it suddenly starts
- working.
-
- A process traceback shows the problem to be with the invocation itself,
- i.e. the program never actually enters Draw(), but gives a "reference
- to illegal address" or some such when it attempts to make the call.
-
- This behavior is only consistent in that the program always crashes at
- the same places. However other calls of this type (a member calling a
- virtual function that was inherited from another class) work just fine --
- it's only a few specific spots that have the problem.
-
- Anyway this is a MAJOR annoyance, and from the looks of it it's most likely
- the compiler's fault. This code runs just fine on a Sun Sparc.
-
- Note that I'm coming into this a bit late -- someone else already did
- most of the work in getting InterViews to compile at all (I believe cpp
- was crashing originally or something like that). The person who originally
- did the work changed only a few things in the code, and in any case those
- changes shouldn't be causing this type of problem.
-
- So has anyone actually managed to get InterViews built on an Apollo? Any
- suggestions?
-
- -Dave Dodge/dododge@wam.umd.edu
-