#227 RC1 in maximized xterm gives segfault

Next Release

Editing a file in a maximized xterm results in a segfault when I hit enter. The file comes up , hit enter, segfault. stty shows: rows 114; columns 424;

The is at RC1 level, Regina is at 3.5, libncurses is at 5.7 + some ubuntu mods (5.7+20090803-2ubuntu3); machine is a 64bit system, the and regina are built with 64bit config options.

Script started on Thu 06 Oct 2011 06:09:22 PM PDT
. /home/goffe/.grgrc
gdb nthe
run nthe ^[[M!Y%AgentYpid 3879
0;goffe@goffeg: ~/incoming/wtfovergoffe@goffeg:~/incoming/wtfover$ . /home/goffe/.grgrc
sourcing agent /home/goffe/.ssh/agent.goffeg.mtv.corp.google.com
Agent pid 3879
goffe@goffeg bash-4.1 ~/incoming/wtfover };-) gdb nthe
GNU gdb (GDB) 7.2-gg17
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
Type "show copying" and "show warranty" for licensing/warranty details.
This GDB was configured as "x86_64-linux".

<http://wiki/Main/GnuDebugger FAQ: http://go/gdb Email: gdb-team IRC: #gdb>
Hey, I'm GDB 7.x. Check me out! http://wiki/Main/Gdb7x

Reading symbols from /usr/lsd/Linux/bin/nthe...done.
(gdb) run nthe -w 128000 ktorrent-sigpipe.gdb
Starting program: /usr/lsd/Linux/bin/nthe nthe -w 128000 ktorrent-sigpipe.gdb
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
5dError30054:2REXXninterpreter/returnedcanierromB39;49m37m40m2;10Hgativeiinterval2;10HmB39;49m37m40m30H324m432mktorrent-sigpipe.gdb1;321H10184m432m/home/goffe/incoming/wtfover/nthe1;316HSize=0328GLine=0340GCol=1 Alt=0,0
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7bb01d0 in _nc_wgetch () from /lib/libncurses.so.5
(gdb) bt
#0 0x00007ffff7bb01d0 in _nc_wgetch () from /lib/libncurses.so.5
#1 0x00007ffff7bb0a67 in wgetch () from /lib/libncurses.so.5
#2 0x000000000045657f in my_getch (winptr=0x9dc820) at ./getch.c:92
#3 0x00000000004408cd in process_key (key=-1, mouse_details_present=false) at ./edit.c:124
#4 0x000000000044081b in editor () at ./edit.c:82
#5 0x000000000049f0c8 in main (argc=5, argv=0x7fffffffd7d8) at ./the.c:1291
(gdb) quit
A debugging session is active.

Inferior 1 [process 26432] will be killed.

Quit anyway? (y or n) y
goffe@goffeg bash-4.1 ~/incoming/wtfover };-) exit

Script done on Thu 06 Oct 2011 06:10:57 PM PDT


Bugs: #255


  • George R. Goffe

    George R. Goffe - 2013-07-02

    Seems to be fixed in rc4. THANKS MARK!

  • Mark Hessling

    Mark Hessling - 2013-07-02
    • status: open --> pending-fixed
    • Group: --> Next Release
  • Mark Hessling

    Mark Hessling - 2013-07-02
    • assigned_to: Mark Hessling
  • Mark Hessling

    Mark Hessling - 2013-07-02

    Increase in maximum width of screen has resolved this issue.


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks