[Bug 540647] New: "nano" crashes on search (^W Where is)
http://bugzilla.novell.com/show_bug.cgi?id=540647 Summary: "nano" crashes on search (^W Where is) Classification: openSUSE Product: openSUSE 11.2 Version: Milestone 7 Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: d.pashov@gmail.com QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux; en-GB) AppleWebKit/527+ (KHTML, like Gecko, Safari/419.3) rekonq The editor "nano" crashes with message: Search: Las*** glibc detected *** nano: malloc(): memory corruption (fast): 0x0000000000632ff0 *** when searches for some string ('Last' in the example above) in some text file. The crash happens if nano is launched from a regular user profile. If one swithes to root with su then searches for some string in a text file with nano. It finds the searched for string if available and gives Segmentation fault and returns to the command prompt when another button is pressed. The "Segmentation fault text" is enteren on the position of the cursor replacing whatever is next. If one swithes to root with su -l (or su -) nano works fine. No noticeable problems or crashes. Reproducible: Always Steps to Reproduce: 1. open some text file with nano from a regular user profile 2. press ctrl+w and enter some string to search for 3. press enter to execute the search Actual Results: Different dopending on the profile/environment. Described in the "Details" section. Expected Results: no crashes or segmentation faults are expected. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=540647
zhu rensheng
http://bugzilla.novell.com/show_bug.cgi?id=540647
User crrodriguez@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540647#c1
Cristian Rodríguez
http://bugzilla.novell.com/show_bug.cgi?id=540647
User d.pashov@gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540647#c2
Dimitar Pashov
http://bugzilla.novell.com/show_bug.cgi?id=540647
User crrodriguez@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540647#c3
Cristian Rodríguez
installed nano-2.1.11-5.1.x86_64 and it crashes in the same way for a regular user.
Ok, do this now: from the same repo install nano-debuginfo and nano-debugsource run as user gdb nano then do the task that crashes, you should return to a gdb) prompt, do enter "bt full" without quotes and upload the result here as an attachment. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=540647
User crrodriguez@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540647#c4
--- Comment #4 from Cristian Rodríguez
gdb nano
then in the gdb prompt enter "run".. then the rest... -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=540647
User d.pashov@gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540647#c5
--- Comment #5 from Dimitar Pashov
http://bugzilla.novell.com/show_bug.cgi?id=540647
User d.pashov@gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540647#c6
Dimitar Pashov
http://bugzilla.novell.com/show_bug.cgi?id=540647
User crrodriguez@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540647#c7
--- Comment #7 from Cristian Rodríguez
http://bugzilla.novell.com/show_bug.cgi?id=540647
User d.pashov@gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540647#c8
--- Comment #8 from Dimitar Pashov
http://bugzilla.novell.com/show_bug.cgi?id=540647
User d.pashov@gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540647#c9
--- Comment #9 from Dimitar Pashov
http://bugzilla.novell.com/show_bug.cgi?id=540647
User d.pashov@gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540647#c10
--- Comment #10 from Dimitar Pashov
http://bugzilla.novell.com/show_bug.cgi?id=540647
User d.pashov@gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540647#c11
--- Comment #11 from Dimitar Pashov
http://bugzilla.novell.com/show_bug.cgi?id=540647
User crrodriguez@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540647#c12
--- Comment #12 from Cristian Rodríguez
http://bugzilla.novell.com/show_bug.cgi?id=540647
User d.pashov@gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540647#c13
--- Comment #13 from Dimitar Pashov
http://bugzilla.novell.com/show_bug.cgi?id=540647
User crrodriguez@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540647#c14
--- Comment #14 from Cristian Rodríguez
http://bugzilla.novell.com/show_bug.cgi?id=540647
User d.pashov@gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540647#c15
--- Comment #15 from Dimitar Pashov
http://bugzilla.novell.com/show_bug.cgi?id=540647
User crrodriguez@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540647#c16
--- Comment #16 from Cristian Rodríguez
http://bugzilla.novell.com/show_bug.cgi?id=540647
User crrodriguez@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540647#c17
Cristian Rodríguez
http://bugzilla.novell.com/show_bug.cgi?id=540647
User d.pashov@gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540647#c18
--- Comment #18 from Dimitar Pashov
http://bugzilla.novell.com/show_bug.cgi?id=540647
http://bugzilla.novell.com/show_bug.cgi?id=540647#c19
--- Comment #19 from patrick shanahan
http://bugzilla.novell.com/show_bug.cgi?id=540647
http://bugzilla.novell.com/show_bug.cgi?id=540647#c20
Cristian Rodríguez
http://bugzilla.novell.com/show_bug.cgi?id=540647
http://bugzilla.novell.com/show_bug.cgi?id=540647#c21
Michael Matz
http://bugzilla.novell.com/show_bug.cgi?id=540647
http://bugzilla.novell.com/show_bug.cgi?id=540647#c22
Michael Matz
http://bugzilla.novell.com/show_bug.cgi?id=540647
http://bugzilla.novell.com/show_bug.cgi?id=540647#c23
Cristian Rodríguez
http://bugzilla.novell.com/show_bug.cgi?id=540647
http://bugzilla.novell.com/show_bug.cgi?id=540647#c24
Matt Hayes
http://bugzilla.novell.com/show_bug.cgi?id=540647
http://bugzilla.novell.com/show_bug.cgi?id=540647#c25
--- Comment #25 from Cristian Rodríguez
Any idea when this issue will be repaired?
Mainly as I use nano for a lot of 'searching' :)
Thanks!
As this is a glibc bug, it may take some time to get fixed... stay tuned. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=540647
http://bugzilla.novell.com/show_bug.cgi?id=540647#c26
--- Comment #26 from Matt Hayes
(In reply to comment #24)
Any idea when this issue will be repaired?
Mainly as I use nano for a lot of 'searching' :)
Thanks!
As this is a glibc bug, it may take some time to get fixed... stay tuned.
Bummer! No worries, I'll use pico/vim for now :) Thanks! -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=540647
http://bugzilla.novell.com/show_bug.cgi?id=540647#c27
--- Comment #27 from Petr Baudis
http://bugzilla.novell.com/show_bug.cgi?id=540647
http://bugzilla.novell.com/show_bug.cgi?id=540647#c
Petr Baudis
http://bugzilla.novell.com/show_bug.cgi?id=540647
http://bugzilla.novell.com/show_bug.cgi?id=540647#c28
--- Comment #28 from Matt Hayes
http://bugzilla.novell.com/show_bug.cgi?id=540647
http://bugzilla.novell.com/show_bug.cgi?id=540647#c29
--- Comment #29 from Pieter Hollants
http://bugzilla.novell.com/show_bug.cgi?id=540647
http://bugzilla.novell.com/show_bug.cgi?id=540647#c30
--- Comment #30 from Cristian Rodríguez
http://bugzilla.novell.com/show_bug.cgi?id=540647
http://bugzilla.novell.com/show_bug.cgi?id=540647#c31
ingo buse
http://bugzilla.novell.com/show_bug.cgi?id=540647
http://bugzilla.novell.com/show_bug.cgi?id=540647#c32
--- Comment #32 from Matt Hayes
http://bugzilla.novell.com/show_bug.cgi?id=540647
http://bugzilla.novell.com/show_bug.cgi?id=540647#c33
Lawrence Steeger
http://bugzilla.novell.com/show_bug.cgi?id=540647
http://bugzilla.novell.com/show_bug.cgi?id=540647#c34
João Fernandes
http://bugzilla.novell.com/show_bug.cgi?id=540647
http://bugzilla.novell.com/show_bug.cgi?id=540647#c35
--- Comment #35 from ingo buse
http://bugzilla.novell.com/show_bug.cgi?id=540647
http://bugzilla.novell.com/show_bug.cgi?id=540647#c36
--- Comment #36 from João Fernandes
http://bugzilla.novell.com/show_bug.cgi?id=540647
http://bugzilla.novell.com/show_bug.cgi?id=540647#c37
Ivo Anjo
if this is the updated: http://download.opensuse.org/repositories/editors/openSUSE_11.2/x86_64/nano-...
i have to say, that this one still produces the segfault with the same behaviour (root segfaults instant wenn trying to search, user got 1 chance and segfaults after.
i've tested it on 2 different machines, one virtual, one hardware, both x64 with most current (today) updates installed.
Jan 5 18:09:02 test-hw kernel: [ 4067.654702] nano[2454]: segfault at 6372d29348 ip 00007fdca3473f8d sp 00007ffff0b3a0c0 error 4 in libc-2.10.1.so[7fdca3401000+151000]
Jan 5 17:13:40 test-vm kernel: [448757.622448] nano[19326]: segfault at 6372d29348 ip 00007fec4df07f8d sp 00007fff45053080 error 4 in libc-2.10.1.so[7fec4de95000+151000]
Same thing here. I only have a x86-64 install to test, but this nano version gives me the first search result, then segfaults. Not fixed here. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=540647
http://bugzilla.novell.com/show_bug.cgi?id=540647#c38
--- Comment #38 from Ivo Anjo
I've just compiled and replaced the original 2.1.9 by the latest 2.2.2 and it REALLY seems solved. Can anyone else confirm please?
João is right, 2.2.2 solves it for me, and I've packaged it on my home project: http://download.opensuse.org/repositories/home:/knuckles/openSUSE_11.2/x86_6... Please consider delivering the new nano 2.2.2 as an update to solve this issue. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=540647
http://bugzilla.novell.com/show_bug.cgi?id=540647#c39
--- Comment #39 from Lawrence Steeger
... Please consider delivering the new nano 2.2.2 as an update to solve this issue.
The x86_64/nano-2.2.2-18.1.x86_64.rpm fixed the problem here, too. This should be an update, post hast. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=540647
http://bugzilla.novell.com/show_bug.cgi?id=540647#c40
--- Comment #40 from Cristian Rodríguez
http://bugzilla.novell.com/show_bug.cgi?id=540647
http://bugzilla.novell.com/show_bug.cgi?id=540647#c41
--- Comment #41 from Pieter Hollants
http://bugzilla.novell.com/show_bug.cgi?id=540647
http://bugzilla.novell.com/show_bug.cgi?id=540647#c42
--- Comment #42 from Petr Baudis
http://bugzilla.novell.com/show_bug.cgi?id=540647
http://bugzilla.novell.com/show_bug.cgi?id=540647#c43
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=540647
http://bugzilla.novell.com/show_bug.cgi?id=540647#c44
--- Comment #44 from Cristian Rodríguez
but denying users a viable fix in the mean time is clearly wrong.
No, it is not a viable fix, nano is just one of the many packages that may be affected by this bug, and we are not going to fix them all, but release the right fix. what you suggest is a workaround, experience tells me that workarounds are a pain in the back to maintain in the long term. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=540647
http://bugzilla.novell.com/show_bug.cgi?id=540647#c45
alexis Pellicier
http://bugzilla.novell.com/show_bug.cgi?id=540647
http://bugzilla.novell.com/show_bug.cgi?id=540647#c46
Stephan Kleine
http://bugzilla.novell.com/show_bug.cgi?id=540647
http://bugzilla.novell.com/show_bug.cgi?id=540647#c47
Petr Baudis
http://bugzilla.novell.com/show_bug.cgi?id=540647
http://bugzilla.novell.com/show_bug.cgi?id=540647#c48
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=540647
http://bugzilla.novell.com/show_bug.cgi?id=540647#c
Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com