[Bug 1047166] New: nano extremely unstable on 42.x
http://bugzilla.opensuse.org/show_bug.cgi?id=1047166 Bug ID: 1047166 Summary: nano extremely unstable on 42.x Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.3 Hardware: Other OS: Other Status: NEW Severity: Major Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: fvogt@suse.com QA Contact: qa-bugs@suse.de CC: astieger@suse.com, crrodriguez@opensuse.org Found By: --- Blocker: --- "nano /" (or in fact any other inode/directory) results in a malloc chunk corruption detected by libc. Same for using PgDown for scrolling, resulting in instant corruption. Currently happens always on 42.3, but easily reproducible on 42.2 as well by doing: MALLOC_CHECK_=3 MALLOC_PERTURB_=69 nano / gdb: #0 0x00007ffff73e38d7 in raise () from /lib64/libc.so.6 #1 0x00007ffff73e4caa in abort () from /lib64/libc.so.6 #2 0x00007ffff74211b4 in __libc_message () from /lib64/libc.so.6 #3 0x00007ffff7426706 in malloc_printerr () from /lib64/libc.so.6 #4 0x00007ffff7429a9c in realloc_check () from /lib64/libc.so.6 #5 0x000000000041f4be in nrealloc (ptr=<optimized out>, howmuch=4) at utils.c:398 #6 0x000000000041f548 in null_at (data=data@entry=0x7fffffffd988, index=index@entry=3) at utils.c:126 #7 0x0000000000420f65 in display_string (buf=buf@entry=0x7c9400 "„/tmp“ ist ein Verzeichnis", start_col=5, start_col@entry=0, len=239, dollars=dollars@entry=false) at winio.c:2005 #8 0x0000000000421b64 in statusbar (msg=0x7ffff7fdfdc1 "„%s“ ist ein Verzeichnis") at winio.c:2263 #9 0x0000000000409743 in open_file (filename=filename@entry=0x7fffffffe6d3 "/tmp", newfie=newfie@entry=true, quiet=<optimized out>, f=f@entry=0x7fffffffdc38) at files.c:944 #10 0x000000000040c3c3 in open_buffer (filename=0x7fffffffe6d3 "/tmp", undoable=undoable@entry=false) at files.c:367 #11 0x00000000004046cd in main (argc=2, argv=0x7fffffffe338) at nano.c:2746 valgrind: ==29216== Invalid write of size 1 ==29216== at 0x406845: parse_mbchar (chars.c:422) ==29216== by 0x420CA9: display_string (winio.c:1940) ==29216== by 0x421B63: statusbar (winio.c:2263) ==29216== by 0x409742: open_file (files.c:944) ==29216== by 0x40C3C2: open_buffer (files.c:367) ==29216== by 0x4046CC: main (nano.c:2746) ==29216== Address 0x5ce56d2 is 0 bytes after a block of size 2 alloc'd ==29216== at 0x4C2B47E: realloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==29216== by 0x41F4BD: nrealloc (utils.c:398) ==29216== by 0x41F547: null_at (utils.c:126) ==29216== by 0x420F64: display_string (winio.c:2005) ==29216== by 0x421B63: statusbar (winio.c:2263) ==29216== by 0x409742: open_file (files.c:944) ==29216== by 0x40C3C2: open_buffer (files.c:367) ==29216== by 0x4046CC: main (nano.c:2746) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1047166
http://bugzilla.opensuse.org/show_bug.cgi?id=1047166#c1
--- Comment #1 from Andreas Stieger
http://bugzilla.opensuse.org/show_bug.cgi?id=1047166
http://bugzilla.opensuse.org/show_bug.cgi?id=1047166#c2
--- Comment #2 from Fabian Vogt
Hmm should we go to editors/nano 2.8.5?
Seems to work fine here on 42.2, no more crashes. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1047166
http://bugzilla.opensuse.org/show_bug.cgi?id=1047166#c4
Andreas Stieger
http://bugzilla.opensuse.org/show_bug.cgi?id=1047166
http://bugzilla.opensuse.org/show_bug.cgi?id=1047166#c5
--- Comment #5 from Fabian Vogt
fixed in 42.3
What about 42.2? -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com