public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug tui/28552] New: SIGSEGV when tui is enabled, Linux, source-highlight
@ 2021-11-05 18:50 hebm12 at gmail dot com
  2021-11-05 18:57 ` [Bug tui/28552] " hebm12 at gmail dot com
  2023-02-12 19:59 ` tromey at sourceware dot org
  0 siblings, 2 replies; 3+ messages in thread
From: hebm12 at gmail dot com @ 2021-11-05 18:50 UTC (permalink / raw)
  To: gdb-prs

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

            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-2htjjgz5ehdbcqa4t4hsg5fbfcqumpl6/spack-src/gdb/tui/tui.c:440
#3  0x000000000065f914 in captured_main_1 (context=<optimized out>)
    at
/tmp/hector/spack-stage/spack-stage-gdb-11.1-2htjjgz5ehdbcqa4t4hsg5fbfcqumpl6/spack-src/gdb/main.c:1167
#4  0x000000000066059b in captured_main (data=data@entry=0x7fffffff8220)
    at
/tmp/hector/spack-stage/spack-stage-gdb-11.1-2htjjgz5ehdbcqa4t4hsg5fbfcqumpl6/spack-src/gdb/main.c:1343
#5  gdb_main (args=args@entry=0x7fffffff8250)
    at
/tmp/hector/spack-stage/spack-stage-gdb-11.1-2htjjgz5ehdbcqa4t4hsg5fbfcqumpl6/spack-src/gdb/main.c:1368
#6  0x0000000000436d85 in main (argc=<optimized out>, argv=<optimized out>)
    at
/tmp/hector/spack-stage/spack-stage-gdb-11.1-2htjjgz5ehdbcqa4t4hsg5fbfcqumpl6/spack-src/gdb/gdb.c:32
(gdb) 

What could be the problem?

Thank you for your help,

Best,

Hector

-- 
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 tui/28552] SIGSEGV when tui is enabled, Linux, source-highlight
  2021-11-05 18:50 [Bug tui/28552] New: SIGSEGV when tui is enabled, Linux, source-highlight hebm12 at gmail dot com
@ 2021-11-05 18:57 ` hebm12 at gmail dot com
  2023-02-12 19:59 ` tromey at sourceware dot org
  1 sibling, 0 replies; 3+ messages in thread
From: hebm12 at gmail dot com @ 2021-11-05 18:57 UTC (permalink / raw)
  To: gdb-prs

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

Hector <hebm12 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hebm12 at gmail dot com

-- 
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 tui/28552] SIGSEGV when tui is enabled, Linux, source-highlight
  2021-11-05 18:50 [Bug tui/28552] New: SIGSEGV when tui is enabled, Linux, source-highlight hebm12 at gmail dot com
  2021-11-05 18:57 ` [Bug tui/28552] " hebm12 at gmail dot com
@ 2023-02-12 19:59 ` tromey at sourceware dot org
  1 sibling, 0 replies; 3+ messages in thread
From: tromey at sourceware dot org @ 2023-02-12 19:59 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2023-02-12
             Status|UNCONFIRMED                 |WAITING
                 CC|                            |tromey at sourceware dot org

--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
> What could be the problem?

I don't know offhand, but considering that the crash occurs
in curses, I would guess some problem with that library.

This definitely works for me.  So without further information
I don't see how we could diagnose or fix it.

-- 
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:[~2023-02-12 19:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-05 18:50 [Bug tui/28552] New: SIGSEGV when tui is enabled, Linux, source-highlight hebm12 at gmail dot com
2021-11-05 18:57 ` [Bug tui/28552] " hebm12 at gmail dot com
2023-02-12 19:59 ` tromey at sourceware dot org

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).