From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 909253858413; Fri, 5 Nov 2021 18:50:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 909253858413 From: "hebm12 at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug tui/28552] New: SIGSEGV when tui is enabled, Linux, source-highlight Date: Fri, 05 Nov 2021 18:50:45 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: tui X-Bugzilla-Version: 11.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hebm12 at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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, 05 Nov 2021 18:50:45 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28552 Bug ID: 28552 Summary: SIGSEGV when tui is enabled, Linux, source-highlight Product: gdb Version: 11.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: tui Assignee: unassigned at sourceware dot org Reporter: hebm12 at gmail dot com Target Milestone: --- Hi, When I launch gdb with the tui enabled I get a segmentation fault. I compiled gdb with source-highlight support in Linux. Here is the backtrace when I launch "gdb --args gdb -tui ls": hread 1 "gdb" received signal SIGSEGV, Segmentation fault. 0x00007ffff74018dd in wnoutrefresh () from /home/hector/spack/opt/spack/linux-ubuntu16.04-ivybridge/gcc-11.2.0/ncurses= -6.2-q2y3avovizfplvyqoaw3gwion2ktivmz/lib/libncursesw.so.6 (gdb) bt #0 0x00007ffff74018dd in wnoutrefresh () from /home/hector/spack/opt/spack/linux-ubuntu16.04-ivybridge/gcc-11.2.0/ncurses= -6.2-q2y3avovizfplvyqoaw3gwion2ktivmz/lib/libncursesw.so.6 #1 0x00007ffff7401cb7 in wrefresh () from /home/hector/spack/opt/spack/linux-ubuntu16.04-ivybridge/gcc-11.2.0/ncurses= -6.2-q2y3avovizfplvyqoaw3gwion2ktivmz/lib/libncursesw.so.6 #2 0x00000000007cfa85 in tui_enable () at /tmp/hector/spack-stage/spack-stage-gdb-11.1-2htjjgz5ehdbcqa4t4hsg5fbfcqump= l6/spack-src/gdb/tui/tui.c:440 #3 0x000000000065f914 in captured_main_1 (context=3D) at /tmp/hector/spack-stage/spack-stage-gdb-11.1-2htjjgz5ehdbcqa4t4hsg5fbfcqump= l6/spack-src/gdb/main.c:1167 #4 0x000000000066059b in captured_main (data=3Ddata@entry=3D0x7fffffff8220) at /tmp/hector/spack-stage/spack-stage-gdb-11.1-2htjjgz5ehdbcqa4t4hsg5fbfcqump= l6/spack-src/gdb/main.c:1343 #5 gdb_main (args=3Dargs@entry=3D0x7fffffff8250) at /tmp/hector/spack-stage/spack-stage-gdb-11.1-2htjjgz5ehdbcqa4t4hsg5fbfcqump= l6/spack-src/gdb/main.c:1368 #6 0x0000000000436d85 in main (argc=3D, argv=3D) at /tmp/hector/spack-stage/spack-stage-gdb-11.1-2htjjgz5ehdbcqa4t4hsg5fbfcqump= l6/spack-src/gdb/gdb.c:32 (gdb)=20 What could be the problem? Thank you for your help, Best, Hector --=20 You are receiving this mail because: You are on the CC list for the bug.=