1. enzo callegari
  2. Valentina Reports ADK
  3. Monday, October 09 2017, 08:51 PM
  4.  Subscribe via email
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
Comment
There are no comments made yet.
Sergey Pashkov Accepted Answer
Hello Enzo,

1. Other virtual machine - is it a Debian 9, too? And the same reports work on it, right?
2. Do you compile on Linux? Which version of Xojo was used?
3. In this crashlog Valentina Server is not mentioned. Web App crashes in VReport library. Or VServer crashes on this report, too?
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 1
enzo callegari Accepted Answer
Hi Sergey,

1) the other vm is a debian 7 with vserver 7.20 and the reports work on it
2) we compile on Mac and the copy the files into the linux vm
3) only the app crash

Regards
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 2
Sergey Pashkov Accepted Answer
And what is the version of Xojo?
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 3
enzo callegari Accepted Answer
We are developing on version 2017.1
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 4
Sergey Pashkov Accepted Answer
I reproduced this problem in 64-bit Xojo application.
32-bit works.
VStudio 64-bit works too.

We'll check what's wrong.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 5
enzo callegari Accepted Answer
Thank you Sergey

Please keep me posted

Regards
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 6
Sergey Pashkov Accepted Answer
Hi Enzo,

There must be some issue in the cairo 64-bit library build (we statically link it, it's not related to the cairo package).
After rebuild it started to work.
We'll let you know when a fixed version will be available.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 7
Sergey Pashkov Accepted Answer
Hi Enzo,

Here you can find fixed version of V4RB
http://valentina-db.com/download/prev_releases/7.5/

It is necessary to install updated Xojo plugin on macOS and DEB package on Linux (or use new vcomponents libraries from this package).
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 8
enzo callegari Accepted Answer
Thank you Sergey,

we will try and let you know if the error is fixed.

Regards
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 9
enzo callegari Accepted Answer
Hi Sergey,

we need also the plugin for Xojo to bu updated ( file ValentinaPlugin.xojo_plugin ) otherwise
we can't compile the report with the new version from Xojo

Regards
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 10
enzo callegari Accepted Answer
Hi Sergey,

we manage to compile with Xojo and the plugin from version 7.5. The issue has been solved.

Thank you
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 11
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 0 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories
Omegabundle
  1. 0 subcategories