Ticket #3542 (new defect)

Opened 3 years ago

Last modified 4 months ago

[patch] fix /src/editor testsuite failure when ncurses is used

Reported by: and Owned by:
Priority: minor Milestone: 4.8.22
Component: mc-core Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

fix /src/editor testsuite failure when ncurses is used

 Running suite /src/editor
 (null):-1:S:Core:test_autocomplete:0: (after this point) Received signal 11 (Segmentation fault)
 (null):-1:S:Core:test_autocomplete:1: (after this point) Received signal 11 (Segmentation fault)
 (null):-1:S:Core:test_autocomplete_single:0: (after this point) Received signal 11 (Segmentation fault)
 Results for all suites run:
 0%: Checks: 3, Failures: 0, Errors: 3

testsuite failed because ncurses:doupdate() called without proper init

 edit_init()
   -> edit_load_file()
      -> edit_load_file_fast()
         -> status_msg_init()
            -> mc_refesh()
               -> ncurses/tty_refresh()
                  -> doupdate()

patch against 52fd328042a426e885da891c8ce8218cda3a1cf7
compile test with GCC 5.2.0/ncurses 5.9

Signed-off-by: Andreas Mohr <and@…>

Attachments

mc-3542-fix-editor-tests-segfault-on-ncurses.patch (1.4 KB) - added by and 3 years ago.

Change History

comment:1 Changed 3 years ago by andrew_b

  • Milestone changed from 4.8.15 to 4.8.16

comment:2 Changed 3 years ago by zaytsev

  • Milestone changed from 4.8.16 to 4.8.17

comment:3 Changed 2 years ago by zaytsev

  • Milestone changed from 4.8.17 to 4.8.18

comment:4 Changed 2 years ago by zaytsev

  • Milestone changed from 4.8.18 to 4.8.19

comment:5 Changed 10 months ago by zaytsev

  • Milestone changed from 4.8.20 to 4.8.21

comment:6 Changed 4 months ago by zaytsev

  • Milestone changed from 4.8.21 to 4.8.22
Note: See TracTickets for help on using tickets.