GCC Help needed

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

 



Hello Team

The following std::cout results in termination of the program.

std::stringstream string_1, string_2;
std::cout<<string_1.str()<< int_1<<" "<<string_2.str()<<std::endl;



#0  __lll_lock_wait_private () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:95
#1  0x00007ffff6afb910 in __GI__IO_fwrite (buf=0x7ffff6e698c0 <_IO_stdfile_1_lock>, size=1, count=75,
    fp=0x7ffff6bac6ac <__lll_lock_wait_private+28>) at iofwrite.c:37
#2  0x00007ffff795db84 in std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long) ()
   from target:/usr/lib/x86_64-linux-gnu/libstdc++.so.6


#0  0x00007ffff6b8c187 in GI_libc_write (fd=1, buf=0x555555b01840, nbytes=172)

    at ../sysdeps/unix/sysv/linux/write.c:27

#1  0x00007ffff6b071bd in IO_new_file_write (f=0x7ffff6e68760 <_IO_2_1_stdout>, data=0x555555b01840,
    n=172) at fileops.c:1203

#2  0x00007ffff6b08f51 in new_do_write (to_do=172,
    data=0x555555b01840 "2020/05/19 15:57:50.000000  230542208 000 ECU1 Para ACOM log debug verbose 8 SomeIpPosixClient TransmitSomeIpMessage : 1028 Instance_id 0x 0x0001  memory buffer length  34\nx00000001 :0x 0x00000001 :0x"..., fp=0x7ffff6e68760 <_IO_2_1_stdout_>) at fileops.c:457

#3  IO_new_do_write (fp=fp@entry=0x7ffff6e68760 <_IO_2_1_stdout>,
    data=0x555555b01840 "2020/05/19 15:57:50.000000  230542208 000 ECU1 Para ACOM log debug verbose 8 SomeIpPosixClient TransmitSomeIpMessage : 1028 Instance_id 0x 0x0001  memory buffer length  34\nx00000001 :0x 0x00000001 :0x"..., to_do=172) at fileops.c:433

#4  0x00007ffff6b09403 in IO_new_file_overflow (f=0x7ffff6e68760 <_IO_2_1_stdout>, ch=10)
    at fileops.c:798

#5  0x00007ffff6b0434b in GIIO_putc (c=<optimized out>, fp=0x7ffff6e68760 <_IO_2_1_stdout_>)
    at putc.c:31

#6  0x00007ffff795d68a in std::ostream::put(char) ()
   from target:/usr/lib/x86_64-linux-gnu/libstdc++.so.6

#7  0x00007ffff795d88f in std::basic_ostream<char, std::char_traits<char> >& std::endl<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&) ()
   from target:/usr/lib/x86_64-linux-gnu/libstdc++.so.6







[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux