Ticket #3621 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Segmentation fault when enter to initrd of ALT Linux

Reported by: asy Owned by: andrew_b
Priority: major Milestone: 4.8.17
Component: mc-vfs Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: merged Votes for changeset: committed-master

Description

Attempt to enter to initrd of ALT Linux cause Segmentation fault.

Attachments

bt-full.txt (6.9 KB) - added by asy 3 years ago.
gdb bt full

Change History

Changed 3 years ago by asy

gdb bt full

comment:1 Changed 3 years ago by asy

Also pattern should be updated:

--- mc.ext.bak  2016-03-14 23:21:24.000000000 +0400
+++ mc.ext      2016-03-16 10:56:58.009936990 +0400
@@ -221,7 +221,7 @@
        View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view cpio

 # initrd
-regex/^(initramfs.*\.img|initrd\.img(-.+)?)$
+regex/^(initramfs.*\.img|initrd(-.+)?\.img(-.+)?)$
        Open=%cd %p/ucpio://

 # 7zip archives (they are not man pages)

comment:2 follow-up: ↓ 3 Changed 3 years ago by zaytsev-work

Do you have a link where one can download the initrd that caused this backtrace?

comment:3 in reply to: ↑ 2 Changed 3 years ago by andrew_b

Replying to zaytsev-work:

Do you have a link where one can download the initrd that caused this backtrace?

I've uploaded the initrd to my home at m-c.o, so you can get it there and move to some public place, e.g. ​https://www.midnight-commander.org/nopaste.

Last edited 3 years ago by andrew_b (previous) (diff)

comment:4 follow-up: ↓ 6 Changed 3 years ago by andrew_b

  • Owner set to andrew_b
  • Status changed from new to accepted
  • Branch state changed from no branch to on review
  • Milestone changed from Future Releases to 4.8.17

Branch: 3612_cpio_segfault
Initial changeset:df45584f8d9905a540d00b8dcf64b89246e7a0ad

comment:5 Changed 3 years ago by zaytsev

@andrew_b, the ticket number everywhere should be #3621, not #3612.

comment:6 in reply to: ↑ 4 Changed 3 years ago by andrew_b

Branch: 3621_cpio_segfault
Initial changeset:126672b40d04221978d44b470dc381b59a0c4c67

Last edited 3 years ago by andrew_b (previous) (diff)

comment:7 Changed 3 years ago by asy

I tested it and I seems it works, thanks. Don't forget about regexp pattern please.

comment:8 Changed 3 years ago by asy

Don't forget about regexp pattern please.

I see that already, thanks again.

comment:9 Changed 3 years ago by andrew_b

  • Votes for changeset set to asy andrew_b
  • Branch state changed from on review to approved

comment:10 Changed 3 years ago by andrew_b

  • Status changed from accepted to testing
  • Votes for changeset changed from asy andrew_b to committed-master
  • Resolution set to fixed
  • Branch state changed from approved to merged

Merged to master: [50cca69522fb5212c0b2c1ecd0d3e2e5948e55ce].

git log --pretty=oneline 990f6f1..50cca69

comment:11 Changed 3 years ago by andrew_b

  • Status changed from testing to closed
Note: See TracTickets for help on using tickets.