Hello Ypnose,
|With s-nail 14.5 running on Linux 3.12.6, I had a
|"Segmentation Fault" when I added a define + a secondary
|account. I was "inspired" by 14.5 changelog and the related
|snippet.
Shit!! Never have seen a problem with localopts!
|The mailrc config is included in the attachments (the values has
|been replaced).
|I'll try to explain you the problem (using mailrc).
|
|What I did:
|I connect to my mailbox "Xuser". I decided to switch to another
|one with "acc Yuser" and then I wanted to change the "set from",
|so I used "acc Yuser_code". This way, it works nicely!
|I can even reconnect to "Xuser".
|But, if I start s-nail with "s-nail -nA Yuser", when I switch to
|Yuser_code with "acc Yuser_code", I have a "Segmentation fault".
|When I try to connect to "Xuser" after calling "s-nail -nA Yuser",
|it does the same thing and it crashes.
Thanks for the config!
Yet, i can't reproduce your problem with either of
$ MAILRC=/dev/null xy -n -SNAIL_EXTRA_RC=config.txt -Semptystart
$ MAILRC=/dev/null xy -n -SNAIL_EXTRA_RC=config.txt -Semptystart -AYuser
$ MAILRC=/dev/null xy -n -SNAIL_EXTRA_RC=config.txt -Semptystart -AXuser
and then switching in between the accounts, and i tried on Snow
Leopard, Arch Linux (both x86_64) and Void Linux (i686), here with
Linux 3.10.19_1, though.. (mail(1) v14.5.1.)
|I don't know if it's related to my config, because it works when
|I connect from another mailbox.
|
|I hope it was clear, I'm not really good to explain a situation...
|Backtrace is attached.
Hmm, would you mind to either 'make devel' or anway ensure to get
debug symbols, then reproduce your crash in your particular
configuration to get at a real backtrace? That would really be
helpful! Maybe i should update the Void Linux system first, but
it's pretty weird behind GPRS :)
|If you need anything else, just call me.
Oh yes!
Heck -- where is sshd(1)?? OpenSSH is installed by default, but
i can't do neither of 'systemctl enable sshd.service' nor 'x start
y', nor can i find sshd(1) by itself! Doing 'xbps-install -d -u
-v openssh' only responds with openssh-6.4p1_1 is up-to-date.
Then i tried to get at a dropbear(1) package, but there is none,
unfortunately.
Would love to hear more on this, Ciao!
|Kind regards
|Y.
--steffen
--- Begin Message ---
Hi,
With s-nail 14.5 running on Linux 3.12.6, I had a
"Segmentation Fault" when I added a define + a secondary
account. I was "inspired" by 14.5 changelog and the related
snippet.
The mailrc config is included in the attachments (the values has
been replaced).
I'll try to explain you the problem (using mailrc).
What I did:
I connect to my mailbox "Xuser". I decided to switch to another
one with "acc Yuser" and then I wanted to change the "set from",
so I used "acc Yuser_code". This way, it works nicely!
I can even reconnect to "Xuser".
But, if I start s-nail with "s-nail -nA Yuser", when I switch to
Yuser_code with "acc Yuser_code", I have a "Segmentation fault".
When I try to connect to "Xuser" after calling "s-nail -nA Yuser",
it does the same thing and it crashes.
I don't know if it's related to my config, because it works when
I connect from another mailbox.
I hope it was clear, I'm not really good to explain a situation...
Backtrace is attached.
If you need anything else, just call me.
Kind regards
Y.
>> acc Yuser_code
Program received signal SIGSEGV, Segmentation fault.
0x0000000000406615 in ?? ()
(gdb) bt
#0 0x0000000000406615 in ?? ()
#1 0x0000000000406bc7 in ?? ()
#2 0x0000000000406ced in ?? ()
#3 0x0000000000406db3 in ?? ()
#4 0x00000000004073fa in ?? ()
#5 0x00000000004253b7 in ?? ()
#6 0x000000000042658b in ?? ()
#7 0x000000000042b532 in ?? ()
#8 0x0000000000405dce in ?? ()
#9 0x00007ffff73dfb05 in __libc_start_main () from /usr/lib/libc.so.6
#10 0x0000000000406018 in ?? ()
(gdb) c
Continuing.
Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
account Xuser {
set folder=imaps://[email protected]@imap.foo.org:993
set from="Xuser <[email protected]>"
set imap-cache=~/.mail/cache
set record=+INBOX.Sent
set smtp-auth=login
set [email protected]
set smtp="smtp.foo.org:145"
shortcut sent +INBOX.Sent
shortcut trash +INBOX.Trash
}
define Yuser_set {
set folder=imaps://[email protected]@imap.baz.ok:993
set imap-cache=~/.mail/cache
#set record=+Sent
set smtp-use-starttls
set smtp-auth=login
set [email protected]
set smtp="smtp.baz.ok:587"
shortcut spam +Spam
shortcut trash +Trash
}
account Yuser {
localopts 1
call Yuser_set
set from="Ymoo <[email protected]>"
}
account Yuser_code {
localopts 1
call Yuser_set
set from="Ywhat <[email protected]>"
}
--- End Message ---
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
S-nail-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/s-nail-users