Ticket #1574 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years ago

mc crashes while setting tty colors

Reported by: alsroot Owned by: andrew_b
Priority: major Milestone: 4.7.0-pre3
Component: mc-tty Version: 4.7.0-pre2
Keywords: Cc:
Blocked By: Blocking:
Branch state: Votes for changeset: committed-master

Description

|TestCase?|
add followed lines to ~/.mc/ini

[Colors]
base_color=normal=,default:selected=,:marked=,default:markselect=,:menu=,:menuhot=,:menusel=,:menuhotsel=,:dnormal=,:dfocus=,:dhotnormal=,:dhotfocus=,:input=,:reverse=,:executable=,default:directory=blue,default:link=cyan,default:device=yellow,default:special=,:core=red,default:helpnormal=,:helplink=,:helpslink=,:
screen-256color=
color_terminals=

mc crashes all time with bt

#0  0x00007f5687027b29 in free () from /lib/libc.so.6
#1  0x00007f568737e035 in g_strfreev () from /usr/lib/libglib-2.0.so.0
#2  0x000000000046e118 in configure_colors_string (the_color_string=0x484e71 "errdhotfocus=") at color.c:105
#3  0x000000000046e1cf in configure_colors () at color.c:116
#4  0x0000000000470ed5 in tty_init_colors (disable=0, force=<value optimized out>) at color-slang.c:106
#5  0x0000000000437876 in main (argc=<value optimized out>, argv=0x7fff02bd6f78) at main.c:2146

Attachments

mc-1574.patch (872 bytes) - added by alsroot 9 years ago.

Change History

Changed 9 years ago by alsroot

comment:1 Changed 9 years ago by alsroot

mc -V output

GNU Midnight Commander 4.7.0-pre2-3-ge967de9
Virtual File System: tarfs, extfs, cpiofs, ftpfs, fish
Using system-installed S-Lang library with terminfo database
With subshell support as default
With support for background operations
With mouse support on xterm and Linux console
With support for X11 events
With internationalization support
With multiple codepages support
Data types: char 8 int 32 long 64 void * 64 off_t 64 ecs_char 32

comment:2 Changed 9 years ago by andrew_b

  • Status changed from new to accepted
  • Component changed from mc-core to mc-tty
  • Keywords r? removed
  • Version changed from master to 4.7.0-pre2
  • Milestone changed from 4.7 to 4.7.0-pre3
  • Owner set to andrew_b

comment:3 Changed 9 years ago by andrew_b

  • severity changed from no branch to on review

Thanks a lot!

Created branch 1574_color_string_parser_error. Parent branch: master.
changeset:ce57055a3a81c69603a1710caa70c94f10c7b4d9

comment:4 Changed 9 years ago by iNode

  • Votes for changeset set to iNode

comment:5 Changed 9 years ago by slavazanko

  • Votes for changeset changed from iNode to iNode slavazanko
  • severity changed from on review to approved

comment:6 Changed 9 years ago by andrew_b

  • Status changed from accepted to testing
  • Resolution set to fixed
  • severity changed from approved to merged

comment:7 Changed 9 years ago by andrew_b

  • Status changed from testing to closed
  • Votes for changeset changed from iNode slavazanko to commited-master
Note: See TracTickets for help on using tickets.