strange bug

Ralf Stephan ralf at ark.in-berlin.de
Tue Jul 13 16:42:42 CEST 2004


> Anyway, it shouldn't crash (and it doesn't do that here, even with efence).
> A gdb backtrace would be nice.


GNU gdb 6.1.1
...
(gdb) r
Starting program: /home/ralf/ginac/a.out 

Program received signal SIGSEGV, Segmentation fault.
0x0fdf1dcc in GiNaC::ex::print (this=0x50, c=@0x7ffff6a0, level=0) at ptr.h:92
92		T *operator->() const throw() { return p; }
(gdb) bt
#0  0x0fdf1dcc in GiNaC::ex::print (this=0x50, c=@0x7ffff6a0, level=0)
    at ptr.h:92
#1  0x0fec40cc in GiNaC::operator<< (os=@0x100132d0, e=@0x7ffff700)
    at operators.cpp:346
#2  0x10002188 in main () at bug3.cpp:12


ralf
-- 
Fight those communist terrorists that try to replace a thriving commercial 
market (open source) with a state-supported monopoly (MS)!




More information about the GiNaC-devel mailing list