Can you make a debug build and post the stack trace for that? To me,
it looks like you are using the binaries for another distribution --
verify that you used the Ubuntu Precise package.
On Mon, Jan 5, 2015 at 11:39 PM, Federico Apelhanz
<
elmail...@gmail.com> wrote:
> Hi guys, I'm running ubuntu 12.04.4 LTS, x86_64, and wkhtmlttopdf 0.12.1
> (downloaded from the main page) on a headless server (no xorg installed)
> and while trying to convert this page, I get the following error:
>
> Loading pages (1/6)
> Counting pages (2/6)
> Resolving links (4/6)
> Loading headers and footers (5/6)
> Printing pages (6/6)
> terminate called after throwing an instance of 'std::bad_alloc'Page 1 of 2
> what(): std::bad_alloc
> Aborted (core dumped)
>
> I'm doing it from the termina,l just $ wkhtmltopdf "that url" test.pdf, now
> It works with other pages like google, and from my main machine I can
> convert that file with no problems, so any Idea of what could be missing, or
> what I need to update? thanks.
>