Bug 20136 - Падает при нажатии Shift-R
Summary: Падает при нажатии Shift-R
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: mutt (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Gleb F-Malinovskiy
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-22 10:24 MSD by Andriy Stepanov (stanv)
Modified: 2009-05-25 16:44 MSD (History)
2 users (show)

See Also:


Attachments
файлики незаконченных сообщений (4.04 KB, application/x-gzip)
2009-05-22 13:43 MSD, Andriy Stepanov (stanv)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andriy Stepanov (stanv) 2009-05-22 10:24:21 MSD
Mutt падает в корку при нажатии Shift-R.

Читается /home/stanv/Mail/draft/... 1zsh: segmentation fault  mutt
                                                                  %                                             stanv@stanv: ~/ > 

rpm -q mutt
mutt-1.4.2.3-alt3

Архитектура: x86_64

Core was generated by `mutt'.
Program terminated with signal 11, Segmentation fault.
#0  0x000000000045ec59 in free ()
(gdb) bt
#0  0x000000000045ec59 in free ()
#1  0x000000000042d981 in free ()
#2  0x0000000000463910 in free ()
#3  0x000000000042c8ea in free ()
#4  0x00000000004369b2 in free ()
#5  0x0000000000436d80 in free ()
#6  0x0000000000449b6a in free ()
#7  0x0000000000457320 in free ()
#8  0x000000000041c3e2 in free ()
#9  0x0000000000432821 in free ()
#10 0x00002afe58a1f7a6 in __libc_start_main () from /lib64/libc.so.6
#11 0x0000000000405279 in free ()
#12 0x00007fff52cda0d8 in ?? ()
#13 0x000000000000001c in ?? ()
#14 0x0000000000000001 in ?? ()
#15 0x00007fff52cdb6c4 in ?? ()
#16 0x0000000000000000 in ?? ()


(gdb) info threads
* 1 process 29237  0x000000000045ec59 in free ()


strace:
...
29361 close(4)                          = 0
  29361 munmap(0x7f20f9ea1000, 4096)      = 0
  29361 write(1, "\33(B\33[0;1m\33[37m\33[44m 1\33[39;49m\33(B"..., 35) = 35
  29361 open("/home/stanv/Mail/draft//cur/1233663702.7251_3.stanv:2,", O_RDONLY) = 4
  29361 fstat(4, {st_mode=S_IFREG|0600, st_size=1716, ...}) = 0
  29361 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f20f9ea1000
  29361 lseek(4, 0, SEEK_CUR)             = 0
  29361 read(4, "From: \"Andrew V. Stepanov\" <stan"..., 4096) = 1716
  29361 fstat(4, {st_mode=S_IFREG|0600, st_size=1716, ...}) = 0
  29361 close(4)                          = 0
  29361 munmap(0x7f20f9ea1000, 4096)      = 0
  29361 open("/home/stanv/Mail/draft//cur/1233666548.7251_5.stanv:2,", O_RDONLY) = 4
  29361 fstat(4, {st_mode=S_IFREG|0600, st_size=1103, ...}) = 0
  29361 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f20f9ea1000
  29361 lseek(4, 0, SEEK_CUR)             = 0
  29361 read(4, "From: \"Andrew V. Stepanov\" <stan"..., 4096) = 1103
  29361 fstat(4, {st_mode=S_IFREG|0600, st_size=1103, ...}) = 0
  29361 close(4)                          = 0
  29361 munmap(0x7f20f9ea1000, 4096)      = 0
  29361 open("/home/stanv/Mail/draft//cur/1236617117.27701_9.stanv:2,", O_RDONLY) = 4
  29361 fstat(4, {st_mode=S_IFREG|0600, st_size=3480, ...}) = 0
  29361 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f20f9ea1000
  29361 lseek(4, 0, SEEK_CUR)             = 0
  29361 read(4, "From: \"Andrew V. Stepanov\" <stan"..., 4096) = 3480
  29361 fstat(4, {st_mode=S_IFREG|0600, st_size=3480, ...}) = 0
  29361 close(4)                          = 0
  29361 munmap(0x7f20f9ea1000, 4096)      = 0
  29361 open("/home/stanv/Mail/draft//cur/1236871300.27701_29.stanv:2,", O_RDONLY) = 4
  29361 fstat(4, {st_mode=S_IFREG|0600, st_size=701, ...}) = 0
  29361 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f20f9ea1000
  29361 lseek(4, 0, SEEK_CUR)             = 0
(>29361 read(4, "From: \"Andrew V. Stepanov\" <stan"..., 4096) = 701
  29361 fstat(4, {st_mode=S_IFREG|0600, st_size=701, ...}) = 0
  29361 close(4)                          = 0
  29361 munmap(0x7f20f9ea1000, 4096)      = 0
  29361 getdents(3, /* 0 entries */, 4096) = 0
  29361 close(3)                          = 0
  29361 write(1, "\33[?25l", 6)           = 6
  29361 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
]>29361 +++ killed by SIGSEGV +++
Comment 1 Dmitry V. Levin 2009-05-22 13:26:02 MSD
(In reply to comment #0)
> Mutt падает в корку при нажатии Shift-R.

Я верю, конечно, но у меня не падает.

Видимо, для воспроизведения требуется какой-то специальный контекст?
Comment 2 Andriy Stepanov (stanv) 2009-05-22 13:43:17 MSD
Created attachment 3553 [details]
файлики незаконченных сообщений

> tar tf test-mutt.tar.gz 
home/stanv/Mail/draft/
home/stanv/Mail/draft/cur/
home/stanv/Mail/draft/cur/1233589938.7251_1.stanv:2,
home/stanv/Mail/draft/cur/1233663702.7251_3.stanv:2,
home/stanv/Mail/draft/cur/1233666548.7251_5.stanv:2,
home/stanv/Mail/draft/cur/1236617117.27701_9.stanv:2,
home/stanv/Mail/draft/cur/1236871300.27701_29.stanv:2,
home/stanv/Mail/draft/new/
home/stanv/Mail/draft/tmp/