guile-cairo crashes when creating an image surface

Bug #1312778 reported by Kang Qiao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
guile-cairo (Ubuntu)
New
Undecided
Unassigned

Bug Description

A segmentation fault always occurs when I type the following lines in guile:
(use-module (cairo))
(cairo-image-surface-create 'rgb24 100 100)

The version of my ubuntu is 12.04 LTS.
I fetch guile & guile-cairo using apt-get, here are some info about them:
$ guile --version
guile (GNU Guile) 2.0.5-deb+1-1
Copyright (C) 2011 Free Software Foundation, Inc.

License LGPLv3+: GNU LGPL 3 or later <http://gnu.org/licenses/lgpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

$ apt-cache showpkg guile-cairo
Package: guile-cairo
Versions:
1.4.0-3 (/var/lib/apt/lists/cn.archive.ubuntu.com_ubuntu_dists_precise_universe_binary-amd64_Packages) (/var/lib/dpkg/status)
 Description Language:
                 File: /var/lib/apt/lists/cn.archive.ubuntu.com_ubuntu_dists_precise_universe_binary-amd64_Packages
                  MD5: 7f5afca3d3b7c21d5e48631d442ad7fe
 Description Language: en
                 File: /var/lib/apt/lists/cn.archive.ubuntu.com_ubuntu_dists_precise_universe_i18n_Translation-en
                  MD5: 7f5afca3d3b7c21d5e48631d442ad7fe

Reverse Depends:
  guile-cairo:i386,guile-cairo
  guile-gnome2-gtk,guile-cairo 1.4.0
  guile-cairo-dev,guile-cairo 1.4.0-3
Dependencies:
1.4.0-3 - guile-1.8-libs (2 1.8.5+1-2ubuntu1) libc6 (2 2.2.5) libcairo2 (2 1.4.10) libgmp10 (0 (null)) guile-cairo:i386 (0 (null))
Provides:
1.4.0-3 -
Reverse Provides:

Having failed using guile-cairo fetched from apt, I download the lastest source code package from http://www.nongnu.org/guile-cairo/ and build it, it seems that this version works.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.