Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-07

AV on Mandriva 2010 KDE4

4 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Jean-Marc

Hi,

Using Lazarus 0.9.28 on my old Mdv 2008-1 KDE3.5, I am willing to move to the new Mdv 2010-1 KDE4.
Surprisingly, it carries packages for FPC 2.4.0 and Lazarus 0.9.28.2. I installed them, and started to use.
Compiling a simple test application is Ok, which would mean that FPC works well, but whenever I try to set the project options or the debugger options, I am getting an AV.
Trying to re-buid Lazarus only builds the LCL, and trying to configure Lazarus build also leads to an AV.

Being a user of FpGUI, I also tested to compile an application, but this time I am getting the error message > Exception while creating process: executable not found "xterm".

After that, I uninstalled the packages, and installed the old ones I am using on Mdv 2008, but the result remains the same: access violations and errors.

Any idea ? Anybody already uses Lazarus on KDE4 and former Mdv 2010-0 ?

Thanks for any help

Jean-Marc

Reply by email

Mattias Gaertner
to Jean-Marc
Show quoted text 10 lines
Hi, Using Lazarus 0.9.28 on my old Mdv 2008-1 KDE3.5, I am willing to move to the new Mdv 2010-1 KDE4. Surprisingly, it carries packages for FPC 2.4.0 and Lazarus 0.9.28.2. I installed them, and started to use. Compiling a simple test application is Ok, which would mean that FPC works well, but whenever I try to set the project options or the debugger options, I am getting an AV.

Try another theme.

Trying to re-buid Lazarus only builds the LCL, and trying to configure Lazarus build also leads to an AV.

Can you create a backtrace?

Can you try to install a snapshot?
http://wiki.lazarus.freepascal.org/Lazarus_Snapshots_Downloads

Show quoted text 8 lines
Being a user of FpGUI, I also tested to compile an application, but this time I am getting the error message > Exception while creating process: executable not found "xterm". After that, I uninstalled the packages, and installed the old ones I am using on Mdv 2008, but the result remains the same: access violations and errors. Any idea ? Anybody already uses Lazarus on KDE4 and former Mdv 2010-0 ?

Mattias

Reply by email

Jean-Marc
to Mattias Gaertner

Le Saturday 10 July 2010 22:39:00 Mattias Gaertner, vous avez ?crit?:

> Trying to re-buid Lazarus only builds the LCL, and trying to configure > Lazarus build also leads to an AV. Can you create a backtrace?

Here attached is the backtrace

I will try the snapshot soon.

Thanks Mattias
-------------- next part --------------
#0 0xb7c77dbe in gtk_tree_row_reference_valid () from /usr/lib/libgtk-x11-2.0.so.0 #1 0x082b9c8c in TGTK2WSCUSTOMLISTBOX__SETITEMINDEX (ACUSTOMLISTBOX=0xb6a13790, AINDEX=-1, pvmt=0xb6e80d70) at gtk2wsstdctrls.pp:513
#2 0x081ea5eb in TCUSTOMLISTBOX__SENDITEMINDEX (this=<error reading variable>) at ./include/customlistbox.inc:483
#3 0x081e985a in TCUSTOMLISTBOX__INITIALIZEWND (this=<error reading variable>) at ./include/customlistbox.inc:113
#4 0x081a8d2c in TWINCONTROL__CREATEWND (this=<error reading variable>) at ./include/wincontrol.inc:6734 #5 0x081a8925 in TWINCONTROL__CREATEHANDLE (this=<error reading variable>) at ./include/wincontrol.inc:6650 #6 0x081a98fa in TWINCONTROL__HANDLENEEDED (this=<error reading variable>) at ./include/wincontrol.inc:7054 #7 0x081a8df5 in TWINCONTROL__CREATEWND (this=<error reading variable>) at ./include/wincontrol.inc:6749 #8 0x081a8925 in TWINCONTROL__CREATEHANDLE (this=<error reading variable>) at ./include/wincontrol.inc:6650 #9 0x081a98fa in TWINCONTROL__HANDLENEEDED (this=<error reading variable>) at ./include/wincontrol.inc:7054 #10 0x081a8df5 in TWINCONTROL__CREATEWND (this=<error reading variable>) at ./include/wincontrol.inc:6749 #11 0x0824d0c1 in TCUSTOMNOTEBOOK__CREATEWND (this=<error reading variable>) at ./include/customnotebook.inc:235 #12 0x081a8925 in TWINCONTROL__CREATEHANDLE (this=<error reading variable>) at ./include/wincontrol.inc:6650 #13 0x081a98fa in TWINCONTROL__HANDLENEEDED (this=<error reading variable>) at ./include/wincontrol.inc:7054 #14 0x081a8df5 in TWINCONTROL__CREATEWND (this=<error reading variable>) at ./include/wincontrol.inc:6749 #15 0x0807b531 in TSCROLLINGWINCONTROL__CREATEWND (this=<error reading variable>) at ./include/scrollingwincontrol.inc:32
#16 0x080807b2 in TCUSTOMFORM__CREATEWND (this=<error reading variable>) at ./include/customform.inc:1990 #17 0x08081889 in TFORM__CREATEWND (this=<error reading variable>) at ./include/customform.inc:2390 #18 0x081a8925 in TWINCONTROL__CREATEHANDLE (this=<error reading variable>) at ./include/wincontrol.inc:6650 ---Type <return> to continue, or q <return> to quit--- #19 0x081a3c3a in TWINCONTROL__UPDATESHOWING (this=<error reading variable>) at ./include/wincontrol.inc:3976 #20 0x08080dad in TCUSTOMFORM__UPDATESHOWING (this=<error reading variable>) at ./include/customform.inc:2206 #21 0x081a73dd in TWINCONTROL__UPDATECONTROLSTATE (this=<error reading variable>) at ./include/wincontrol.inc:5763
#22 0x081aa79b in TWINCONTROL__CMVISIBLECHANGED (THEMESSAGE=..., this=<error reading variable>) at ./include/wincontrol.inc:7455
#23 0x0806b5fa in SYSTEM_TOBJECT_$__DISPATCH$formal () #24 0x081aa740 in TWINCONTROL__GETDEVICECONTEXT (WINDOWHANDLE=45067, this=<error reading variable>) at ./include/wincontrol.inc:7438
#25 0x081a5b92 in TWINCONTROL__WNDPROC (MESSAGE=..., this=<error reading variable>) at ./include/wincontrol.inc:4920
#26 0x0807e5cf in TCUSTOMFORM__WNDPROC (THEMESSAGE=..., this=<error reading variable>) at ./include/customform.inc:1056
#27 0x081ad178 in TCONTROL__PERFORM (MSG=45067, WPARAM=1, LPARAM=0, this=<error reading variable>) at ./include/control.inc:992
#28 0x081b20cd in TCONTROL__SETVISIBLE (VALUE=true, this=<error reading variable>) at ./include/control.inc:3468 #29 0x0807d34f in TCUSTOMFORM__SETVISIBLE (VALUE=true, this=<error reading variable>) at ./include/customform.inc:357
#30 0x0807fe49 in TCUSTOMFORM__SHOW (this=<error reading variable>) at ./include/customform.inc:1692 #31 0x08081202 in TCUSTOMFORM__SHOWMODAL (this=<error reading variable>) at ./include/customform.inc:2266 #32 0x0852d793 in SHOWCONFIGUREBUILDLAZARUSDLG (AOPTIONS=0xb6d71220) at buildlazdialog.pas:311 #33 0x080a13bc in TMAINIDE__MNUTOOLCONFIGBUILDLAZCLICKED (SENDER=0xb672f200, this=<error reading variable>) at main.pp:3975
---Type <return> to continue, or q <return> to quit--- #34 0x084385a8 in TIDEMENUITEM__MENUITEMCLICK (SENDER=0xb669dce0, this=<error reading variable>) at menuintf.pas:536
#35 0x0843b31a in TIDEMENUCOMMAND__MENUITEMCLICK (SENDER=0xb669dce0, this=<error reading variable>) at menuintf.pas:1531
#36 0x081ba7d1 in TMENUITEM__CLICK (this=<error reading variable>) at ./include/menuitem.inc:75 #37 0x081badd8 in TMENUITEM__DOCLICKED (MSG=void, this=<error reading variable>) at ./include/menuitem.inc:264 #38 0x0806b5fa in SYSTEM_TOBJECT_$__DISPATCH$formal () #39 0x081bada0 in TMENUITEM__GETPARENTCOMPONENT (this=<error reading variable>) at ./include/menuitem.inc:253 #40 0x0821c81b in DELIVERMESSAGE (TARGET=0xb669dce0, AMESSAGE=void) at /home/mandrake/rpm/BUILD/lazarus-0.9.28.2/lazarus/lcl/interfaces/gtk/gtkproc.inc:3707 #41 0x082c68e3 in GTK2MENUITEMACTIVATE (WIDGET=0x8e6a140, DATA=0xb669dce0) at gtk2wsmenus.pp:108 #42 0xb798badc in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0 #43 0xb797dd22 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #44 0xb79927aa in ?? () from /usr/lib/libgobject-2.0.so.0 #45 0xb7993d61 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #46 0xb79941f7 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #47 0xb7cbfdf5 in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0 #48 0xb7b9e000 in gtk_menu_shell_activate_item () from /usr/lib/libgtk-x11-2.0.so.0 #49 0xb7b9f90f in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #50 0xb7b952b4 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #51 0xb7b8ea74 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #52 0xb797c27e in ?? () from /usr/lib/libgobject-2.0.so.0 #53 0xb797dd22 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 ---Type <return> to continue, or q <return> to quit--- #54 0xb799257f in ?? () from /usr/lib/libgobject-2.0.so.0 #55 0xb7993bfe in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #56 0xb79941f7 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #57 0xb7cbc046 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #58 0xb7b870bd in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0 #59 0xb7b8844f in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0 #60 0xb7a0d52a in ?? () from /usr/lib/libgdk-x11-2.0.so.0 #61 0xb78d3cbe in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #62 0xb78d79f8 in ?? () from /usr/lib/libglib-2.0.so.0 #63 0xb78d7b9e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #64 0xb7b88803 in gtk_main_iteration_do () from /usr/lib/libgtk-x11-2.0.so.0 #65 0x081faaea in TGTKWIDGETSET__APPWAITMESSAGE (this=<error reading variable>) at /home/mandrake/rpm/BUILD/lazarus-0.9.28.2/lazarus/lcl/interfaces/gtk/gtkwidgetset.inc:1283 #66 0x08084d0a in TAPPLICATION__IDLE (WAIT=true, this=<error reading variable>) at ./include/application.inc:338 #67 0x080868cf in TAPPLICATION__HANDLEMESSAGE (this=<error reading variable>) at ./include/application.inc:1136 #68 0x08086d0f in TAPPLICATION__RUNLOOP (this=<error reading variable>) at ./include/application.inc:1269 #69 0x080e8903 in TWIDGETSET__APPRUN (ALOOP=0x8086cd0 <TAPPLICATION__RUNLOOP>, this=<error reading variable>) at ./include/interfacebase.inc:49
#70 0x08086cca in TAPPLICATION__RUN (this=<error reading variable>) at ./include/application.inc:1257 #71 0x0805d242 in main () at lazarus.pp:114

Reply by email

Jean-Marc
to Mattias Gaertner: On Sat, 10 Jul 2010 22:00:57 +0200 Try another theme. Can you create a backtrace? Can you…

Le Saturday 10 July 2010 22:39:00 Mattias Gaertner, vous avez ?crit?:

Show quoted text 22 lines
On Sat, 10 Jul 2010 22:00:57 +0200 Jean-Marc wrote: > Hi, > > Using Lazarus 0.9.28 on my old Mdv 2008-1 KDE3.5, I am willing to move > to the new Mdv 2010-1 KDE4. > Surprisingly, it carries packages for FPC 2.4.0 and Lazarus 0.9.28.2. > I installed them, and started to use. > Compiling a simple test application is Ok, which would mean that FPC > works well, but whenever I try to set the project options or the debugger > options, I am getting an AV. Try another theme. > Trying to re-buid Lazarus only builds the LCL, and trying to configure > Lazarus build also leads to an AV. Can you create a backtrace? Can you try to install a snapshot? http://wiki.lazarus.freepascal.org/Lazarus_Snapshots_Downloads

Well, installing a snapshot, it is working now :-)

> Being a user of FpGUI, I also tested to compile an application, but this > time I am getting the error message > Exception while creating process: > executable not found "xterm".

This is still not solved, but I think I have better send a message on the FpGUI list.

Show quoted text 8 lines
> After that, I uninstalled the packages, and installed the old ones I am > using on Mdv 2008, but the result remains the same: access violations and > errors. > > Any idea ? Anybody already uses Lazarus on KDE4 and former Mdv 2010-0 ? Mattias

Thanks a lot Mattias

Show quoted text 5 lines
-- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email