Re: [Java-gnome-developer] cairo-java / getMatrix() problem
Brought to you by:
afcowie
From: David G. <dav...@ob...> - 2005-12-01 19:46:54
|
Ismael Juma wrote: >On Thu, 2005-12-01 at 13:12 +0000, David Gilbert wrote: >[...] > > >># >># An unexpected error has been detected by HotSpot Virtual Machine: >># >># SIGSEGV (0xb) at pc=0xab1b9a73, pid=10577, tid=16384 >># >># Java VM: Java HotSpot(TM) Client VM (1.4.2_09-b05 mixed mode) >># Problematic frame: >># C [libcairo.so.2+0xca73] >> >> >> >[...] > >Hi, > >It seems like a bug in the library. It would be useful if you could post >a bug report[1], so that this doesn't get lost. Regarding relevant >information to put in the bug report, the ideal is a runnable test case. >This is obviously not always possible, and the information you provided >in your email message is generally good enough, but you may probably >want to attach the file generated by the Sun JVM when it crashes. It's >usually in the directory where the app was launched from or the home >directory. Thanks. > >Regards, >Ismael > >[1] https://bugs.freedesktop.org/enter_bug.cgi?product=cairo-java > > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click >_______________________________________________ >java-gnome-developer mailing list >jav...@li... >https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > > > > Thanks for the quick response. I'd like to try your patch, but so far I have not succeeded in building cairo-java from CVS. I get this error when I execute 'make': /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lglibjava collect2: ld returned 1 exit status make[1]: *** [libcairojava.la] Error 1 make[1]: Leaving directory `/home/dgilbert/cairo-java-cvs/cairo-java' make: *** [all] Error 2 I know nothing about this stuff, I only got cairo-java working via the Gentoo ebuild. Any hints? Regards, Dave Gilbert P.S. By the way, my interest in cairo-java is to create a CairoGraphics2D class that can be used with JFreeChart (and any other applications that use the Graphics2D API). I started that and got some promising results before running into the getMatrix() problem. Here are some PNG images I created with a very basic Graphics2D implementation (I'm sure it can be improved a lot): http://www.object-refinery.com/jfreechart/cairo/PieChartTest.png http://www.object-refinery.com/jfreechart/cairo/BarChartTest.png http://www.object-refinery.com/jfreechart/cairo/TimeChartTest.png This is running on Sun's JDK but I'm hopeful of getting the same thing running on JamVM and GNU Classpath. |