On Apr 13, 2010, at 5:53 PM, Scott Thompson wrote: > I am having problems creating a chart in OOo Calc from my external C++ > program. When I call the Reference<XTableCharts> member function > addNewByName, I get a segmentation fault deep down in several nested calls > within the shared object library liburp_uno.so. I am running Fedora Core 9 > x86-64 Linux, compiling with gcc version 4.3.2, and I have OOo SDK 3.2.0. > Here is a backtrace: > > #5 <signal handler called> > #6 0x00007fffeb692882 in ?? () from /opt/openoffice.org/ure/lib/liburp_uno.so > #7 0x00007fffeb69332e in ?? () from /opt/openoffice.org/ure/lib/liburp_uno.so > #8 0x00007fffeb69adc6 in ?? () from /opt/openoffice.org/ure/lib/liburp_uno.so > #9 0x00007fffeb69733d in ?? () from /opt/openoffice.org/ure/lib/liburp_uno.so > #10 0x00007fffeb6a97f3 in ?? () from /opt/openoffice.org/ure/lib/liburp_uno.so > #11 0x00007fffeb6a7fea in ?? () from /opt/openoffice.org/ure/lib/liburp_uno.so > #12 0x00007fffed14028b in ?? () from > /opt/openoffice.org/ure/lib/libgcc3_uno.so > #13 0x00007fffed140a03 in ?? () from > /opt/openoffice.org/ure/lib/libgcc3_uno.so > #14 0x00007fffed141f1a in ?? () from > /opt/openoffice.org/ure/lib/libgcc3_uno.so > #15 0x00000000004a646b in PlotIPCOpenOffice::plot (this=0xc06160, > pd=0x1a502f0) at plotipcopenoffice.cc:356 > #16 0x000000000041cf64 in GraphTool::plotData (this=0x775b20, > crntPlotSet=0x197c920) at graphtoolui.cc:3764
IIRC, there was some issue with struct passing for Linux 64-bit UNO that has only been fixed recently on the DEV300 code line (XTableCharts.addNewByName passes a Rectangle struct as argument, so could be affected). Please try a recent OOo development snapshot build (DEV300_m76 is the latest) and see if the problem persists. -Stephan --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
