gcc 3.2/Linux/ups 3.38-beta2 failures

"William F. Dowling" <[email protected]> Mon, 15 Dec 2003 15:46:50 -0500
Newsgroups gmane.comp.debugging.ups.user
Message-ID <[email protected]>
When I run ups under ups with the hello executable built below (with
-g) here is the stack trace of the ups seg fault:

   Functions
      main                                  ups.c:834
      ups                                   ups.c:1268
      re_event_loop                         reg.c:1011
      source_window_event_handler        ui_src.c:917
      do_var_selection                   ui_src.c:700
      display_var_in_mangled_form     obj_stack.c:1527
      match_name_end_in_func          obj_stack.c:1483
      dw_get_fu_blocks                o_dwftext.c:206
      dwf_do_cu_types                 o_dwfsyms.c:998
      dwf_load_from_die               o_dwfsyms.c:921
      dwf_load_from_die               o_dwfsyms.c:921
      dwf_load_from_die               o_dwfsyms.c:935
      dwf_finish_aggregate            o_dwftype.c:1084

-- 
William F. Dowling
Thomson/ISI (www.isinet.com)
215-386-0100 x-1156

William F. Dowling writes:
 > I am having trouble getting ups to work (g++ 3.2; ups 3.38-beta2;
 > Debian i686 GNU/Linux).  Even with just a hello.cpp program
 > there are severe problems.  My program:
 > 
 >   #include <iostream>
 >   int main (int argc, char ** argv)
 >   {
 >     std::cerr << "hello world.\n";
 >   }
 > 
 > If I compile like this:
 >   g++ -g hello.cpp   -o hello
 > 
 > ups displays the source of hello.cpp; but if I try to display any
 > data, for example by clicking on argc after stopping at (the only
 > place in this program I could put) a breakpoint, ups exits with this
 > message:
 >   Already saved typename rebind<char> in this CU <2490>
 >   Fatal error: segmentation fault.
 >   Dumping core ... Segmentation fault
 > 
 > If I compile like this:
 >   g++ -gstabs hello.cpp   -o hello
 > 
 > ups does not display the source in the source window, nor does it list
 > hello.cpp among the Source files.
 > 
 > Does anyone have ups working with g++ 3.2?  If so, how did you set
 > things up to get it to work?
 > 
 > Thanks,
 > 
 > Will Dowling
 > Thomson/ISI (www.isinet.com)
 > 215-386-0100 x-1156
 > 
 > 
 > 
 > $ ups -V
 > ups version 3.38-beta2 (build date: Sun Aug 31 09:25:53 BST 2003)
 > 
 > Library versions:
 >         arg version 1.26 (build date: Sun Jun 4 22:40:57 BST 1995)
 >         obj version 1.36 (build date: Sun Jun 4 22:40:13 BST 1995)
 >         edit version 1.17 (build date: Tue Jun 20 22:57:59 BST 1995)
 >         Men3wn version 1.34 (build date: Sun Jun 4 22:38:13 BST 1995)
 >         mtrprog version 1.41 (build date: Sun Jun 4 22:26:40 BST 1995)
 >         ukcprog version 1.22 (build date: Tue Jan 10 10:03:27 GMT 1995)
 >         wn version 1.86 (build date: Sun Jun 4 22:32:12 BST 1995)
 > 
 > Target drivers: 
 >         C interpreter output files
 >         C source files
 >         Native support for i686-pc-linux-gnu ELF object files
 > 
 > $ g++ --version
 > g++ (GCC) 3.2.3 (Debian)
 > Copyright (C) 2002 Free Software Foundation, Inc.


________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System.