Ubuntu 12.04 grsec - Segmentation fault

516 views
Skip to first unread message

Leblanc Simon

unread,
Feb 10, 2014, 6:15:54 PM2/10/14
to wkhtmltop...@googlegroups.com
Hi,

after hours of search, I solved a problem with wkhtmltopdf and my Linux server. When I try to convert a html file to PDF, wkhtmltopdf segfault always.

I've try a lot of solutions found on Google, I've try to compile my own binary. Nothing to fix my segfault.

After seen /var/log/syslog, the segmentation fault is always related with grsec (<http://grsecurity.net/>)

My server is a Ubuntu 12.04.4 LTS and my kernel is 3.10.23-xxxx-grs-ipv6-64

# cat /etc/issue
Ubuntu 12.04.4 LTS \n \l

# uname -a
Linux hostname 3.10.23-xxxx-grs-ipv6-64 #1 SMP Mon Dec 9 19:06:18 CET 2013 x86_64 x86_64 x86_64 GNU/Linux

I've installed paxctl and allow wkhtmltopdf to have more permissions
# apt-get paxctl
# paxctl -C /usr/bin/wkhtmltopdf
# paxctl -permsx /usr/bin/wkhtmltopdf

Since : no segmentation fault

If this post can save some time to an another simple user...

Fred Cruypenninck

unread,
Feb 12, 2014, 8:57:14 AM2/12/14
to wkhtmltop...@googlegroups.com
Hi, I try to install https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.0/wkhtmltox-linux-amd64_0.12.0-03c001d.tar.xz
to my ubuntu 13.10  x64 version.
is it possible and if yes , how ?

Thank you very much (a linux noob)

luksh...@gmail.com

unread,
Feb 12, 2014, 9:59:26 AM2/12/14
to wkhtmltop...@googlegroups.com
On Wednesday, February 12, 2014 09:57 PM, Fred Cruypenninck wrote:
> Hi, I try to install
> https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.0/wkhtmltox-linux-amd64_0.12.0-03c001d.tar.xz
>
> to my ubuntu 13.10 x64 version.
> is it possible and if yes , how ?

Just try it out. :-) I encountered no problem with linux mint nadia
which is ubuntu 12.10. Untar it and put the binaries somewhere in your path.

The OP has a problem as he has a non-standard kernel.

Regards,
ST
--


Reply all
Reply to author
Forward
0 new messages