Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Opening attachment kills Alpine

14 views
Skip to first unread message

Lucas Levrel

unread,
Feb 27, 2013, 5:20:10 AM2/27/13
to
Hi,

Another problem has just shown up in my freshly compiled Alpine 2.10.
It dies when I try to open an attachment, be it for example a Word
document or a PDF (I've just tried those two types at the moment).

Excerpt of .mailcap:
application/pdf;evince-patched %s
application/msword; ooffice -view %s\; sleep 3s

Here's the end of .pine-debug:
----- MAIL VIEW -----
MAIL_CMD: going to attachment screen
Want_to read: RETURN (0xd)
mt_browse: FAILED open(/home/lucas/.mime.types) : No such file or
directory.
about to end_tty_driver
new win size -----<48 80>------
read_bail: cleaning up
- completely_done_with_adrbks -
IMAP 11:02:47 2/27 mm_notify bye:
{orion.u-pec.fr:993/imap/notls/ssl/user="lucas.levrel"}inbox: Logging out
done with read_bail clean up
about to end_tty_driver

Back to the terminal, there are no message (no Segmentation fault or the
like).

Thanks for advice.

--
LL

Lucas Levrel

unread,
Feb 27, 2013, 5:30:06 AM2/27/13
to
Le 27 fᅵvrier 2013, Lucas Levrel a ᅵcrit :

> Here's the end of .pine-debug:

Now with maximum verbosity:
---
- process_cmd(cmd=506) -
MAIL_CMD: going to attachment screen
PROCESS_CMD return: 0
cancel_busy_cue(-1)
stop_after(join=0) tid=98029720
new mail called (force=0 VeryBad flags=0x3)
INBOX: force=0 interval=300 exp_reap_to=600 adj_idle_to=1650
since_last_ping=1 since_last_reap=8
******** new mail returning -1 ********
set_titlebar - style: 2 current message cnt:1
current_pl: 0 total_pl: 0
0 ? Help 0
1 O OTHER CMDS 0
2 < Msg #10 13
3 > [View] 13
4 P PrevAttch 26
5 N NextAtch 26
6 - PrevPage 42
7 Spc NextPage 40
8 D Delete 53
9 U Undelete 53
10 S Save 66
11 E Export 66
row: -2, real_row: 45, column: 0
cancel_busy_cue(-1)
stop_after(join=0) tid=98029720
Read char returning: 0xd RETURN
New_mail_count zeroed
Read command returning: 0xd RETURN
suspend_busy_cue
0 Y [Yes] 0
1 N No 0
2 (null) (null) 13
3 (null) (null) 13
4 (null) (null) 26
5 (null) (null) 26
6 (null) (null) 40
7 (null) (null) 40
8 (null) (null) 53
9 (null) (null) 53
10 (null) (null) 66
11 (null) (null) 66
row: -2, real_row: 45, column: 0
Read char returning: 0xd RETURN
Want_to read: RETURN (0xd)
resume_busy_cue
mt_get_file_ext : filename="lettreflash_18.pdf",
extension="pdf"
- mt_srch_mime_type -
mime_types: path:
/home/lucas/.mime.types:/etc/mime.types:/usr/local/lib/mime.types
mt_browse_types_file(/home/lucas/.mime.types)
mt_browse: FAILED open(/home/lucas/.mime.types) : No such file or
directory.
mt_browse_types_file(/etc/mime.types)
traverse: buffer=
.
typespec=
.
[snip]
traverse: buffer=application/pdf pdf
.
typespec=application/pdf.
mt_get_file_ext : filename="lettreflash_18.pdf",
extension="pdf"
- mc_get_command(Application/PDF) -
mc_ctype_match: application/postscript == Application / PDF ?
mc_ctype_match: application/pdf == Application / PDF ?
- mc_passes_test -
no test command, so Pass
mc_get_command: type=Application/PDF, command=evince-patched %s
busy_cue(Decoding "Application", 0x4b5150, 0)
q_status_message(Decoding "Application" | |)
output_message(Decoding "Application" | |)
start_after() created 98048710: done
busy_cue(Busy, (nil), 1)
0 ? Help 1
1 ^C Cancel 0
2 (null) (null) 13
3 (null) (null) 13
4 (null) (null) 26
5 (null) (null) 26
6 (null) (null) 40
7 (null) (null) 40
8 (null) (null) 53
9 (null) (null) 53
10 (null) (null) 66
11 (null) (null) 66
row: -2, real_row: 45, column: 0
-- gf_reset b64_binary
-- gf_pipe:
imap_cmd(INBOX, FETCH, 0x1)
IMAP DEBUG 11:22:00 2/27: 0000000d FETCH 10 BODY[2]<0.8192>
IMAP DEBUG 11:22:00 2/27: * 10 FETCH (BODY[2]<0> {8192}
IMAP DEBUG 11:22:00 2/27: )
IMAP DEBUG 11:22:00 2/27: 0000000d OK Fetch completed.
fetch: diff=3254 wdiff=1000000 fetchave=1000000 prev chunksize=8192
[snip]
done.
cancel_busy_cue(0)
stop_after(join=0) tid=98029720
busy_cue(Displaying attachment, (nil), 0)
cleanup_after() tid=98048710q_status_message(Displaying attachment
)

q_status_message(Displaying attachment DONE)
STATUS: diff:0, displayed: 1361960520, now: 1361960520
output_message(Displaying attachment DONE)
start_after() created 98048710: done
- mailcap_build_command -
- mc_get_command(Application/PDF) -
mc_ctype_match: application/postscript == Application / PDF ?
mc_ctype_match: application/pdf == Application / PDF ?
- mc_passes_test -
no test command, so Pass
mc_get_command: type=Application/PDF, command=evince-patched %s
- mc_cmd_bldr -
built command: evince-patched /tmp/img-lettreflash_18-94529.pdf
cancel_busy_cue(-1)
stop_after(join=0) tid=98029720
cleanup_after() tid=98048710
exec_mailcap_cmd: command=(evince-patched
/tmp/img-lettreflash_18-94529.pdf ; sleep 0 ; rm -f
/tmp/img-lettreflash_18-94529.pdf) &

Opening pipe: (WT)
about to end_tty_driver
end_screen called
new mail called (force=0 VeryBad flags=0x0)
INBOX: force=0 interval=300 exp_reap_to=600 adj_idle_to=1650
since_last_ping=0 since_last_reap=10
******** new mail returning -1 ********
fix_windsize()
new win size -----<47 80>------
q_status_message(VIEWER command launched)
new mail called (force=0 VeryBad flags=0x3)
INBOX: force=0 interval=300 exp_reap_to=600 adj_idle_to=1650
new mail called (force=0 VeryBad flags=0x0)
INBOX: force=0 interval=300 exp_reap_to=600 adj_idle_to=1650
since_last_ping=0 since_last_reap=10
******** new mail returning -1 ********
fix_windsize()
new win size -----<47 80>------
q_status_message(VIEWER command launched)
new mail called (force=0 VeryBad flags=0x3)
INBOX: force=0 interval=300 exp_reap_to=600 adj_idle_to=1650
since_last_ping=0 since_last_reap=10
******** new mail returning -1 ********
set_titlebar - style: 2 current message cnt:1
current_pl: 0 total_pl: 0
STATUS: diff:0, displayed: 1361960520, now: 1361960520
output_message(VIEWER command launched)
0 ? Help 0
1 O OTHER CMDS 0
2 < Msg #10 13
3 > [View] 13
4 P PrevAttch 26
5 N NextAtch 26
6 - PrevPage 42
7 Spc NextPage 40
8 D Delete 53
9 U Undelete 53
10 S Save 66
11 E Export 66
row: -2, real_row: 45, column: 0
cancel_busy_cue(-1)
stop_after(join=0) tid=98029720
read_bail: cleaning up
end_signals(1)
- completely_done_with_adrbks -
sp_end
pine_mail_actually_close:
{orion.u-pec.fr:993/imap/notls/ssl/user="lucas.levrel"}inbox (11:22:00 2/27)
sp_delete({orion.u-pec.fr:993/imap/notls/ssl/user="lucas.levrel"}inbox)
sp_delete: stream removed from slot 0
imap_cmd(INBOX, LOGOUT, 0x0)
IMAP DEBUG 11:22:00 2/27: 00000013 LOGOUT
IMAP DEBUG 11:22:00 2/27: * BYE Logging out
IMAP 11:22:00 2/27 mm_notify bye:
{orion.u-pec.fr:993/imap/notls/ssl/user="lucas.levrel"}inbox: Logging out
IMAP DEBUG 11:22:00 2/27: 00000013 OK Logout completed.
done with read_bail clean up
about to end_tty_driver
---

--
LL

cha...@washington.edu

unread,
Feb 27, 2013, 6:38:10 PM2/27/13
to
On Wednesday, February 27, 2013 3:20:10 AM UTC-7, Lucas Levrel wrote:

> Another problem has just shown up in my freshly compiled Alpine 2.10.
>
> It dies when I try to open an attachment, be it for example a Word
>
> document or a PDF (I've just tried those two types at the moment).

This seems to be a patched Alpine 2.10, but the problem is not due to a patch. What you observe is that Alpine "bailed" on you, meaning it quit (without you wanting it to quit) not crashed. The debug does not show why it did so; normally this happens when Alpine receives a signal that does not know how to handle. Would you mind to run a patch on top of your version of Alpine so that I can know what signal is being received by Alpine that makes it bail? Also, what OS are you using? If you want you can contact me off list at chappa at washington dot edu. I also need to know if anything else was happening when you opened the attachment.

Thank you!

--
Eduardo
http://patches.freeiz.com/alpine/

Alpine 2.10 released at http://patches.freeiz.com/alpine/info/alpine.html
0 new messages