[poppler] unit test for GLib bindings

Kouhei Sutou kou at cozmixng.org
Sun Jun 7 03:27:53 PDT 2009


Hi,

In <1244365339.4170.4.camel at charmaleon>
  "Re: [poppler] unit test for GLib bindings" on Sun, 07 Jun 2009 11:02:19 +0200,
  Carlos Garcia Campos <carlosgc at gnome.org> wrote:

> yes, but still crashes:
> 
> attachment_inspect (string=0x84137c0, data=0x0, user_data=0x0) at test-document.c:520
> 520	  g_string_append_printf (string, "name=<%s>, ", attachment->name);
> (gdb) bt
> #0  attachment_inspect (string=0x84137c0, data=0x0, user_data=0x0) at test-document.c:520

I've added more NULL check:
  http://github.com/kou/poppler-test/commit/89d4b706ebd909640b99dcb72fc219c0d983a367

>> If you are working on Fedora on x86_64, you can use RPM to
>> install Cutter:
>> 
>>   % wget http://downloads.sourceforge.net/cutter/cutter-1.0.7-0.x86_64.rpm
>>   % sudo rpm -Uvh cutter-1.0.7-0.x86_64.rpm
>> 
>> ref. http://cutter.sourceforge.net/reference/install-to-fedora.html
> 
> Ubuntu here, I'll install it from sources. 

OK. I'll provide packages for the latest Ubuntu too at the
next release. :)


Thanks,
--
kou


More information about the poppler mailing list