<p dir="ltr">Neither strace nor gdb will give me a backtrace, since they both lose track of it when it forks, but the failure happens after forking. For some reason, systemd says that coredumps are disabled for the process, so I can't get one of those either. </p>
<div class="gmail_quote">On Jun 7, 2016 00:31, "Alex Chernyakhovsky" <<a href="mailto:achernya@mit.edu">achernya@mit.edu</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Unfortunately, that's not much to go on. Could you grab the core file<br>
and get a backtrace? I'm assuming some syscall (probably malloc?)<br>
failed.<br>
<br>
Sincerely,<br>
-Alex<br>
<br>
On Tue, Jun 7, 2016 at 12:18 AM, Deven Lahoti <<a href="mailto:deywos@mit.edu">deywos@mit.edu</a>> wrote:<br>
> I don't think that's the problem, since it's now giving me:<br>
> mosh-server[21489]: segfault at 0 ip (null) sp 00007fffffffcbd8<br>
> error 14 in mosh-server[555555554000+60000]<br>
><br>
> On Mon, Jun 6, 2016 at 11:42 PM, Alex Chernyakhovsky <<a href="mailto:achernya@mit.edu">achernya@mit.edu</a>><br>
> wrote:<br>
>><br>
>> I think the offending line is<br>
>><br>
>> Jun 06 22:32:19 <hostname> kernel: PAX: From 18.X.X.X: execution<br>
>> attempt in: (null), 00000000-00000000 00000000<br>
>> Jun 06 22:32:19 <hostname> kernel: PAX: terminating task:<br>
>> /usr/bin/mosh-server(mosh-server):12505, uid/euid: XXXX/XXXX, PC:<br>
>> (nil), SP: 000003844385a508<br>
>><br>
>> mosh-server needs to fork and exec to start subprocesses, and your<br>
>> kernel/configuration doesn't consider mosh-server to be in the<br>
>> whitelist.<br>
>><br>
>> Sincerely,<br>
>> -Alex<br>
>><br>
>><br>
>> On Mon, Jun 6, 2016 at 11:30 PM, Deven Lahoti <<a href="mailto:deywos@mit.edu">deywos@mit.edu</a>> wrote:<br>
>> > Hi, when trying to connect to my machine running Gentoo Hardened on<br>
>> > kernel<br>
>> > 4.4.8, mosh-server fails to start. Here are the logs (modified to remove<br>
>> > personal info) [<a href="http://web.mit.edu/deywos/www/mosh.log" rel="noreferrer" target="_blank">http://web.mit.edu/deywos/www/mosh.log</a>]. I'm not really<br>
>> > sure<br>
>> > what the problem is, and I don't know much about how mosh works, so I<br>
>> > was<br>
>> > hoping someone here could help me out.<br>
>> ><br>
>> > Thanks,<br>
>> > Deven<br>
>> ><br>
>> > _______________________________________________<br>
>> > mosh-users mailing list<br>
>> > <a href="mailto:mosh-users@mit.edu">mosh-users@mit.edu</a><br>
>> > <a href="http://mailman.mit.edu/mailman/listinfo/mosh-users" rel="noreferrer" target="_blank">http://mailman.mit.edu/mailman/listinfo/mosh-users</a><br>
>> ><br>
><br>
><br>
</blockquote></div>