Ticket #1992 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

Mc crashes when running with ftp link

Reported by: mrk Owned by: andrew_b
Priority: major Milestone: 4.7.1
Component: mc-core Version: 4.7.0.2
Keywords: ftp crash Cc:
Blocked By: Blocking:
Branch state: Votes for changeset: committed-master committed-stable

Description

Good day!

I'm using mc 4.7.0.1 on freebsd8 (and 7 too), installed from ports or packages. This crash was here on past versions too.
If i run mc /#ftp:user:pass@server, then all is ok.

But if i run mc /#ftp:user@server then it segfaults (with dumping core):
ftpfs: осуществляется соединение с server

Then password prompt appears, and after i type one char of a password, it crashes:
Segmentation fault (core dumped).

It is 100% reproducable here.

PS. I've just tried mc-4.6.1a-35.el5 on RHEL5 and it's working fine. I actually dunno if this is freebsd-related (base system ncurses version, for example) or version-related.

Thanks.

Change History

comment:1 Changed 7 years ago by andrew_b

  • Status changed from new to closed
  • Resolution set to invalid
  • Milestone 4.7 deleted

Fixed in 8689d6a925e5606009267646f0d608e1db31873b (comment:ticket:1605:17) after 4.7.0.1 release.
Please use 4.7.0.2 release.

comment:2 Changed 7 years ago by mrk

  • Status changed from closed to reopened
  • Version changed from 4.7.0.1 to 4.7.0.2
  • Resolution invalid deleted

Hello.
I updated to 4.7.0.2 and still expecting a problem, outlined in initial message.
What details i should provide to help in solving this issue?

comment:3 Changed 7 years ago by andrew_b

  • Owner set to andrew_b
  • Status changed from reopened to accepted
  • Component changed from mc-vfs to mc-core
  • Milestone set to 4.7.1

Yes, you are right. The bug is present and reproducable. But bug is not in VFS subsystem but in core.

Created 1992_mc_startup branch. Parent branch is master.
changeset:e87079abcffd11983782b538fe613bcf0d316a4c

comment:4 Changed 7 years ago by andrew_b

comment:5 Changed 7 years ago by andrew_b

  • severity changed from no branch to on review

Changesets were rebased and split to clear understand changes.
New initial changeset:b19f505e6dbfbc056df5732e0129b02ce4480c43

comment:6 Changed 7 years ago by slavazanko

  • Votes for changeset set to slavazanko

comment:7 Changed 7 years ago by angel_il

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

comment:8 Changed 7 years ago by andrew_b

  • Status changed from accepted to testing
  • Votes for changeset changed from slavazanko angel_il to commited-master commited-stable
  • Resolution set to fixed
  • severity changed from approved to merged

comment:9 Changed 7 years ago by andrew_b

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