Hi all,
we are developing a Xojo app that use valentina report. We are using valentina server version 7.43 on linux (debian 9)
and when we add images to report we get this segmentation fault
Here the backtrace:
#0 0x00007fffeff5b1d2 in ?? () from /usr/local/lib/vcomponents/libvreport_release_x64.so.743
#1 0x00007fffeff5b48d in cairo_image_surface_create_from_png_stream () from /usr/local/lib/vcomponents/libvreport_release_x64.so.743
#2 0x00007fffefcfaddf in LT::LBitmap::LoadData(char const*, unsigned int) () from /usr/local/lib/vcomponents/libvreport_release_x64.so.743
#3 0x00007fffefcfb0b0 in LT::LBitmap::LoadFile(LT::LString const& () from /usr/local/lib/vcomponents/libvreport_release_x64.so.743
#4 0x00007fffefbe7dbf in ?? () from /usr/local/lib/vcomponents/libvreport_release_x64.so.743
#5 0x00007fffefbde36f in ?? () from /usr/local/lib/vcomponents/libvreport_release_x64.so.743
#6 0x00007fffefc4b31d in ?? () from /usr/local/lib/vcomponents/libvreport_release_x64.so.743
#7 0x00007fffefc4f4e5 in ?? () from /usr/local/lib/vcomponents/libvreport_release_x64.so.743
#8 0x00007fffefc501dd in ?? () from /usr/local/lib/vcomponents/libvreport_release_x64.so.743
#9 0x00007fffefbec51e in ?? () from /usr/local/lib/vcomponents/libvreport_release_x64.so.743
#10 0x00007fffefc4c0dd in ?? () from /usr/local/lib/vcomponents/libvreport_release_x64.so.743
#11 0x00007fffefc280d9 in ?? () from /usr/local/lib/vcomponents/libvreport_release_x64.so.743
#12 0x00007fffefc23fe2 in ?? () from /usr/local/lib/vcomponents/libvreport_release_x64.so.743
#13 0x00007fffefc4fe3c in ?? () from /usr/local/lib/vcomponents/libvreport_release_x64.so.743
#14 0x00007fffefbec51e in ?? () from /usr/local/lib/vcomponents/libvreport_release_x64.so.743
#15 0x00007fffefc4c0dd in ?? () from /usr/local/lib/vcomponents/libvreport_release_x64.so.743
#16 0x00007fffefc4f4e5 in ?? () from /usr/local/lib/vcomponents/libvreport_release_x64.so.743
#17 0x00007fffefc501dd in ?? () from /usr/local/lib/vcomponents/libvreport_release_x64.so.743
#18 0x00007fffefbec51e in ?? () from /usr/local/lib/vcomponents/libvreport_release_x64.so.743
#19 0x00007fffefc4c0dd in ?? () from /usr/local/lib/vcomponents/libvreport_release_x64.so.743
#20 0x00007fffefc4f4e5 in ?? () from /usr/local/lib/vcomponents/libvreport_release_x64.so.743
#21 0x00007fffefc501dd in ?? () from /usr/local/lib/vcomponents/libvreport_release_x64.so.743
#22 0x00007fffefc3f8b8 in ?? () from /usr/local/lib/vcomponents/libvreport_release_x64.so.743
#23 0x00007ffff2060708 in VReport_PrintToDisk () from /home/nuovasar/easyprice-stand/easyprice Libs/v4rb_x64_release.so
#24 0x000000000093796b in VReport.PrintToDisk%%o<VReport>o<FolderItem>i8i8i8 ()
#25 0x00000000010a4fed in WebPage_Listini.WebPage_Listini.crea_pdf%%o<WebPage_Listini.WebPage_Listini>i8s ()
#26 0x00000000010975f2 in WebPage_Listini.WebPage_Listini.Timer_start_Action%%o<WebPage_Listini.WebPage_Listini>o<WebTimer> ()
#27 0x0000000000a70cc5 in Delegate.IM_Invoke%%o<WebTimer> ()
#28 0x0000000000a70d34 in AddHandler.Stub.29%% ()
#29 0x0000000000769a92 in WebTimer._ExecuteEvent%b%o<WebTimer>sA1v ()
#30 0x00000000007f2236 in WebControl.!_ExecuteEvent%b%ssA1v ()
#31 0x000000000064442d in WebSession._HandleEvent%%o<WebSession>so<_HTTPServer.HTTPRequestContext> ()
#32 0x0000000000646817 in WebSession._HandleRequest%i8%o<WebSession>so<_HTTPServer.HTTPRequestContext> ()
#33 0x000000000061ed3f in WebApplication._HandleHTTPRequest%%o<WebApplication>o<_HTTPServer.HTTPRequestContext> ()
#34 0x00000000005cb495 in _HTTPServer.HTTPRequestThread.Event_Run%%o<_HTTPServer.HTTPRequestThread> ()
#35 0x00007ffff5c64ece in ?? () from /home/nuovasar/easyprice-stand/easyprice Libs/XojoConsoleFramework64.so
#36 0x00007ffff5c67839 in ?? () from /home/nuovasar/easyprice-stand/easyprice Libs/XojoConsoleFramework64.so
#37 0x00007ffff4eba494 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#38 0x00007ffff571faff in clone () from /lib/x86_64-linux-gnu/libc.so.6
The images are good png files as on another virtual machine is working without problems.
cairo related installed packages
dpkg -l | grep cairo
ii libcairo-gobject-perl 1.004-2+b1 amd64 integrate Cairo into the Glib type system in Perl
ii libcairo-gobject2:amd64 1.14.8-1 amd64 Cairo 2D vector graphics library (GObject library)
ii libcairo-perl 1.106-1+b2 amd64 Perl interface to the Cairo graphics library
ii libcairo2:amd64 1.14.8-1 amd64 Cairo 2D vector graphics library
ii libpixman-1-0:amd64 0.34.0-1 amd64 pixel-manipulation library for X and cairo
Any hints or help ?
Regards