From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C3C703851C34; Fri, 10 Sep 2021 19:36:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C3C703851C34 From: "mehmetgelisin at aol dot com" To: gdb-prs@sourceware.org Subject: [Bug c++/20020] GDB segfault on printing objects Date: Fri, 10 Sep 2021 19:36:22 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.11.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: mehmetgelisin at aol dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: tromey at sourceware dot org X-Bugzilla-Target-Milestone: 8.3.1 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Sep 2021 19:36:22 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D20020 Mehmet gelisin changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mehmetgelisin at aol dot c= om --- Comment #33 from Mehmet gelisin --- noticed while playing with abilint that the "Unknown file type given in inp= ut" 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 li= ne 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: Unkno= wn| 00000010 20 66 69 6c 65 20 74 79 70 65 20 67 69 76 65 6e | file type giv= en| 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: https://komiya-dental.com/=20 emit_prefix(argv[0], cerr) << "Unknown file type given in input: " << opts.file_path; noticed while playing with abilint that the "Unknown file type given in inp= ut" 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 li= ne character (\n). http://www.iu-bloomington.com/=20 $ 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: Unkno= wn| 00000010 20 66 69 6c 65 20 74 79 70 65 20 67 69 76 65 6e | file type giv= en| 00000020 20 69 6e 20 69 6e 70 75 74 3a 20 66 6f 6f | in input: foo| 0000002e https://www.webb-dev.co.uk/=20 $ echo foo | hd 00000000 66 6f 6f 0a |foo.| 00000004 $ grep -B2 -A1 'Unknown file type given in input' tools/abilint.cc https://waytowhatsnext.com/=20=20 case abigail::tools_utils::FILE_TYPE_UNKNOWN: emit_prefix(argv[0], cerr) << "Unknown file type given in input: " << opts.file_path; noticed while playing with abilint that the "Unknown file type given in inp= ut" error message has no end of line character (LF or \n), so if you are passing http://www.acpirateradio.co.uk/ multiple files to abilint via xargs, you g= et all the output on one line. As far as I can tell all the other errors print= ed by abilint contain and end of line character (\n). $ echo foo > foo $ abilint --noout foo |& hd 00000000 61 62 69 6c 69 6e http://www.logoarts.co.uk/ 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 giv= en| 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 http://www.slipstone.co.uk/=20 $ grep -B2 -A1 'Unknown file type given in input' tools/abilint.cc case abigail::tools_utils::FILE_TYPE_UNKNOWN: emit_prefix(argv[0], cerr) http://embermanchester.uk/=20 << "Unknown file type given in input: " << opts.file_path; noticed while playing with abilint that the "Unknown file type given in inp= ut" error message has no end of line character (LF or \n), http://connstr.net/ = so if you are passing multiple files to abilint via xargs, you get all the out= put on one line. As far as I can tell all the other errors printed by abilint contain and end of line character (\n). http://joerg.li/ $ echo foo > foo $ abilint --noout foo |& hd 00000000 61 62 69 6c 69 6e 74 3a http://www.jopspeech.com/ 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 giv= en| 00000020 20 69 6e 20 69 6e 70 75 74 3a 20 66 6f 6f | in input: foo| 0000002e $ echo foo | hd http://www.wearelondonmade.com/ 00000000 66 6f 6f 0a |foo.| 00000004 http://www.compilatori.com/ $ grep -B2 -A1 'Unknown file type given in input' tools/abilint.cc case abigail::tools_utils::FILE_TYPE_UNKNOWN: emit_prefix(argv[0], cerr) http://www-look-4.com/ << "Unknown file type given in input: " << opts.file_path; --=20 You are receiving this mail because: You are on the CC list for the bug.=