public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* pandoc segfaults when run as a plain user but not as root
@ 2020-04-24 14:16 Martin Brooks
       [not found] ` <4b5c38fa-67f3-4a3e-bca5-9ce9451a20dc-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Martin Brooks @ 2020-04-24 14:16 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1739 bytes --]

Hello

I've just installed pandoc from the .deb file distributed from the primary 
site 
(i.e. https://github.com/jgm/pandoc/releases/download/2.9.2.1/pandoc-2.9.2.1-1-amd64.deb 
)

The installed binary segfaults when run as an ordinary user, but not when 
run as root:

$ /usr/bin/pandoc --version
Segmentation fault

$ sudo /usr/bin/pandoc --version
pandoc 2.9.2.1
Compiled with pandoc-types 1.20, texmath 0.12.0.1, skylighting 0.8.3.2
Default user data directory: /root/.local/share/pandoc or /root/.pandoc
Copyright (C) 2006-2020 John MacFarlane
Web:  https://pandoc.org
This is free software; see the source for copying conditions.
There is no warranty, not even for merchantability or fitness
for a particular purpose.


The underlying operating system is a freshly installed Debian 10:


$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 10 (buster)
Release:        10
Codename:       buster


The problem happens consistently even after a reboot.  An strace isn't 
especially enlightening:

$ strace /usr/bin/pandoc --version
execve("/usr/bin/pandoc", ["/usr/bin/pandoc", "--version"], 0x7fff76901a28 
/* 20 vars */) = -1 EPERM (Operation not permitted)
+++ killed by SIGSEGV +++
Segmentation fault


Any ideas what the problem might be?

Regards

Martin A. Brooks




-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/4b5c38fa-67f3-4a3e-bca5-9ce9451a20dc%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 3575 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: pandoc segfaults when run as a plain user but not as root
       [not found] ` <4b5c38fa-67f3-4a3e-bca5-9ce9451a20dc-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2020-04-24 15:03   ` John MacFarlane
  2020-04-24 15:05   ` John MacFarlane
  1 sibling, 0 replies; 5+ messages in thread
From: John MacFarlane @ 2020-04-24 15:03 UTC (permalink / raw)
  To: Martin Brooks, pandoc-discuss


That's odd, I haven't heard any reports like this.
Can anyone else reproduce this?

Martin Brooks <martin.brooks-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> Hello
>
> I've just installed pandoc from the .deb file distributed from the primary 
> site 
> (i.e. https://github.com/jgm/pandoc/releases/download/2.9.2.1/pandoc-2.9.2.1-1-amd64.deb 
> )
>
> The installed binary segfaults when run as an ordinary user, but not when 
> run as root:
>
> $ /usr/bin/pandoc --version
> Segmentation fault
>
> $ sudo /usr/bin/pandoc --version
> pandoc 2.9.2.1
> Compiled with pandoc-types 1.20, texmath 0.12.0.1, skylighting 0.8.3.2
> Default user data directory: /root/.local/share/pandoc or /root/.pandoc
> Copyright (C) 2006-2020 John MacFarlane
> Web:  https://pandoc.org
> This is free software; see the source for copying conditions.
> There is no warranty, not even for merchantability or fitness
> for a particular purpose.
>
>
> The underlying operating system is a freshly installed Debian 10:
>
>
> $ lsb_release -a
> No LSB modules are available.
> Distributor ID: Debian
> Description:    Debian GNU/Linux 10 (buster)
> Release:        10
> Codename:       buster
>
>
> The problem happens consistently even after a reboot.  An strace isn't 
> especially enlightening:
>
> $ strace /usr/bin/pandoc --version
> execve("/usr/bin/pandoc", ["/usr/bin/pandoc", "--version"], 0x7fff76901a28 
> /* 20 vars */) = -1 EPERM (Operation not permitted)
> +++ killed by SIGSEGV +++
> Segmentation fault
>
>
> Any ideas what the problem might be?
>
> Regards
>
> Martin A. Brooks
>
>
>
>
> -- 
> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/4b5c38fa-67f3-4a3e-bca5-9ce9451a20dc%40googlegroups.com.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: pandoc segfaults when run as a plain user but not as root
       [not found] ` <4b5c38fa-67f3-4a3e-bca5-9ce9451a20dc-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  2020-04-24 15:03   ` John MacFarlane
@ 2020-04-24 15:05   ` John MacFarlane
       [not found]     ` <m2lfmk2aay.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
  1 sibling, 1 reply; 5+ messages in thread
From: John MacFarlane @ 2020-04-24 15:05 UTC (permalink / raw)
  To: Martin Brooks, pandoc-discuss


Btw I can't reproduce on my debian stable system.
What kind of system are you running on?

Martin Brooks <martin.brooks-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> Hello
>
> I've just installed pandoc from the .deb file distributed from the primary 
> site 
> (i.e. https://github.com/jgm/pandoc/releases/download/2.9.2.1/pandoc-2.9.2.1-1-amd64.deb 
> )
>
> The installed binary segfaults when run as an ordinary user, but not when 
> run as root:
>
> $ /usr/bin/pandoc --version
> Segmentation fault
>
> $ sudo /usr/bin/pandoc --version
> pandoc 2.9.2.1
> Compiled with pandoc-types 1.20, texmath 0.12.0.1, skylighting 0.8.3.2
> Default user data directory: /root/.local/share/pandoc or /root/.pandoc
> Copyright (C) 2006-2020 John MacFarlane
> Web:  https://pandoc.org
> This is free software; see the source for copying conditions.
> There is no warranty, not even for merchantability or fitness
> for a particular purpose.
>
>
> The underlying operating system is a freshly installed Debian 10:
>
>
> $ lsb_release -a
> No LSB modules are available.
> Distributor ID: Debian
> Description:    Debian GNU/Linux 10 (buster)
> Release:        10
> Codename:       buster
>
>
> The problem happens consistently even after a reboot.  An strace isn't 
> especially enlightening:
>
> $ strace /usr/bin/pandoc --version
> execve("/usr/bin/pandoc", ["/usr/bin/pandoc", "--version"], 0x7fff76901a28 
> /* 20 vars */) = -1 EPERM (Operation not permitted)
> +++ killed by SIGSEGV +++
> Segmentation fault
>
>
> Any ideas what the problem might be?
>
> Regards
>
> Martin A. Brooks
>
>
>
>
> -- 
> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/4b5c38fa-67f3-4a3e-bca5-9ce9451a20dc%40googlegroups.com.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: pandoc segfaults when run as a plain user but not as root
       [not found]     ` <m2lfmk2aay.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
@ 2020-04-24 18:56       ` Martin Brooks
       [not found]         ` <c7a5af6d-e0ed-44cb-a871-7bf582060f32-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Martin Brooks @ 2020-04-24 18:56 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 672 bytes --]



On Friday, 24 April 2020 16:06:15 UTC+1, John MacFarlane wrote:
>
>
> Btw I can't reproduce on my debian stable system. 
> What kind of system are you running on? 
>


It's an openstack-based virtual machine. 4 cores, 4 gigs of RAM.

Regards

Martin A. Brooks

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/c7a5af6d-e0ed-44cb-a871-7bf582060f32%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 1226 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: pandoc segfaults when run as a plain user but not as root
       [not found]         ` <c7a5af6d-e0ed-44cb-a871-7bf582060f32-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2020-04-26  4:24           ` John MacFarlane
  0 siblings, 0 replies; 5+ messages in thread
From: John MacFarlane @ 2020-04-26  4:24 UTC (permalink / raw)
  To: Martin Brooks, pandoc-discuss

Martin Brooks <martin.brooks-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> On Friday, 24 April 2020 16:06:15 UTC+1, John MacFarlane wrote:
>>
>>
>> Btw I can't reproduce on my debian stable system. 
>> What kind of system are you running on? 
>>
>
>
> It's an openstack-based virtual machine. 4 cores, 4 gigs of RAM.

I don't have any advice to offer; I haven't seen this before.
You can always compile from source on that system.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-04-26  4:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-24 14:16 pandoc segfaults when run as a plain user but not as root Martin Brooks
     [not found] ` <4b5c38fa-67f3-4a3e-bca5-9ce9451a20dc-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-04-24 15:03   ` John MacFarlane
2020-04-24 15:05   ` John MacFarlane
     [not found]     ` <m2lfmk2aay.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2020-04-24 18:56       ` Martin Brooks
     [not found]         ` <c7a5af6d-e0ed-44cb-a871-7bf582060f32-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-04-26  4:24           ` John MacFarlane

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).