For me it works ok, and I have latest ubuntu with latest fpc from trunk
and latest lazarus from svn trunk... only for info...
Thierry Andriamirado pravi:
Thanks for your time,
So from a svn version, gtk2 built, no additional package installed, and
a new auto-generated ~/.lazarus, it seems that the crash is caused by
some SGV handling within the openfile dlg.
After running Lazarus, I just clicked on the 'open project' menu item.
Here is the gdb's output:
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "x86_64-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) break fpc_raiseexception
Breakpoint 1 at 0x425964
(gdb) run
Starting program: /usr/local/src/svn/lazarus/lazarus
[Thread debugging using libthread_db enabled]
[New Thread 47919091388080 (LWP 8283)]
[Switching to Thread 47919091388080 (LWP 8283)]
Breakpoint 1, 0x0000000000425964 in fpc_raiseexception ()
(gdb) cont
Continuing.
TApplication.IconChanged - TODO: convert this message...no
implementation in gtk or win32
NOTE : fichier de configuration codetools non trouvé. Valeurs par défaut
utilisées.
NOTE: help options config file not found - using defaults
TMainIDE.DoNewProject[New Thread 1082132800 (LWP 8295)]
Program received signal SIGFPE, Arithmetic exception.
0x00002aaaaabd835e in ?? () from /usr/lib/librsvg-2.so.2
(gdb) backtrace
#0 0x00002aaaaabd835e in ?? () from /usr/lib/librsvg-2.so.2
#1 0x00002aaaaabdcebf in ?? () from /usr/lib/librsvg-2.so.2
#2 0x00002aaaaabd84f1 in ?? () from /usr/lib/librsvg-2.so.2
#3 0x00002aaaaabd19b2 in ?? () from /usr/lib/librsvg-2.so.2
#4 0x00002aaaaabd2417 in ?? () from /usr/lib/librsvg-2.so.2
#5 0x00002aaaaabd19b2 in ?? () from /usr/lib/librsvg-2.so.2
#6 0x00002aaaaabdd828 in rsvg_handle_render_cairo_sub ()
from /usr/lib/librsvg-2.so.2
#7 0x00002aaaaabddcfe in rsvg_handle_get_pixbuf_sub ()
from /usr/lib/librsvg-2.so.2
#8 0x00002aaaaaab2fcd in ?? ()
from /usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so
#9 0x00002b9504026eb6 in gdk_pixbuf_loader_close ()
from /usr/lib/libgdk_pixbuf-2.0.so.0
#10 0x00002b95043494e7 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#11 0x00002b95043497ee in gtk_icon_info_load_icon ()
from /usr/lib/libgtk-x11-2.0.so.0
#12 0x00002b950434b29a in gtk_icon_theme_load_icon ()
from /usr/lib/libgtk-x11-2.0.so.0
#13 0x00002b9504334802 in gtk_file_system_volume_render_icon ()
from /usr/lib/libgtk-x11-2.0.so.0
#14 0x00002b950431d6dc in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#15 0x00002b9504324174 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#16 0x00002b9504327e9a in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#17 0x00002b9504a7b484 in g_object_newv ()
from /usr/lib/libgobject-2.0.so.0
#18 0x00002b9504a7bf3e in g_object_new_valist ()
from /usr/lib/libgobject-2.0.so.0
#19 0x00002b9504a7c0e1 in g_object_new ()
from /usr/lib/libgobject-2.0.so.0
#20 0x00002b950432b949 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#21 0x00002b9504a7b484 in g_object_newv ()
from /usr/lib/libgobject-2.0.so.0
#22 0x00002b9504a7beac in g_object_new_valist ()
from /usr/lib/libgobject-2.0.so.0
#23 0x00002b9504a7c0e1 in g_object_new ()
from /usr/lib/libgobject-2.0.so.0
#24 0x00002b9504328533 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#25 0x00002b9504a7b484 in g_object_newv ()
from /usr/lib/libgobject-2.0.so.0
#26 0x00002b9504a7bf3e in g_object_new_valist ()
from /usr/lib/libgobject-2.0.so.0
#27 0x00002b9504a7c0e1 in g_object_new ()
from /usr/lib/libgobject-2.0.so.0
#28 0x00002b9504328077 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#29 0x00002b9504328225 in gtk_file_chooser_dialog_new ()
from /usr/lib/libgtk-x11-2.0.so.0
#30 0x00000000005efa98 in TGTK2WIDGETSET__INITIALIZEFILEDIALOG
(FILEDIALOG=)
at gtk2object.inc:747
#31 0x0000000000622b86 in TGTKWIDGETSET__CREATECOMPONENT (SENDER=)
at gtkobject.inc:5166
#32 0x00000000005ee9f5 in TGTK2WIDGETSET__CREATECOMPONENT (SENDER=)
at gtk2object.inc:312
#33 0x0000000000661c50 in TGTKWSCOMMONDIALOG__CREATEHANDLE
(ACOMMONDIALOG=)
at gtkwsdialogs.pp:172
#34 0x00000000005c8291 in TCOMMONDIALOG__EXECUTE (this=) at
commondialog.inc:35
#35 0x00000000005c8850 in TFILEDIALOG__EXECUTE (this=) at
filedialog.inc:62
#36 0x0000000000464588 in TMAINIDE__MNUOPENPROJECTCLICKED (SENDER=)
at main.pp:3154
#37 0x000000000070399b in TIDEMENUITEM__MENUITEMCLICK (SENDER=)
at menuintf.pas:511
#38 0x00000000007072e9 in TIDEMENUCOMMAND__MENUITEMCLICK (SENDER=)
at menuintf.pas:1472
#39 0x000000000054f043 in TMENUITEM__CLICK (this=) at menuitem.inc:74
#40 0x000000000054f843 in TMENUITEM__DOCLICKED (MSG=) at
menuitem.inc:260
#41 0x0000000000424c03 in SYSTEM_TOBJECT_$__DISPATCH$formal ()
#42 0x000000000064812d in DELIVERMESSAGE (TARGET=) at gtkproc.inc:3722
#43 0x00000000006540df in GTKACTIVATECB (WIDGET=) at gtkcallback.inc:336
#44 0x00002b9504a767da in g_closure_invoke ()
from /usr/lib/libgobject-2.0.so.0
#45 0x00002b9504a86408 in ?? () from /usr/lib/libgobject-2.0.so.0
#46 0x00002b9504a87843 in g_signal_emit_valist ()
from /usr/lib/libgobject-2.0.so.0
#47 0x00002b9504a87a13 in g_signal_emit ()
from /usr/lib/libgobject-2.0.so.0
#48 0x00002b950447de0a in gtk_widget_activate ()
from /usr/lib/libgtk-x11-2.0.so.0
#49 0x00002b9504388450 in gtk_menu_shell_activate_item ()
from /usr/lib/libgtk-x11-2.0.so.0
#50 0x00002b9504389900 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#51 0x00002b950437c68d in _gtk_marshal_BOOLEAN__BOXED ()
from /usr/lib/libgtk-x11-2.0.so.0
#52 0x00002b9504a767da in g_closure_invoke ()
from /usr/lib/libgobject-2.0.so.0
#53 0x00002b9504a86a18 in ?? () from /usr/lib/libgobject-2.0.so.0
#54 0x00002b9504a87617 in g_signal_emit_valist ()
from /usr/lib/libgobject-2.0.so.0
#55 0x00002b9504a87a13 in g_signal_emit ()
from /usr/lib/libgobject-2.0.so.0
#56 0x00002b950447a13e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#57 0x00002b9504375c7d in gtk_propagate_event ()
from /usr/lib/libgtk-x11-2.0.so.0
#58 0x00002b9504376c91 in gtk_main_do_event ()
from /usr/lib/libgtk-x11-2.0.so.0
#59 0x00002b950481c45c in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#60 0x00002b9504cdba14 in g_main_context_dispatch ()
from /usr/lib/libglib-2.0.so.0
#61 0x00002b9504cde85d in ?? () from /usr/lib/libglib-2.0.so.0
#62 0x00002b9504cded8e in g_main_context_iteration ()
from /usr/lib/libglib-2.0.so.0
#63 0x00002b9504376e7d in gtk_main_iteration_do ()
from /usr/lib/libgtk-x11-2.0.so.0
#64 0x000000000061b50e in TGTKWIDGETSET__APPWAITMESSAGE (this=)
at gtkobject.inc:1430
#65 0x00000000004406be in TAPPLICATION__IDLE (WAIT=) at
application.inc:312
#66 0x0000000000441ec1 in TAPPLICATION__HANDLEMESSAGE (this=)
at application.inc:944
#67 0x0000000000442361 in RUNMESSAGE (parentfp=) at application.inc:1057
#68 0x000000000044227c in TAPPLICATION__RUNLOOP (this=) at
application.inc:1067
#69 0x000000000049b445 in TWIDGETSET__APPRUN (ALOOP=) at
interfacebase.inc:49
#70 0x000000000044221f in TAPPLICATION__RUN (this=) at
application.inc:1046
#71 0x0000000000419409 in main () at lazarus.pp:103
(gdb) quit
The program is running. Exit anyway? (y or n)
Le dimanche 16 septembre 2007 à 10:17 +0200, Mattias Gaertner a écrit :
And it crashes every time I open or save a file within lazarus (the
gtk2 open/save dlg?)
It doesn't crash:
* When Compiled with gtk1,
* When launched by './lazarus --skip-last-project' and I don't open
any file/project nor save one
* with Mandriva 2007, i386
My config:
Ubuntu feisty, 64bit.
fp-*.deb: 2.0.4-5 (same problem with a home-compiled fpc)
gtk2-engines-1:2.10.1-0ubuntu1 and so on
Any tip?
Please start lazarus with gdb, reproduce the crash and send us the
backtrace.
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives