[Lazarus] lazarus app on centos 5.5

Andrea Mauri andrea.mauri.75 at gmail.com
Mon Jan 17 12:24:32 CET 2011


Dear all,
I have an application running on win and linux. (lazarus svn fpc 2.4.2).
I have some problems running it on CentOS 5.5.

If I run my app on fedora or ubuntu lanching my app from the shell I get 
only this message:

NOTE: TGtk2WidgetSet.InvalidateRect during paint message: TStringGrid

Gtk-CRITICAL **: gtk_widget_get_style: assertion `GTK_IS_WIDGET 
(widget)' failed

but the application works fine.

If I run my app on CentOS 5.5 first I get all the warnings labelled as 
Warn_1 on the end of my e-mail.

The I get some messages related to the reading of a config xml file, see 
Warn_2.

Finally trying to show up a form the app exit with:
Program received signal SIGSEGV, Segmentation fault.
0x002d5bf3 in vfprintf () from /lib/libc.so.6
You can see the backtrace of this last error as Warn_3 at hte end of the 
e-mail.
Anyone has some suggestions?
Best regards,
Andrea


Warn_1

Starting program: 
/home/giacca/Desktop/dragon6gui_2_4_2_anchors_fixed_no_space
warning: .dynamic section for "/usr/lib/libgtk-x11-2.0.so.0" is not at
the expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/lib/libgobject-2.0.so.0" is not at the
expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/lib/libglib-2.0.so.0" is not at the
expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/lib/libgmodule-2.0.so.0" is not at the
expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib/libXau.so.6" is not at the
expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib/libXdmcp.so.6" is not at the
expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib/libpangocairo-1.0.so.0" is not
at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib/libXinerama.so.1" is not at
the expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib/libXrandr.so.2" is not at the
expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib/libXfixes.so.3" is not at the
expected address
warning: difference appears to be caused by prelink, adjusting expectations
[Thread debugging using libthread_db enabled]

Warn_2

#0  0x0806e296 in fpc_raiseexception ()
#1  0x080bcff4 in 
CLASSES_TFILESTREAM_$__CREATE$ANSISTRING$WORD$$TFILESTREAM ()
#2  0x0831d04e in XMLREAD_READXMLFILE$TXMLDOCUMENT$ANSISTRING ()
#3  0x08120294 in TDRAGONOPTIONS__LOADXML (
     SOURCEFILE=0x161e768 "/home/giacca/.config/Dragon_6.0/drg_init.xml",
     ERRMESSAGE=0x0, this=<error reading variable>) at 
dragon_options.pas:512
#4  0x080eb7a3 in TFRMMAINMENU__FORMCREATE (SENDER=0xe316e0,
     this=<error reading variable>) at mainmenu.pas:194
#5  0x080ad0f3 in TCUSTOMFORM__DOCREATE (this=<error reading variable>)
     at ./include/customform.inc:877
#6  0x080ab787 in TCUSTOMFORM__AFTERCONSTRUCTION (
     this=<error reading variable>) at ./include/customform.inc:79
#7  0x080b195e in TFORM__CREATE (THEOWNER=0xb60020, vmt=0x1,
     this=<error reading variable>) at ./include/customform.inc:2841
#8  0x080b8ea8 in TAPPLICATION__CREATEFORM (INSTANCECLASS=<incomplete type>,
     REFERENCE=void, this=<error reading variable>)
     at ./include/application.inc:2087
#9  0x0805eae8 in main () at dragon6gui.lpr:214

Warn_3

#0  0x00579bf3 in vfprintf () from /lib/libc.so.6
No symbol table info available.
#1  0x0059e0cc in vasprintf () from /lib/libc.so.6
No symbol table info available.
#2  0x003794e7 in g_vasprintf () from /lib/libglib-2.0.so.0
No symbol table info available.
#3  0x0036b3d6 in g_strdup_vprintf () from /lib/libglib-2.0.so.0
No symbol table info available.
#4  0x0036b3fb in g_strdup_printf () from /lib/libglib-2.0.so.0
No symbol table info available.
#5  0x00b9cdb9 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#6  0x00b9d2d8 in gtk_spin_button_update () from 
/usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#7  0x082be41c in GTKCHANGED_SPINBOX (WIDGET=0x8bde2a0, DATA=0x67267e0)
     at gtk2callback.inc:458
         result = false
         GTKCHANGED_SPINBOX = false
         RESULT = false
#8  0x00787169 in g_cclosure_marshal_VOID__VOID ()
    from /lib/libgobject-2.0.so.0
No symbol table info available.
#No symbol table info available.
#11 0x0078c2e7 in g_signal_emit_valist () from /lib/libgobject-2.0.so.0
No symbol table info available.
#12 0x0078dd4e in g_signal_emit_by_name () from /lib/libgobject-2.0.so.0
No symbol table info available.
#13 0x00abd36f in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#14 0x00b9e883 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#15 0x00b34a54 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#16 0x007786a7 in ?? () from /lib/libgobject-2.0.so.0
No symbol table info available.
#17 0x00779f81 in g_closure_invoke () from /lib/libgobject-2.0.so.0
No symbol table info available.
#18 0x0078b3f5 in ?? () from /lib/libgobject-2.0.so.0
No symbol table info available.
#19 0x0078c2e7 in g_signal_emit_valist () from /lib/libgobject-2.0.so.0
No symbol table info available.
#20 0x0078dd4e in g_signal_emit_by_name () from /lib/libgobject-2.0.so.0
No symbol table info available.
9  0x00779f81 in g_closure_invoke () from /lib/libgobject-2.0.so.0
#21 0x00ab8a5e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#22 0x00ab38d2 in gtk_editable_insert_text () from 
/usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#23 0x00ab7943 in gtk_entry_set_text () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#24 0x00b9cddf in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#25 0x00b9d2d8 in gtk_spin_button_update () from 
/usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#26 0x082be41c in GTKCHANGED_SPINBOX (WIDGET=0x8bde2a0, DATA=0x67267e0)
     at gtk2callback.inc:458
         result = false
         GTKCHANGED_SPINBOX = false
         RESULT = false
#27 0x00787169 in g_cclosure_marshal_VOID__VOID ()
    from /lib/libgobject-2.0.so.0
No symbol table info available.
#28 0x00779f81 in g_closure_invoke () from /lib/libgobject-2.0.so.0
No symbol table info available.
#29 0x0078b0e1 in ?? () from /lib/libgobject-2.0.so.0
No symbol table info available.
#30 0x0078c2e7 in g_signal_emit_valist () from /lib/libgobject-2.0.so.0
No symbol table info available.
#31 0x0078dd4e in g_signal_emit_by_name () from /lib/libgobject-2.0.so.0
#42 0x00b9cddf in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#43 0x00b9d2d8 in gtk_spin_button_update () from 
/usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#44 0x082be41c in GTKCHANGED_SPINBOX (WIDGET=0x8bde2a0, DATA=0x67267e0)
     at gtk2callback.inc:458
         result = false
         GTKCHANGED_SPINBOX = false
         RESULT = false
#45 0x00787169 in g_cclosure_marshal_VOID__VOID ()
    from /lib/libgobject-2.0.so.0
No symbol table info available.
#46 0x00779f81 in g_closure_invoke () from /lib/libgobject-2.0.so.0
No symbol table info available.
#47 0x0078b0e1 in ?? () from /lib/libgobject-2.0.so.0
No symbol table info available.
#48 0x0078c2e7 in g_signal_emit_valist () from /lib/libgobject-2.0.so.0
No symbol table info available.
#49 0x0078dd4e in g_signal_emit_by_name () from /lib/libgobject-2.0.so.0
No symbol table info available.
#50 0x00abd36f in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#51 0x00b9e883 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#52 0x00b34a54 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#53 0x007786a7 in ?? () from /lib/libgobject-2.0.so.0
No symbol table info available.
#54 0x00779f81 in g_closure_invoke () from /lib/libgobject-2.0.so.0
No symbol table info available.
#55 0x0078b3f5 in ?? () from /lib/libgobject-2.0.so.0
No symbol table info available.
#56 0x0078c2e7 in g_signal_emit_valist () from /lib/libgobject-2.0.so.0
No symbol table info available.
#57 0x0078dd4e in g_signal_emit_by_name () from /lib/libgobject-2.0.so.0
No symbol table info available.
#58 0x00ab8a5e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#59 0x00ab38d2 in gtk_editable_insert_text () from 
/usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#60 0x00ab7943 in gtk_entry_set_text () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#61 0x00b9cddf in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#62 0x00b9d2d8 in gtk_spin_button_update () from 
/usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#63 0x082be41c in GTKCHANGED_SPINBOX (WIDGET=0x8bde2a0, DATA=0x67267e0)
     at gtk2callback.inc:458
         result = false
         GTKCHANGED_SPINBOX = false
         RESULT = false
#64 0x00787169 in g_cclosure_marshal_VOID__VOID ()
    from /lib/libgobject-2.0.so.0
No symbol table info available.
#65 0x00779f81 in g_closure_invoke () from /lib/libgobject-2.0.so.0
No symbol table info available.
#66 0x0078b0e1 in ?? () from /lib/libgobject-2.0.so.0
No symbol table info available.
#67 0x0078c2e7 in g_signal_emit_valist () from /lib/libgobject-2.0.so.0
No symbol table info available.
#68 0x0078dd4e in g_signal_emit_by_name () from /lib/libgobject-2.0.so.0
No symbol table info available.
#69 0x00abd36f in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#70 0x00b9e883 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#71 0x00b34a54 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#72 0x007786a7 in ?? () from /lib/libgobject-2.0.so.0

No symbol table info available.
#32 0x00ab8973 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#33 0x00b34b0d in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#34 0x007786a7 in ?? () from /lib/libgobject-2.0.so.0
No symbol table info available.
#35 0x00779e98 in g_closure_invoke () from /lib/libgobject-2.0.so.0
No symbol table info available.
#36 0x0078b3f5 in ?? () from /lib/libgobject-2.0.so.0
No symbol table info available.
#37 0x0078c2e7 in g_signal_emit_valist () from /lib/libgobject-2.0.so.0
No symbol table info available.
#38 0x0078dd4e in g_signal_emit_by_name () from /lib/libgobject-2.0.so.0
No symbol table info available.
#39 0x00ab3f4a in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#40 0x00ab3764 in gtk_editable_delete_text () from 
/usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#41 0x00ab7917 in gtk_entry_set_text () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.

[....]






More information about the Lazarus mailing list