Recent

Author Topic: Xubuntu 9.04, Laz 0.9.26-4, copy to clip ==> crash  (Read 12996 times)

chrnobel

  • Sr. Member
  • ****
  • Posts: 283
Xubuntu 9.04, Laz 0.9.26-4, copy to clip ==> crash
« on: May 25, 2009, 03:10:45 pm »
Hi.

I am using Laz 0.9.26-4 under Xubuntu 9.04, and every time I try to copy text in the editor, regardless of using crtl-c or right mousebutton, the IDE crashes.

Any solutions?

/Christian

Mike James

  • New Member
  • *
  • Posts: 23
Re: Xubuntu 9.04, Laz 0.9.26-4, copy to clip ==> crash
« Reply #1 on: May 25, 2009, 03:57:00 pm »
This does the same for me too, but only when the IDE is compiled for GTK2. I'm using the latest release of Lazarus with Ubuntu 9.04.

Regards,

-=mike=-

Lord_ZealoN

  • Full Member
  • ***
  • Posts: 141
    • http://lordzealon.com
Re: Xubuntu 9.04, Laz 0.9.26-4, copy to clip ==> crash
« Reply #2 on: May 25, 2009, 04:12:31 pm »
Had you tried with a more recent or older version?

With stable 0.9.26-2 GTK2, and FPC 2.2.4 all works ok.
I'm downloading sources to compile trunk and try it

Enviroment: OpenSuse 11.1 and Gnome

Mike James

  • New Member
  • *
  • Posts: 23
Re: Xubuntu 9.04, Laz 0.9.26-4, copy to clip ==> crash
« Reply #3 on: June 09, 2009, 11:51:21 pm »
Further to my previous post here is the output when run Lazarus from a terminal and I use Ctrl-C to copy some text...

[WARNING] Out of OEM specific VK codes, changing to unassigned
[WARNING] Out of unassigned VK codes, assigning $FF
TLazarusManager.Run starting /usr/lib/lazarus/lazarus ...
[WARNING] Out of OEM specific VK codes, changing to unassigned
[WARNING] Out of unassigned VK codes, assigning $FF
TMainIDE.ParseCmdLineOptions:
  PrimaryConfigPath="/home/michael/.lazarus"
  SecondaryConfigPath="/etc/lazarus"
NOTE: codetools config file not found - using defaults
NOTE: help options config file not found - using defaults
TFindDeclarationTool.ValidateToolDependencies /home/michael/oberon/pascal/parser.pas
TFindDeclarationTool.ValidateToolDependencies /home/michael/oberon/pascal/lexer.pas
*** glibc detected *** /usr/lib/lazarus/lazarus: free(): invalid pointer: 0x0932dc90 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb77fa604]
/lib/tls/i686/cmov/libc.so.6(cfree+0x96)[0xb77fc5b6]
/usr/lib/libglib-2.0.so.0(g_free+0x36)[0xb79b8126]
/usr/lib/lazarus/lazarus[0x822dac8]
/usr/lib/lazarus/lazarus[0x822d9d5]
/usr/lib/lazarus/lazarus[0x822f00b]
/usr/lib/lazarus/lazarus[0x813ce8f]
/usr/lib/lazarus/lazarus[0x81f06e9]
/usr/lib/lazarus/lazarus[0x81f07e8]
/usr/lib/lazarus/lazarus[0x81f0f1f]
/usr/lib/lazarus/lazarus[0x81f1146]
/usr/lib/lazarus/lazarus[0x83993fb]
/usr/lib/lazarus/lazarus[0x839965a]
/usr/lib/lazarus/lazarus[0x83aa0bc]
/usr/lib/lazarus/lazarus[0x83a7690]
/usr/lib/lazarus/lazarus[0x839bbfd]
/usr/lib/lazarus/lazarus[0x8178966]
/usr/lib/lazarus/lazarus[0x8178c85]
/usr/lib/lazarus/lazarus[0x817a927]
/usr/lib/lazarus/lazarus[0x8068d19]
/usr/lib/lazarus/lazarus[0x81780e4]
/usr/lib/lazarus/lazarus[0x83a630e]
/usr/lib/lazarus/lazarus[0x82468d7]
/usr/lib/lazarus/lazarus[0x8244053]
/usr/lib/lazarus/lazarus[0x8204d08]
/usr/lib/libgtk-x11-2.0.so.0[0xb7c2f526]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x1ab)[0xb7a38c7b]
/usr/lib/libgobject-2.0.so.0[0xb7a4ee57]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x64f)[0xb7a5034f]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x26)[0xb7a50936]
/usr/lib/libgtk-x11-2.0.so.0[0xb7d4a2ae]
/usr/lib/libgtk-x11-2.0.so.0(gtk_propagate_event+0x1b1)[0xb7c28041]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main_do_event+0x2e7)[0xb7c29327]
/usr/lib/libgdk-x11-2.0.so.0[0xb7ab634a]
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x1e8)[0xb79afb88]
/usr/lib/libglib-2.0.so.0[0xb79b30eb]
/usr/lib/libglib-2.0.so.0(g_main_context_iteration+0x68)[0xb79b3268]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main_iteration_do+0x33)[0xb7c295c3]
/usr/lib/lazarus/lazarus[0x822790a]
/usr/lib/lazarus/lazarus[0x807edc2]
/usr/lib/lazarus/lazarus[0x808058f]
/usr/lib/lazarus/lazarus[0x80808af]
/usr/lib/lazarus/lazarus[0x80c7483]
/usr/lib/lazarus/lazarus[0x808086a]
/usr/lib/lazarus/lazarus[0x805c119]
/usr/lib/lazarus/lazarus[0x872405d]
======= Memory map: ========
08048000-08725000 r-xp 00000000 08:08 3760325    /usr/lib/lazarus/lazarus
08725000-08b5c000 rwxp 006dc000 08:08 3760325    /usr/lib/lazarus/lazarus
08b5c000-08ba5000 rwxp 08b5c000 00:00 0
09123000-0955b000 rwxp 09123000 00:00 0          [heap]
b6500000-b6521000 rwxp b6500000 00:00 0
b6521000-b6600000 ---p b6521000 00:00 0
b6618000-b6625000 r-xp 00000000 08:08 1351700    /lib/libgcc_s.so.1
b6625000-b6626000 r-xp 0000c000 08:08 1351700    /lib/libgcc_s.so.1
b6626000-b6627000 rwxp 0000d000 08:08 1351700    /lib/libgcc_s.so.1
b6640000-b6650000 rwxp b6640000 00:00 0
b6650000-b66b0000 rwxs 00000000 00:09 4456472    /SYSV00000000 (deleted)
b66b0000-b66c8000 rwxp b66b0000 00:00 0
b66c8000-b6712000 r-xp 00000000 08:08 3858472    /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Bold.ttf
b6712000-b6761000 r-xp 00000000 08:08 3858471    /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf
b6761000-b677a000 r-xp 00000000 08:08 3870141    /usr/share/fonts/type1/gsfonts/n022004l.pfb
b677a000-b6792000 r-xp 00000000 08:08 3870140    /usr/share/fonts/type1/gsfonts/n022003l.pfb
b6792000-b67a1000 r-xp 00000000 08:08 1351820    /lib/libbz2.so.1.0.4
b67a1000-b67a2000 r-xp 0000f000 08:08 1351820    /lib/libbz2.so.1.0.4
b67a2000-b67a3000 rwxp 00010000 08:08 1351820    /lib/libbz2.so.1.0.4
b67a3000-b68d8000 r-xp 00000000 08:08 3729696    /usr/lib/libxml2.so.2.6.32
b68d8000-b68d9000 ---p 00135000 08:08 3729696    /usr/lib/libxml2.so.2.6.32
b68d9000-b68dd000 r-xp 00135000 08:08 3729696    /usr/lib/libxml2.so.2.6.32
b68dd000-b68de000 rwxp 00139000 08:08 3729696    /usr/lib/libxml2.so.2.6.32
b68de000-b68df000 rwxp b68de000 00:00 0
b68df000-b6910000 r-xp 00000000 08:08 3729111    /usr/lib/libcroco-0.6.so.3.0.1
b6910000-b6913000 rwxp 00030000 08:08 3729111    /usr/lib/libcroco-0.6.so.3.0.1
b6913000-b6946000 r-xp 00000000 08:08 3730774    /usr/lib/libgsf-1.so.114.0.11
b6946000-b6947000 ---p 00033000 08:08 3730774    /usr/lib/libgsf-1.so.114.0.11
b6947000-b6949000 r-xp 00033000 08:08 3730774    /usr/lib/libgsf-1.so.114.0.11
b6949000-b694a000 rwxp 00035000 08:08 3730774    /usr/lib/libgsf-1.so.114.0.11
b694a000-b694b000 rwxp b694a000 00:00 0
b694b000-b697c000 r-xp 00000000 08:08 3729387    /usr/lib/librsvg-2.so.2.26.0
b697c000-b697d000 r-xp 00031000 08:08 3729387    /usr/lib/librsvg-2.so.2.26.0
b697d000-b697e000 rwxp 00032000 08:08 3729387    /usr/lib/librsvg-2.so.2.26.0
b6987000-b6997000 rwxp b6987000 00:00 0
b6997000-b69cd000 r-xp 00000000 08:08 1351707    /lib/libdbus-1.so.3.4.0
b69cd000-b69ce000 r-xp 00035000 08:08 1351707    /lib/libdbus-1.so.3.4.0
b69ce000-b69cf000 rwxp 00036000 08:08 1351707    /lib/libdbus-1.so.3.4.0
b69cf000-b69e1000 r-xp 00000000 08:08 3729372    /usr/lib/libgvfscommon.so.0.0.0
b69e1000-b69e2000 r-xp 00012000 08:08 3729372    /usr/lib/libgvfscommon.so.0.0.0
b69e2000-b69e3000 rwxp 00013000 08:08 3729372    /usr/lib/libgvfscommon.so.0.0.0
b69e5000-b69e9000 r-xp 00000000 08:08 3760717    /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so
b69e9000-b69ea000 r-xp 00003000 08:08 3760717    /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so
b69ea000-b69eb000 rwxp 00004000 08:08 3760717    /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so
b69eb000-b69fa000 r-xp 00000000 08:08 3760752    /usr/lib/gio/modules/libgioremote-volume-monitor.so
b69fa000-b69fb000 r-xp 0000e000 08:08 3760752    /usr/lib/gio/modules/libgioremote-volume-monitor.so
b69fb000-b69fc000 rwxp 0000f000 08:08 3760752    /usr/lib/gio/modules/libgioremote-volume-monitor.so
b69ff000-b6a18000 r-xs 00000000 08:08 3817826    /usr/share/mime/mime.cache
b6a18000-b6ca8000 rwxp b6a18000 00:00 0
b6ca8000-b6cae000 r-xp 00000000 08:08 3760724    /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so
b6cae000-b6caf000 r-xp 00005000 08:08 3760724    /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so
b6caf000-b6cb0000 rwxp 00006000 08:08 3760724    /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so
b6cb0000-b6ce0000 rwxp b6cb0000 00:00 0
b6ce0000-b6d78000 r-xp 00000000 08:08 3858469    /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
b6d78000-b6d7a000 r-xp 00000000 08:08 3794108    /usr/lib/pango/1.6.0/modules/pango-basic-fc.so
b6d7a000-b6d7b000 r-xp 00001000 08:08 3794108    /usr/lib/pango/1.6.0/modules/pango-basic-fc.so
b6d7b000-b6d7c000 rwxp 00002000 08:08 3794108    /usr/lib/pango/1.6.0/modules/pango-basic-fc.so
b6d7c000-b6d82000 r-xs 00000000 08:08 1237615    /var/cache/fontconfig/945677eb7aeaf62f1d50efc3fb3ec7d8-x86.cache-2
b6d82000-b6d85000 r-xs 00000000 08:08 1237529    /var/cache/fontconfig/e383d7ea5fbe662a33d9b44caf393297-x86.cache-2
b6d85000-b6d88000 r-xs 00000000 08:08 1239028    /var/cache/fontconfig/6eb3985aa4124903f6ff08ba781cd364-x86.cache-2
b6d88000-b6d89000 r-xs 00000000 08:08 1237514    /var/cache/fontconfig/4c73fe0c47614734b17d736dbde7580a-x86.cache-2
b6d89000-b6d8c000 r-xs 00000000 08:08 1237613    /var/cache/fontconfig/a755afe4a08bf5b97852ceb7400b47bc-x86.cache-2
b6d8c000-b6d8f000 r-xs 00000000 08:08 1237521    /var/cache/fontconfig/6d41288fd70b0be22e8c3a91e032eec0-x86.cache-2
b6d8f000-b6d92000 r-xs 00000000 08:08 1237555    /var/cache/fontconfig/de156ccd2eddbdc19d37a45b8b2aac9c-x86.cache-2
b6d92000-b6d9a000 r-xs 00000000 08:08 1237518    /var/cache/fontconfig/e3de0de479f42330eadf588a55fb5bf4-x86.cache-2
b6d9a000-b6da5000 r-xs 00000000 08:08 1237669    /var/cache/fontconfig/0f34bcd4b6ee430af32735b75db7f02b-x86.cache-2
b6da5000-b6da7000 r-xs 00000000 08:08 1237275    /var/cache/fontconfig/ddd4086aec35a5275babba44bb759c3c-x86.cache-2
b6da7000-b6da8000 r-xs 00000000 08:08 1237652    /var/cache/fontconfig/4794a0821666d79190d59a36cb4f44b5-x86.cache-2
b6da8000-b6dca000 r-xs 00000000 08:08 1239031    /var/cache/fontconfig/365b55f210c0a22e9a19e35191240f32-x86.cache-2
b6dca000-b6dcd000 r-xs 00000000 08:08 1237715    /var/cache/fontconfig/de9486f0b47a4d768a594cb4198cb1c6-x86.cache-2
b6dcd000-b6dd4000 r-xs 00000000 08:08 1237644    /var/cache/fontconfig/d52a8644073d54c13679302ca1180695-x86.cache-2
b6dd4000-b6dda000 r-xs 00000000 08:08 1237739    /var/cache/fontconfig/089dead88


Lazarus was built for GTK+, Ubuntu 9.04 and latest release of Lazarus.

Regards,

-=mike=-

Paul Ishenin

  • Sr. Member
  • ****
  • Posts: 274
Re: Xubuntu 9.04, Laz 0.9.26-4, copy to clip ==> crash
« Reply #4 on: June 10, 2009, 03:37:02 am »
Try to build lazarus from trunk. Many bugs were fixed in it and maybe this problem too.

Mike James

  • New Member
  • *
  • Posts: 23
Re: Xubuntu 9.04, Laz 0.9.26-4, copy to clip ==> crash
« Reply #5 on: June 10, 2009, 10:29:49 am »
Hi Paul,

From the Lazarus Snapshots page I assume that the trunk is the Lazarus fixes (version 9.26.3) rather than the Lazarus (version 9.27)?


Regards,

-=mike=-

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Re: Xubuntu 9.04, Laz 0.9.26-4, copy to clip ==> crash
« Reply #6 on: June 10, 2009, 12:08:26 pm »
No, trunk is 0.9.27. Lazarus fixes (0.9.26.3) is fixes and unmaintained after the 0.9.26.2 release: http://lazarus-dev.blogspot.com/2009/04/no-updates-on-0926-fixes-branch.html

Mike James

  • New Member
  • *
  • Posts: 23
Re: Xubuntu 9.04, Laz 0.9.26-4, copy to clip ==> crash
« Reply #7 on: June 10, 2009, 06:14:32 pm »
I've downloaded the 9.27 src and started to build it - the first problem is...

/usr/lib/lazarus/lcl/interfaces/gtk2/gtk2memostrings.inc(83,31) Error: Identifier not found "gtk_text_buffer_select_range"

gtk2 is installed in Ubuntu 9.04 - is there a later version that not in the repository?


Regards,

-=mike=-

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Re: Xubuntu 9.04, Laz 0.9.26-4, copy to clip ==> crash
« Reply #8 on: June 10, 2009, 06:29:23 pm »
You need fpc 2.2.4 or later for lazarus trunk (0.9.27 currently).

Mike James

  • New Member
  • *
  • Posts: 23
Re: Xubuntu 9.04, Laz 0.9.26-4, copy to clip ==> crash
« Reply #9 on: June 11, 2009, 12:30:54 am »
Thanks,

I downloaded/built the latest Lazarus 9.27 and fpc 2.2.4 and everything is fine now.

Regards,

-=mike=-

chrnobel

  • Sr. Member
  • ****
  • Posts: 283
Re: Xubuntu 9.04, Laz 0.9.26-4, copy to clip ==> crash
« Reply #10 on: June 11, 2009, 09:55:25 pm »
Great, thanks.

It works perfect now.

/Christian

 

TinyPortal © 2005-2018