Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libcairo Issues 'Ακυρώθηκε (core dumped)' #10

Open
pc-magas opened this issue Oct 21, 2015 · 1 comment
Open

libcairo Issues 'Ακυρώθηκε (core dumped)' #10

pc-magas opened this issue Oct 21, 2015 · 1 comment

Comments

@pc-magas
Copy link

On this Sample Code:

 /*Generating Canvas and Contect*/
  console.log("Generating Canvas");
  console.log("Canvas size "+width+"X"+height);
  console.log(typeof width);
  var canvas=new Canvas(parseInt(width),parseInt(height));
  var ctx = canvas.getContext('2d');

  console.log("Generating Chart");
  new Chart(ctx).Pie(datad,config);

  console.log("Export image");
  canvas.toBuffer(function (err, buf)
  {
          console.log("Rendering");
      callback(err,buf);
   });

I get the Following Output:

Generating Canvas
Canvas size 300X600
string
Generating Chart
node: /build/buildd/cairo-1.13.0~20140204/src/cairo-arc.c:189: _cairo_arc_in_direction: Assertion `angle_max >= angle_min' failed.
Ακυρώθηκε (core dumped)

The issue is with libcairo:

node: /build/buildd/cairo-1.13.0~20140204/src/cairo-arc.c:189: _cairo_arc_in_direction: Assertion `angle_max >= angle_min' failed.
Ακυρώθηκε (core dumped)

And I cannot figure out if is this a bug or not.

@pc-magas
Copy link
Author

I solved the problem it is that I just gave the wrong data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant