Your message dated Sun, 18 Apr 2010 22:41:06 +0000
with message-id <e1o3dao-0001sj...@ries.debian.org>
and subject line Bug#571998: fixed in lazarus 0.9.28.2-10
has caused the Debian Bug report #571998,
regarding improved exceptions trapping
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
571998: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=571998
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: lazarus-ide
Version: 0.9.28.2-7
Severity: wishlist
Tags: patch

Find attached a patch that avoids trapping some FPU exceptions, since C
code handles them differently, or that the CPU exception flag is
leftover from the C library function call which C code wouldn't bother
but FPC needs it to be explicitly cleared upon the function return.

Upstream:
http://mantis.freepascal.org/view.php?id=15840
Ubuntu bug for Winff with the background:
https://bugs.launchpad.net/bugs/521818
Ubuntu bug for lazarus with the same fix proposed:
https://bugs.launchpad.net/bugs/529469

Paul

-- System Information:
Debian Release: squeeze/sid
  APT prefers lucid-updates
  APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500,
'lucid')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-14-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lazarus-ide depends on:
ii  dpkg                    1.15.5.6ubuntu1  Debian package management
system
ii  fp-compiler             2.2.4-5          Free Pascal - Compiler
ii  fp-units-base           2.2.4-5          Free Pascal - base units
ii  fp-units-fcl            2.2.4-5          Free Pascal - Free
Component Libra
ii  fp-units-gtk2           2.2.4-5          Free Pascal - GTK+ 2.x units
ii  fp-units-rtl [fpc-abi-2 2.2.4-5          Free Pascal - Runtime Library
ii  lazarus-src             0.9.28.2-7build1 IDE for Free Pascal - LCL
Sources
ii  libatk1.0-0             1.29.4-0ubuntu1  The ATK accessibility toolkit
ii  libc6                   2.11.1-0ubuntu3  Embedded GNU C Library:
Shared lib
ii  libglib2.0-0            2.23.4-1ubuntu1  The GLib library of C routines
ii  libgtk2.0-0             2.19.6-1ubuntu1  The GTK+ graphical user
interface
ii  libpango1.0-0           1.26.2-1         Layout and rendering of
internatio
ii  libx11-6                2:1.3.2-1ubuntu3 X11 client-side library

Versions of packages lazarus-ide recommends:
pn  fpc                       <none>         (no description available)
ii  gdb                       7.0.1-2ubuntu2 The GNU Debugger

Versions of packages lazarus-ide suggests:
pn  fp-utils                      <none>     (no description available)

-- no debconf information

Origin: http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/lcl/interfaces/gtk2/gtk2wsstdctrls.pp?r1=23028&r2=23695&pathrev=23695&root=lazarus&view=patch
Bug: http://mantis.freepascal.org/view.php?id=0015627
Description: Fixes memory leak in lazarus-ide: redo clearing of listbox
 selection
Author: Paul Ishenin, upstream
Forwarded: not-needed

Index: lazarus-0.9.28.2/lcl/interfaces/gtk2/gtk2wsstdctrls.pp
===================================================================
--- lazarus-0.9.28.2.orig/lcl/interfaces/gtk2/gtk2wsstdctrls.pp	2010-02-23 14:18:45.000000000 +0000
+++ lazarus-0.9.28.2/lcl/interfaces/gtk2/gtk2wsstdctrls.pp	2010-02-23 14:18:57.000000000 +0000
@@ -475,16 +475,6 @@
   WidgetInfo: PWidgetInfo;
   Selection: PGtkTreeSelection;
   Path: PGtkTreePath;
-
-  procedure ClearCursor; inline;
-  begin
-    if gtk_tree_row_reference_valid(PGtkTreeView(Widget)^.priv^.cursor) then
-    begin
-      gtk_tree_row_reference_free(PGtkTreeView(Widget)^.priv^.cursor);
-      PGtkTreeView(Widget)^.priv^.cursor := nil;
-    end;
-  end;
-  
 begin
   if not WSCheckHandleAllocated(ACustomListBox, 'SetItemIndex') then
     Exit;
@@ -510,7 +500,9 @@
   end
   else
   begin
-    ClearCursor;
+    Path := gtk_tree_path_new_from_indices(0, -1);
+    if PGtkTreeView(Widget)^.priv^.tree <> nil then
+      gtk_tree_view_set_cursor(PGtkTreeView(Widget), Path, nil, False);
     gtk_tree_selection_unselect_all(Selection);
   end;
 

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: lazarus
Source-Version: 0.9.28.2-10

We believe that the bug you reported is fixed in the latest version of
lazarus, which is due to be installed in the Debian FTP archive:

lazarus-doc_0.9.28.2-10_all.deb
  to main/l/lazarus/lazarus-doc_0.9.28.2-10_all.deb
lazarus-ide-gtk2_0.9.28.2-10_amd64.deb
  to main/l/lazarus/lazarus-ide-gtk2_0.9.28.2-10_amd64.deb
lazarus-ide-qt4_0.9.28.2-10_amd64.deb
  to main/l/lazarus/lazarus-ide-qt4_0.9.28.2-10_amd64.deb
lazarus-ide_0.9.28.2-10_amd64.deb
  to main/l/lazarus/lazarus-ide_0.9.28.2-10_amd64.deb
lazarus-src_0.9.28.2-10_all.deb
  to main/l/lazarus/lazarus-src_0.9.28.2-10_all.deb
lazarus_0.9.28.2-10.debian.tar.gz
  to main/l/lazarus/lazarus_0.9.28.2-10.debian.tar.gz
lazarus_0.9.28.2-10.dsc
  to main/l/lazarus/lazarus_0.9.28.2-10.dsc
lazarus_0.9.28.2-10_all.deb
  to main/l/lazarus/lazarus_0.9.28.2-10_all.deb
lcl-gtk2_0.9.28.2-10_amd64.deb
  to main/l/lazarus/lcl-gtk2_0.9.28.2-10_amd64.deb
lcl-nogui_0.9.28.2-10_amd64.deb
  to main/l/lazarus/lcl-nogui_0.9.28.2-10_amd64.deb
lcl-qt4_0.9.28.2-10_amd64.deb
  to main/l/lazarus/lcl-qt4_0.9.28.2-10_amd64.deb
lcl-units_0.9.28.2-10_amd64.deb
  to main/l/lazarus/lcl-units_0.9.28.2-10_amd64.deb
lcl-utils_0.9.28.2-10_amd64.deb
  to main/l/lazarus/lcl-utils_0.9.28.2-10_amd64.deb
lcl_0.9.28.2-10_amd64.deb
  to main/l/lazarus/lcl_0.9.28.2-10_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 571...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Abou Al Montacir <abou.almonta...@sfr.fr> (supplier of updated lazarus package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 09 Apr 2010 00:23:00 +0100
Source: lazarus
Binary: lazarus lazarus-src lazarus-ide lazarus-ide-gtk2 lazarus-ide-qt4 lcl 
lcl-utils lcl-units lcl-nogui lcl-gtk2 lcl-qt4 lazarus-doc
Architecture: source amd64 all
Version: 0.9.28.2-10
Distribution: unstable
Urgency: low
Maintainer: Carlos Laviola <clavi...@debian.org>
Changed-By: Abou Al Montacir <abou.almonta...@sfr.fr>
Description: 
 lazarus    - IDE for Free Pascal - Meta Package
 lazarus-doc - IDE for Free Pascal - Documentation
 lazarus-ide - IDE for Free Pascal - Common IDE files
 lazarus-ide-gtk2 - IDE for Free Pascal - IDE build on top of GTK+ backend
 lazarus-ide-qt4 - IDE for Free Pascal - IDE build on top of QT backend
 lazarus-src - IDE for Free Pascal - LCL Sources Code
 lcl        - Lazarus Components Library - LCL metapackage
 lcl-gtk2   - Lazarus Components Library - GTK+ backend
 lcl-nogui  - Lazarus Components Library - No GUI backend
 lcl-qt4    - Lazarus Components Library - QT backend
 lcl-units  - Lazarus Components Library - Backend independent components
 lcl-utils  - Lazarus Components Library - Command Line build tools
Closes: 571997 571998
Changes: 
 lazarus (0.9.28.2-10) unstable; urgency=low
 .
   * Fixed memory leak in GTK based lazarus IDE binary  (Closes:Bug#571997)
   * Fixed crach by avoiding trapping some FPU exceptions which occurs in linked
     C code. (Closes:Bug#571998)
Checksums-Sha1: 
 0167464337a2db8457edfa55abdd647719494e9f 1514 lazarus_0.9.28.2-10.dsc
 36fa8486c72192e26e21fbc380e4348441f8d97d 38518 
lazarus_0.9.28.2-10.debian.tar.gz
 367ca49f0d62a2add32203c0c1136d7905fb4ec1 4367162 
lazarus-ide_0.9.28.2-10_amd64.deb
 bc9d0909ddecfe43a18a05a47afe594e658316e9 5423214 
lazarus-ide-gtk2_0.9.28.2-10_amd64.deb
 796c82678d706b64572edbf1df5cf7f5bda40c70 16152 
lazarus-ide-qt4_0.9.28.2-10_amd64.deb
 4c0fcf66a8cbfbc171b0fbe4ea41176a420689ca 15970 lcl_0.9.28.2-10_amd64.deb
 8e5edbb16380941c9713f645b707f52d07c23da3 4257154 
lcl-utils_0.9.28.2-10_amd64.deb
 ee5327c370eabb8c1993b42f96aa84e1ba655edb 18879190 
lcl-units_0.9.28.2-10_amd64.deb
 93493cef3d326233d4bb1028440a7e8faee5be6b 42370 lcl-nogui_0.9.28.2-10_amd64.deb
 c08cfb4940c47f88f82405fec15584c80df6f8ed 1490330 lcl-gtk2_0.9.28.2-10_amd64.deb
 883b732410e501be9ad8686de893111538d19bd6 16034 lcl-qt4_0.9.28.2-10_amd64.deb
 9d602ccae949ad3d194d84cae353732a4ec82637 16308 lazarus_0.9.28.2-10_all.deb
 acfd4603541417933a247f6c06a89962c83c2673 9815648 
lazarus-src_0.9.28.2-10_all.deb
 d926f1bda0f0da91ff3ae8c32312165297790a88 1806990 
lazarus-doc_0.9.28.2-10_all.deb
Checksums-Sha256: 
 b1a43911d58379aa4732618a1e42673bcee8af31aaaca62295e36f88302dcad1 1514 
lazarus_0.9.28.2-10.dsc
 947c9b9deb96ce78e052bf7ec88d84d4222f49c8f498b42eacc38b191e836b49 38518 
lazarus_0.9.28.2-10.debian.tar.gz
 32f5913f3700b67a8b1dbc14ee5f4fbaec6ee09be4f60cb2ff7ecc7c383e34f6 4367162 
lazarus-ide_0.9.28.2-10_amd64.deb
 cbc29059d66d82a8446362709e5528740828aa7ce1180d601c787e192b5c1c3a 5423214 
lazarus-ide-gtk2_0.9.28.2-10_amd64.deb
 2b9d8e3a63ad219f76004ebdb77478df4e60a4d2bf4d4bb051adb5a93bc29458 16152 
lazarus-ide-qt4_0.9.28.2-10_amd64.deb
 62d0eaaf7c65402aca7a0c55d7bd144323aee6541a18cb88f0580c55afb817bc 15970 
lcl_0.9.28.2-10_amd64.deb
 1cba1944ea5ee0f5d2e55c3bc2d45cf550c1c451dad16a38a9cb668a4c638061 4257154 
lcl-utils_0.9.28.2-10_amd64.deb
 4bb4262f0e1c7b7f6077d5ed5e08afaa74fbe3d0cb997c6b6212a37e576afc1e 18879190 
lcl-units_0.9.28.2-10_amd64.deb
 ce9baed3ccef3ee04cef0f839dfd32539d1496ec05c36315e4f84a0c2e3569d5 42370 
lcl-nogui_0.9.28.2-10_amd64.deb
 bfc913cb8a4b6f2410921cccf43faf6e79ddadddc0d4bc10ca4fa2b80d3b8c3e 1490330 
lcl-gtk2_0.9.28.2-10_amd64.deb
 7fa7fa618f0b35796f25e5f5b7e3351987a158708e285b6ffe42f0dfa77cc266 16034 
lcl-qt4_0.9.28.2-10_amd64.deb
 97dd13a164b75d702647013ac847652e019ca506f2570b40c85f6ea8fd978cd0 16308 
lazarus_0.9.28.2-10_all.deb
 db84e2756470ccb9a3fcee05ecf883c2509346a8aacff34afe1a2629a82d6cbb 9815648 
lazarus-src_0.9.28.2-10_all.deb
 c86a93e59eea30f05a82943ac3aa9fbc15119f052fe228f0e44fca9fd950f2ee 1806990 
lazarus-doc_0.9.28.2-10_all.deb
Files: 
 5a8bfd631d037a1a30a1a7a240bfcec6 1514 devel optional lazarus_0.9.28.2-10.dsc
 ca8e5c52594a7de97be6d96f7f268d84 38518 devel optional 
lazarus_0.9.28.2-10.debian.tar.gz
 608440240813f1948659a0b62675232c 4367162 devel optional 
lazarus-ide_0.9.28.2-10_amd64.deb
 4ea7a58577c8fa133bf6b0d7e24d1e3b 5423214 devel optional 
lazarus-ide-gtk2_0.9.28.2-10_amd64.deb
 2128e87bf3270e25dfebf2de39d3f2b7 16152 devel optional 
lazarus-ide-qt4_0.9.28.2-10_amd64.deb
 9f56fb83c0b453a9f055490e0dbd5ba1 15970 devel optional lcl_0.9.28.2-10_amd64.deb
 342ca486fe2d09b573e686571262813e 4257154 devel optional 
lcl-utils_0.9.28.2-10_amd64.deb
 670b9c0b2805ce905f633c17d99f8d05 18879190 devel optional 
lcl-units_0.9.28.2-10_amd64.deb
 40f53f9de3b1089454f2e06cb558d3fb 42370 devel optional 
lcl-nogui_0.9.28.2-10_amd64.deb
 0ba8255b5083e8b45c505ca5bccf75e6 1490330 devel optional 
lcl-gtk2_0.9.28.2-10_amd64.deb
 c729edc405989f73c27c9a04b49ba6b2 16034 devel optional 
lcl-qt4_0.9.28.2-10_amd64.deb
 09259132cc32ae0e85534839879c5383 16308 devel optional 
lazarus_0.9.28.2-10_all.deb
 88fb6931c969ab5bf22a88f79ddecbf0 9815648 devel optional 
lazarus-src_0.9.28.2-10_all.deb
 f7e216707e21239d58f4110b44515053 1806990 doc optional 
lazarus-doc_0.9.28.2-10_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkvLcBQACgkQfY3dicTPjsN5wwCfeWn/8ZjxlAdhIHIR2oJlSblf
+zAAn0vfJ+KdOkUWF0GEYODbV4vXGfzk
=x84A
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to