public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
* [Bug default/28027] New: abilint: "Unknown file type given in input" error message has no end of line character (LF)
@ 2021-06-30  7:41 pabs3 at bonedaddy dot net
  2021-08-19  6:01 ` [Bug default/28027] " ucelsanicin at yahoo dot com
  2021-09-10 19:36 ` mehmetgelisin at aol dot com
  0 siblings, 2 replies; 3+ messages in thread
From: pabs3 at bonedaddy dot net @ 2021-06-30  7:41 UTC (permalink / raw)
  To: libabigail

https://sourceware.org/bugzilla/show_bug.cgi?id=28027

            Bug ID: 28027
           Summary: abilint: "Unknown file type given in input" error
                    message has no end of line character (LF)
           Product: libabigail
           Version: unspecified
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: default
          Assignee: dodji at redhat dot com
          Reporter: pabs3 at bonedaddy dot net
                CC: libabigail at sourceware dot org
  Target Milestone: ---

I noticed while playing with abilint that the "Unknown file type given in
input" error message has no end of line character (LF or \n), so if you are
passing multiple files to abilint via xargs, you get all the output on one
line. As far as I can tell all the other errors printed by abilint contain and
end of line character (\n).

$ echo foo > foo
$ abilint --noout foo |& hd
00000000  61 62 69 6c 69 6e 74 3a  20 55 6e 6b 6e 6f 77 6e  |abilint: Unknown|
00000010  20 66 69 6c 65 20 74 79  70 65 20 67 69 76 65 6e  | file type given|
00000020  20 69 6e 20 69 6e 70 75  74 3a 20 66 6f 6f        | in input: foo|
0000002e
$ echo foo | hd
00000000  66 6f 6f 0a                                       |foo.|
00000004

$ grep -B2 -A1 'Unknown file type given in input' tools/abilint.cc
        case abigail::tools_utils::FILE_TYPE_UNKNOWN:
          emit_prefix(argv[0], cerr)
            << "Unknown file type given in input: " << opts.file_path;
          return 1;

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug default/28027] abilint: "Unknown file type given in input" error message has no end of line character (LF)
  2021-06-30  7:41 [Bug default/28027] New: abilint: "Unknown file type given in input" error message has no end of line character (LF) pabs3 at bonedaddy dot net
@ 2021-08-19  6:01 ` ucelsanicin at yahoo dot com
  2021-09-10 19:36 ` mehmetgelisin at aol dot com
  1 sibling, 0 replies; 3+ messages in thread
From: ucelsanicin at yahoo dot com @ 2021-08-19  6:01 UTC (permalink / raw)
  To: libabigail

https://sourceware.org/bugzilla/show_bug.cgi?id=28027

Ucel Sani <ucelsanicin at yahoo dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ucelsanicin at yahoo dot com

--- Comment #1 from Ucel Sani <ucelsanicin at yahoo dot com> ---
On further thought, we shouldn't be encouraging palindromish REs in the manual,
so that naive users aren't drawn into this mess. So I installed the attached
further patch to the documentation.

Of course it would be better to fix the back-reference bugs but this is low
priority and I doubt whether anybody has the time.
[0001-doc-don-t-encourage-back-references.patch
credit https://trellising-net.com/ https://www.india-visa-online.com/visa/
https://www.india-visa-online.org/visa/
https://www.canada-visa-online.org/visa/
https://www.official-turkey-visa.org/visa/
https://www.new-zealand-visa.co.nz/visa/ https://discordhome.com/
http://chungcuminatohaiphong.com/ https://ukrpublic.com/
https://www.espresso-international.nl/ https://www.espresso-international.hu/
https://www.espresso-international.fr/ http://www.iu-bloomington.com/
https://komiya-dental.com/ http://steemfilter.space/
http://michielleunens.tech/ http://sleepypoetstuff.website/
http://biciclubvalencia.website/ http://reputation-management.site/
http://pitesti.online/ http://tobuweb.space/ http://ancientmariners.online/
http://betwsycoednet.online http://kuzin.website http://kundaliniyoga.tech
http://localpay.tech http://my-iframe.online http://getimov.xyz/
http://ooviv.xyz/ http://mirei.xyz http://toblek.xyz/ http://sevenwonders.store
http://peralga.xyz/ https://texastourgear.live
http://freixenet.site/influencerprogramme/ http://timvanorden.store/
http://rhee.tech/ http://f3group.online/ https://www.hlungomare.store/
https://www.lungomarebikehotel.store http://www.lvmaimai.xyz/
https://sozdanie.site/ http://agens128.site/ http://ruirui.store/
http://www.foamhands.store/ http://www.i-obchody.info/
http://naughtyrobot.digital/ https://www.webb-dev.co.uk/
https://waytowhatsnext.com/ http://troubadourtunes.online/

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug default/28027] abilint: "Unknown file type given in input" error message has no end of line character (LF)
  2021-06-30  7:41 [Bug default/28027] New: abilint: "Unknown file type given in input" error message has no end of line character (LF) pabs3 at bonedaddy dot net
  2021-08-19  6:01 ` [Bug default/28027] " ucelsanicin at yahoo dot com
@ 2021-09-10 19:36 ` mehmetgelisin at aol dot com
  1 sibling, 0 replies; 3+ messages in thread
From: mehmetgelisin at aol dot com @ 2021-09-10 19:36 UTC (permalink / raw)
  To: libabigail

https://sourceware.org/bugzilla/show_bug.cgi?id=28027

Mehmet gelisin <mehmetgelisin at aol dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mehmetgelisin at aol dot com

--- Comment #2 from Mehmet gelisin <mehmetgelisin at aol dot com> ---
hen printing an object of the type sca_port_base - part of the Open Source
SystemC AMS Simulator - gdb versions newer than > 7.6.1 crash (Linux and
MinGW64  versions). Below you find the backtrace when debugging gdb 7.11. The
error occurs in value.c of gdb

We can provide also an executable to reproduce the crash, however it is quite
large, due to the libraries required. Attached you find the source code of the
object which is tried to be printed. GDB commands executed in the session are
just: 

b my_first_sch_simple_tb.cpp:128
r
print i_conv_1.tdf_i
---
Breakpoint 1, sc_main (argc=<optimized out>, argv=<optimized out>) at
hier_modules/my_first_sch_simple_tb.cpp:139
139         dut = new my_first_sch("dut", p_dut);
(gdb) print i_conv_1.tdf_i
$1 =
{<sca_tdf::sca_implementation::sca_tdf_port_impl<sca_tdf::sca_signal_if<double>,
double>> = {<sca_core::sca_port<sca_tdf::sca_signal_if<double> >> =
{<sca_core::sca_implementation::sca_port_impl<sca_tdf::sca_signal_if<double> >>
= {<sc_core::sc_port<sc                                                        
  a_tdf::sca_signal_if<double>, 1, (sc_core::sc_port_policy)0>> =
{<sc_core::sc_port_b<sca_tdf::sca_signal_if<double> >> =
{<sc_core::sc_port_base> = {<sc_core::sc_object> = {_vptr.sc_object = 0x7e5310
<vtable for sca_tdf::sca_in<double>+16>, 
                m_attr_cltn_p = 0x0, m_child_events =
{<std::_Vector_base<sc_core::sc_event*, std::allocator<sc_core::sc_event*> >> =
{
                    _M_impl = {<std::allocator<sc_core::sc_event*>> =
{<__gnu_cxx::new_allocator<sc_core::sc_event*>> = {<No data fields>}, <No data
fields>}, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data
fields>}, 
                m_child_objects = {<std::_Vector_base<sc_core::sc_object*,
std::allocator<sc_core::sc_object*> >> = {
                    _M_impl = {<std::allocator<sc_core::sc_object*>> =
{<__gnu_cxx::new_allocator<sc_core::sc_object*>> = {<No data fields>}, <No data
fields>}, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data
fields>}, m_name = {
                  static npos = <optimized out>, _M_dataplus =
{<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data
fields>}, <No data fields>}, _M_p = 0x825808 "i_conv_1.tdf_i"}}, m_parent =
0x7fffffffb3f0, m_simc = 0x7f9090}, 
              m_bind_info = 0x8258b0}, m_interface = 0x7fffffffabe0,
m_interface_vec = {<std::_Vector_base<sca_tdf::sca_signal_if<double>*,
std::allocator<sca_tdf::sca_signal_if<double>*> >> = {
                _M_impl = {<std::allocator<sca_tdf::sca_signal_if<double>*>> =
{<__gnu_cxx::new_allocator<sca_tdf::sca_signal_if<double>*>> = {<No data
fields>}, <No data fields>}, _M_start = 0x825a30, _M_finish = 0x825a38, 
                  _M_end_of_storage = 0x825a38}}, <No data fields>}}, <No data
fields>}, <sca_core::sca_implementation::sca_port_base> =
{<sca_util::sca_traceable_object> = {_vptr.sca_traceable_object = 0x7e5448
<vtable for sca_tdf::sca_in<double>+328>, 
            empty_string = {static npos = <optimized out>, _M_dataplus =
{<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data
fields>}, <No data fields>}, _M_p = 0x7ffff7fec6b8
<std::string::_Rep::_S_empty_rep_storage+24> ""}}, unit = {
              static npos = <optimized out>, _M_dataplus =
{<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data
fields>}, <No data fields>}, _M_p = 0x7ffff7fec6b8
<std::string::_Rep::_S_empty_rep_storage+24> ""}}, unit_prefix = {
              static npos = <optimized out>, _M_dataplus =
{<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data
fields>}, <No data fields>}, _M_p = 0x7ffff7fec6b8
<std::string::_Rep::_S_empty_rep_storage+24> ""}}, domain = {
              static npos = <optimized out>, _M_dataplus =
{<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data
fields>}, <No data fields>}, _M_p = 0x7ffff7fec6b8
<std::string::_Rep::_S_empty_rep_storage+24> ""}}}, 

hen printing an object of the type sca_port_base - part of the Open Source
SystemC AMS Simulator - gdb versions newer than > 7.6.1 crash (Linux and
MinGW64  versions). Below you find the backtrace when debugging gdb 7.11. The
error occurs in value.c of gdb

We can provide also an executable to reproduce the crash, however it is quite
large, due to the libraries required. Attached you find the source code of the
object which is tried to be printed. GDB commands executed in the session are
just: 

b my_first_sch_simple_tb.cpp:128
r
print i_conv_1.tdf_i https://komiya-dental.com/ 
---
Breakpoint 1, sc_main (argc=<optimized out>, argv=<optimized out>) at
hier_modules/my_first_sch_simple_tb.cpp:139
139         dut = new my_first_sch("dut", p_dut);
(gdb) print i_conv_1.tdf_i
$1 =
{<sca_tdf::sca_implementation::sca_tdf_port_impl<sca_tdf::sca_signal_if<double>,
double>> = {<sca_core::sca_port<sca_tdf::sca_signal_if<double> >> =
{<sca_core::sca_implementation::sca_port_impl<sca_tdf::sca_signal_if<double> >>
= {<sc_core::sc_port<sc         http://www.iu-bloomington.com/                 
                                  a_tdf::sca_signal_if<double>, 1,
(sc_core::sc_port_policy)0>> =
{<sc_core::sc_port_b<sca_tdf::sca_signal_if<double> >> =
{<sc_core::sc_port_base> = {<sc_core::sc_object> = {_vptr.sc_object = 0x7e5310
<vtable for sca_tdf::sca_in<double>+16>, 
                m_attr_cltn_p = 0x0, m_child_events =
{<std::_Vector_base<sc_core::sc_event*, std::allocator<sc_core::sc_event*> >> =
{
       https://www.webb-dev.co.uk/              _M_impl =
{<std::allocator<sc_core::sc_event*>> =
{<__gnu_cxx::new_allocator<sc_core::sc_event*>> = {<No data fields>}, <No data
fields>}, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data
fields>}, 
                m_child_objects = {<std::_Vector_base<sc_core::sc_object*,
std::allocator<sc_core::sc_object*> >> = {
      https://waytowhatsnext.com/                _M_impl =
{<std::allocator<sc_core::sc_object*>> =
{<__gnu_cxx::new_allocator<sc_core::sc_object*>> = {<No data fields>}, <No data
fields>}, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data
fields>}, m_name = {
                  static npos = <optimized out>, _M_dataplus = 
http://www.acpirateradio.co.uk/ {<std::allocator<char>> =
{<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p
= 0x825808 "i_conv_1.tdf_i"}}, m_parent = 0x7fffffffb3f0, m_simc = 0x7f9090}, 
              m_bind_info = 0x8258b0}, m_interface = 0x7fffffffabe0,
m_interface_vec = {<std::_Vector_base<sca_tdf::sca_signal_if<double>*,
http://www.logoarts.co.uk/ std::allocator<sca_tdf::sca_signal_if<double>*> >> =
{
                _M_impl = {<std::allocator<sca_tdf::sca_signal_if<double>*>> =
{<__gnu_cxx::new_allocator<sca_tdf::sca_signal_if<double>*>> = {<No data
fields>}, <No data fields>}, _M_start = 0x825a30, _M_finish = 0x825a38, 
http://www.slipstone.co.uk/ 
                  _M_end_of_storage = 0x825a38}}, <No data fields>}}, <No data
fields>}, <sca_core::sca_implementation::sca_port_base> =
{<sca_util::sca_traceable_object> http://embermanchester.uk/  =
{_vptr.sca_traceable_object = 0x7e5448 <vtable for
sca_tdf::sca_in<double>+328>, 
            empty_string = {static npos = <optimized out>, _M_dataplus =
http://connstr.net/   {<std::allocator<char>> =
{<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p
= 0x7ffff7fec6b8 <std::string::_Rep::_S_empty_rep_storage+24> ""}}, unit = {
http://joerg.li/
              static npos = <optimized out>, _M_dataplus =
{<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data
fields>}, <No data fields>}, _M_p = 0x7ffff7fec6b8  http://www.jopspeech.com/
<std::string::_Rep::_S_empty_rep_storage+24> ""}}, unit_prefix = {
              static npos = <optimized out>, _M_dataplus = 
http://www.wearelondonmade.com/ {<std::allocator<char>> =
{<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p
= 0x7ffff7fec6b8 <std::string::_Rep::_S_empty_rep_storage+24> ""}}, domain = {
http://www.compilatori.com/
              static npos = <optimized out>, _M_dataplus =
{<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data
fields>}, <No data fields>}, _M_p = 0x7ffff7fec6b8  http://www-look-4.com/
<std::string::_Rep::_S_empty_rep_storage+24> ""}}},

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-09-10 19:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-30  7:41 [Bug default/28027] New: abilint: "Unknown file type given in input" error message has no end of line character (LF) pabs3 at bonedaddy dot net
2021-08-19  6:01 ` [Bug default/28027] " ucelsanicin at yahoo dot com
2021-09-10 19:36 ` mehmetgelisin at aol dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).