Re: segfault during ORBit compile



I'm getting the same problem on an hppa/hpux10.2 with the same library
versions.
Below is a stack trace.  I've been trying to follow this through with
the debugger but it appears that some crazyness is going on with the
pointers to the filename (Look at the args to orbit_idl_to_backend!) 
Has anyone discovered what causes this?  I'm pulling my hair out over
this one . . .

Ken

(gdb) bt
#0  0x7af5a5f0 in memorymap ()
#1  0x7af58654 in free ()
#2  0x40344 in IDL_file_set (filename=0x4000b110 "", line=1) at
parser.y:1526
#3  0x42744 in __IDL_lex () at lexer.l:157
#4  0x39eec in __IDL_parse () at /home/kens/share/bison.simple:431
#5  0x2d480 in IDL_parse_filename (filename=0x7b03a033 "test1.idl",
cpp_args=0x400049d0 "", msg_cb=0, tree=0x7b03ae18, ns=0x7b03ae1c,
parse_flags=65536, max_msg_level=2) at util.c:324
#6  0x12290 in orbit_idl_to_backend (filename=0x7b03b850 "{\003За",
cpp_args=0x0) at main.c:155
#7  0x1211c in main (argc=2062157888, argv=0x7aea0840) at main.c:104
(gdb) 


wcurry@cts.com wrote:
> 
> I have downgraded a couple of the tools as noted below,
> but I'm still getting the same results for each compile.
> Any ideas about how I can get this to succeed?
> 
> wcurry@cts.com wrote:
> 
> > Hello,
> >
> > Been lurking here for a while and trying to compile
> > the CVS sources.  Switched to the FTP snapshots
> > because of the load on the servers.  I even reverted
> > to the CVS sources for ORBit only. If someone can help me
> > sort this out, I'd really appreciate it.
> >
> > I've used both gcc 2.7.2.3  and egcs 1.1.1.
> > Ive used ORBit sources 0.3.90/91, Snapshots from today,
> >       and today's CVS  (990122)
>                   now 990123
> > machine=i586 linux 2.1.122 (debian)
> > autoconf=2.13
>       now 2.12
> > automake=1.4
>       now 1.3
> > libtool=1.2
> > gettext=0.10.35
> > glib=1.1.13
> > gtk+=1.1.13
> > libc=2.0.7
> >
> > I have had the exact same results on each attempt. The following
> > output was from the 0.3.91 from jimpick.com.
> >
> > /usr/bin/gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -I../../src -I/opt/gnome/lib/glib/include -I/opt/gnome/include -DORBit_SYSRC=\"/opt/gnome/etc/orbitrc\" -g -O2 -c cdr.c >/dev/null 2>&1
> > (cd ../../src/daemons/interface_repository && make interface_repository.h) || exit 1
> > make[4]: Entering directory `/usr/src/gnome/ORBit-0.3.91/src/daemons/interface_repository'
> > ../../../src/idl-compiler/orbit-idl interface_repository.idl
> > make[4]: *** [interface_repository.h] Segmentation fault
> > make[4]: Leaving directory `/usr/src/gnome/ORBit-0.3.91/src/daemons/interface_repository'
> > make[3]: *** [interface_repository.h] Error 1
> > make[3]: Leaving directory `/usr/src/gnome/ORBit-0.3.91/src/orb'
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory `/usr/src/gnome/ORBit-0.3.91/src'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/usr/src/gnome/ORBit-0.3.91'
> > make: *** [all-recursive-am] Error 2
> >
> > Thanks for any help you can offer.
> >
> > Wade
> >
> 
> --
>         FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
>          To unsubscribe: mail gnome-list-request@gnome.org with
>                        "unsubscribe" as the Subject.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]