This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libfortran/54012] printf crash with -lgfortran


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54012

--- Comment #7 from Sergey Rodionov <astroseger at gmail dot com> 2012-10-30 14:03:27 UTC ---
(In reply to comment #6)
> On Tue, Oct 30, 2012 at 09:52:04AM +0000, astroseger at gmail dot com wrote:
> > 
> > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54012
> > 
> > --- Comment #3 from Sergey Rodionov <astroseger at gmail dot com> 2012-10-30 09:52:04 UTC ---
> > 
> > > What does gdb tell you?
> > 
> > 
> > gdb tells:
> > 
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x00007ffff779f8f2 in __parse_one_specmb () from /lib64/libc.so.6
> > 
> 
> Not very helpful.  What does gdb tell you when you 
> compiler with the -g option and issue bt at the gdb
> prompt?


(gdb) run
Starting program: /home/seger/TEMP/10/a.out

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff779f8f2 in __parse_one_specmb () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff779f8f2 in __parse_one_specmb ()
   from /lib64/libc.so.6
#1  0x00007ffff7781230 in vfprintf () from /lib64/libc.so.6
#2  0x00007ffff778b179 in printf () from /lib64/libc.so.6
#3  0x000000000040051a in main () at 1.c:4


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]