Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Password with segmentation fault #4244

Closed
mc-butler opened this issue May 17, 2021 · 7 comments
Closed

Password with segmentation fault #4244

mc-butler opened this issue May 17, 2021 · 7 comments
Assignees
Labels
area: core Issues not related to a specific subsystem prio: medium Has the potential to affect progress ver: 4.8.26 Reproducible in version 4.8.26
Milestone

Comments

@mc-butler
Copy link

Important

This issue was migrated from Trac:

Origin https://midnight-commander.org/ticket/4244
Reporter JonasBelsewir

Hi,

1.
Debian 11 Testing (Xfce4 4.16)
I open a terminal window
I start: mc ftp://user@192.168.1.1/san32
mc opens and asks me for the password,
but there is a segmentation fault,
see attached image.

2.
I do not get this error with
version 4.8.25 and older.

Thanks
Jonas

LC_MESSAGES=C mc -V
GNU Midnight Commander 4.8.26
Built with GLib 2.66.4
Built with S-Lang 2.3.2 with terminfo database
With builtin Editor and Aspell support
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
With ext2fs attributes support
Virtual File Systems:
 cpiofs, tarfs, sfs, extfs, ext2undelfs, ftpfs, sftpfs, fish
Data types:
 char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64;
LC_MESSAGES=C mc -F
Home directory: /home/user
Profile root directory: /home/user

[System data]
    Config directory: /etc/mc/
    Data directory:   /usr/share/mc/
    File extension handlers: /usr/lib/mc/ext.d/
    VFS plugins and scripts: /usr/lib/mc/
	extfs.d:        /usr/lib/mc/extfs.d/
	fish:           /usr/lib/mc/fish/

[User data]
    Config directory: /home/user/.config/mc/
    Data directory:   /home/user/.local/share/mc/
	skins:          /home/user/.local/share/mc/skins/
	extfs.d:        /home/user/.local/share/mc/extfs.d/
	fish:           /home/user/.local/share/mc/fish/
	mcedit macros:  /home/user/.local/share/mc/mc.macros
	mcedit external macros: /home/user/.local/share/mc/mcedit/macros.d/macro.*
    Cache directory:  /home/user/.cache/mc/
mc --configure-options
 '--build=x86_64-linux-gnu' '--prefix=/usr' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-option-checking' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' 'AWK=awk' 'X11_WWW=x-www-browser' '--libexecdir=/usr/lib' '--with-x' '--with-screen=slang' '--disable-rpath' '--disable-static' '--disable-silent-rules' '--enable-aspell' '--enable-vfs-sftp' '--enable-vfs-undelfs' '--enable-tests' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -ffile-prefix-map=/build/mc-FTvHQk/mc-4.8.26=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'
user@pc2:~$ 

Note

Original attachments:

@mc-butler
Copy link
Author

Changed by JonasBelsewir on May 17, 2021 at 8:54 UTC

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on May 18, 2021 at 7:32 UTC (comment 1)

  • Description edited
  • Version changed from master to 4.8.26

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on May 18, 2021 at 7:36 UTC

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

Replying to JonasBelsewir (#4244):

I do not get this error with
version 4.8.25 and older.

Yes. This is yet another effect of #4114.

Branch: 4244_dialog_segfault
[0375997]

@mc-butler
Copy link
Author

Changed by JonasBelsewir on May 18, 2021 at 8:04 UTC (comment 3)

I downloaded code (mc-4244...) from git and compiled myself.

It works OK now.
Thank you very much for the fix.

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on May 23, 2021 at 7:42 UTC (comment 4)

  • Branch state changed from on review to approved
  • Votes set to JonasBelsewir andrew_b

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on May 23, 2021 at 7:45 UTC (comment 5)

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

Merged to master: [3a457a2].

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on May 23, 2021 at 7:47 UTC (comment 6)

  • Status changed from testing to closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: core Issues not related to a specific subsystem prio: medium Has the potential to affect progress ver: 4.8.26 Reproducible in version 4.8.26
Development

No branches or pull requests

2 participants