[Midnight Commander] #229: ncurses "default color" change to -1 when available

Ticket System tickets at midnight-commander.org
Mon Feb 9 08:46:06 UTC 2009


#229: ncurses "default color" change to -1 when available
--------------------------------------------+-------------------------------
  Reporter:  robert.david.public at gmail.com  |       Owner:  metux   
      Type:  defect                         |      Status:  accepted
  Priority:  major                          |   Milestone:  4.6.2.1 
 Component:  mc-core                        |     Version:  4.6.1   
Resolution:                                 |    Keywords:  rework  
  Blocking:                                 |   Blockedby:          
--------------------------------------------+-------------------------------
Changes (by metux):

  * keywords:  review vote-metux => rework


Comment:

 Segfaults, but might be an ncurses bug.


 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread 0xb7b896c0 (LWP 1690)]
 0xb7bfa80e in assume_default_colors () from /lib/libncurses.so.5
 (gdb) backtrace
 #0  0xb7bfa80e in assume_default_colors () from /lib/libncurses.so.5
 #1  0xb7bd9c10 in ?? () from /lib/libncurses.so.5
 #2  0xb7c18ff4 in ?? () from /lib/libncurses.so.5
 #3  0xb7f51ca0 in ?? () from /lib/ld-linux.so.2
 #4  0xbff51480 in ?? ()
 #5  0xbff51418 in ?? ()
 #6  0xb7f4a1a0 in ?? () from /lib/ld-linux.so.2
 #7  0xb7bfa944 in use_default_colors () from /lib/libncurses.so.5
 #8  0xffffffff in ?? ()
 #9  0xb7d46ff4 in ?? () from /lib/libc.so.6
 #10 0x08060924 in init_colors ()
 Backtrace stopped: previous frame inner to this frame (corrupt stack?)

-- 
Ticket URL: <www.midnight-commander.org/ticket/229#comment:3>
Midnight Commander <www.midnight-commander.org>
Midnight Development Center


More information about the mc-devel mailing list