Hi a third time:

It seems that this problem with the cairo drivers (for old 
pango/cairo) cropped up some time between plplot5.9.7 and 5.9.8, since
the problem is not there for 5.9.7, but is there for 5.9.8.

Regards,

   Doug

dh...@ucar.edu
Software Engineer
UCAR - COSMIC, Tel. (303) 497-2611

On Thu, 17 May 2012, Doug Hunt wrote:

> Hi again:  I've become frustrated with trying to install a recent pango/cairo 
> under CentOS 5.8--too many dependencies.
>
> So, in trying to debug the segfault, I've found that:
>
> ./x01c -dev pngcairo -o foo.png
>
> finally dies beyond tracing (in the plplot code, anyway) at:
>
> line 289 of plcore:
>
> 289 ( *plsc->dispatch_table->pl_esc )( (struct PLStream_struct *) plsc, op, 
> ptr );
>
> (see attached stack trace).
>
> The function pointer called was in cairo code (I think):
>
> (gdb) p *plsc->dispatch_table->pl_esc
> $20 = {void (struct PLStream_struct *, PLINT, void *)} 0x2aaaabd71087 
> <plD_esc_cairo>
>
> The program was just in the process of drawing an axis label (the number '1') 
> deep within plbox.
>
> Any ideas what I can do here short of upgrading my entire OS?
>
> Thanks,
>
>  Doug
>
> dh...@ucar.edu
> Software Engineer
> UCAR - COSMIC, Tel. (303) 497-2611
>
> On Thu, 17 May 2012, Doug Hunt wrote:
>
>> Hi all:  I'm just now upgrading to plplot 5.9.9 in my CentOS 5.8
>> environment.  This OS features old pango/cairo versions:
>> 
>> pango-1.14.9-8.el5.centos.3
>> pango-devel-1.14.9-8.el5.centos.3
>> cairo-1.2.4-5.el5
>> cairo-devel-1.2.4-5.el5
>> 
>> When I run example 1 with any of the cairo devices, I get a segfault:
>> 
>> [rpmbuild@fox c]$ ./x01c -dev pngcairo -o foo.png
>> PLplot library version: 5.9.9
>> Segmentation fault
>> 
>> Other device drivers work fine.
>> 
>> Has anyone seen this?  If not, I'll start debugging and/or trying to
>> upgrade to a more recent pango/cairo.
>> 
>> Regards,
>>
>>   Doug
>> 
>> dh...@ucar.edu
>> Software Engineer
>> UCAR - COSMIC, Tel. (303) 497-2611
>>
>> 
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> Plplot-devel mailing list
>> Plplot-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/plplot-devel
>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to