Patrice TORGUET (torguet++at++irit.irit.fr)
Tue, 11 Apr 1995 11:54:36 -0600
I've got a big problem when compiling and linking with C++.
I compile on a 4D25 with system 4.0.5 and C++ 3.0.1. linking
with Performer 1.2.
The program crashes with a Segmentation fault.
When I look the core under dbx I get this call stack :
(dbx) where
> 0 .orderimg.::operator<<(ostream&,Date&)(Os = (nil), D = (nil))
["/tmp_mnt/users/virtus-projet/virtuel/VIPER/virtual/test/../inc/orderimg.hxx":58,
0x400240]
Which is in an include file, and is inline code...
When I run the program under dbx,
I place a breakpoint on the first assembler instruction of the main,
(dbx) stopi in main
Process 0: [3] stop at main
(dbx) run
Process 6000 (Walk2) started
Process 6000 (Walk2) Segmentation fault
[.orderimg.::operator<<(ostream&,Date&):58 +0x8,0x400244]
58 // Copy Constructor
(dbx) where
> 0 .orderimg.::operator<<(ostream&,Date&)(Os = (nil), D = (nil))
["/tmp_mnt/users/virtus-projet/virtuel/VIPER/virtual/test/../inc/orderimg.hxx":58,
0x400244]
(dbx)
Apparently, the program is executing an inlined method of
mine. When I comment this method, I get the error in another inlined method...
The Very Strange Part, is that all this is executed before the first
instruction of my main...
I don't think this is specifically related to Performer...
but I would like to know if any one add encountered such a problem.
Any help greatly appreciated,
-- Patrice Torguet Computer Graphics GroupInstitut de Recherche en Informatique de Toulouse /U.P.S. 118 Rte de Narbonne 31062 TOULOUSE (FRANCE) Tel : (+33) 61 55 63 13 Fax : (+33) 61 55 62 58 E-Mail : torguet++at++irit.fr __________________________________________________________
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:11 PDT