[Lazarus] AV on Lazarus startup

2010-10-26 Thread Darius Blaszyk
I get the following AV introduced by rev 27870.

Lazarus 0.9.29 r27869M FPC 2.4.0 i386-linux-gtk 2 (beta)

Darius

(lazarus:3469): GdkPixbuf-CRITICAL **: gdk_pixbuf_new_subpixbuf:
assertion `src_x = 0  src_x + width = src_pixbuf-width' failed

(lazarus:3469): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion
`GDK_IS_PIXBUF (pixbuf)' failed

(lazarus:3469): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride:
assertion `GDK_IS_PIXBUF (pixbuf)' failed

(lazarus:3469): GLib-GObject-CRITICAL **: g_object_unref: assertion
`G_IS_OBJECT (object)' failed
TApplication.HandleException Access violation
  Stack trace:
  $08182D11  TLAZINTFIMAGE__GETCOLOR_BPP32_R8G8B8A8_BIO_TTB,  line 2168
of intfgraphics.pas
  $08184330  TLAZINTFIMAGE__GETINTERNALCOLOR,  line 3097 of
intfgraphics.pas
  $0816EC51 line 6543 of lclversion.pas
  $08185A14  TLAZINTFIMAGE__COPYPIXELS,  line 3578 of intfgraphics.pas
  $0815728F  TCUSTOMIMAGELIST__INTERNALSETIMAGE,  line 854
of ./include/imglist.inc
  $08155F28  TCUSTOMIMAGELIST__INTERNALINSERT,  line 228
of ./include/imglist.inc
  $08156D80  TCUSTOMIMAGELIST__INSERT,  line 698
of ./include/imglist.inc
  $08155AB9  TCUSTOMIMAGELIST__ADD,  line 66 of ./include/imglist.inc
  $08155D41  TCUSTOMIMAGELIST__ADDLAZARUSRESOURCE,  line 162
of ./include/imglist.inc
  $08649255  TCODEEXPLORERVIEW__CODEEXPLORERVIEWCREATE,  line 415 of
codeexplorer.pas
  $080840F3  TCUSTOMFORM__DOCREATE,  line 876
of ./include/customform.inc
  $08082797  TCUSTOMFORM__AFTERCONSTRUCTION,  line 79
of ./include/customform.inc
  $08088A0E  TFORM__CREATE,  line 2849 of ./include/customform.inc
  $080BADA8  TMAINIDE__DOSHOWCODEEXPLORER,  line 9096 of main.pp
  $080BB002  TMAINIDE__CREATEIDEWINDOW,  line 9156 of main.pp
  $0837FE31  TIDEWINDOWCREATORLIST__GETFORM,  line 1429 of
idewindowintf.pas
  $083801C5  TIDEWINDOWCREATORLIST__RESTORESIMPLELAYOUT,  line 1497 of
idewindowintf.pas



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] AV on Lazarus startup

2010-10-26 Thread zeljko
On Tuesday 26 October 2010 11:20, Darius Blaszyk wrote:
 I get the following AV introduced by rev 27870.

Are you sure  that 27870 introduced such bug ? As I can see your version is 
27869 ?!?

 Lazarus 0.9.29 r27869M FPC 2.4.0 i386-linux-gtk 2 (beta)

zeljko

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] AV on Lazarus startup

2010-10-26 Thread Darius Blaszyk

I'm sure. I'm now at rev 27869, because that didn't give me the AV.
Updating to 27870 gave me the AV which I mentioned.

Darius


On Tue, 2010-10-26 at 13:04 +0200, zeljko wrote:
 On Tuesday 26 October 2010 11:20, Darius Blaszyk wrote:
  I get the following AV introduced by rev 27870.
 
 Are you sure  that 27870 introduced such bug ? As I can see your version is 
 27869 ?!?
 
  Lazarus 0.9.29 r27869M FPC 2.4.0 i386-linux-gtk 2 (beta)
 
 zeljko
 
 --
 ___
 Lazarus mailing list
 Lazarus@lists.lazarus.freepascal.org
 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] AV on Lazarus startup

2010-10-26 Thread zeljko
On Tuesday 26 October 2010 13:35, Darius Blaszyk wrote:
 I'm sure. I'm now at rev 27869, because that didn't give me the AV.
 Updating to 27870 gave me the AV which I mentioned.

Sorry, you're right. Seem that Types.IntersectRect() returns wrong result but, 
independent test says that it's ok ... so I don't understand what's problem.
Imagine this:
ADest := Rect(0, 0, 24, 24);
Src1 := Rect(0, 0, 24, 24);
Src2 := Rect(0, 0, 22, 22);
1.IntersectRect Dest = 0, 0, 24, 24
2.Old (from GraphType) returns Dest = 0,0,22,22
So , now I'm wondering what's up here ...

zeljko

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] AV on Lazarus startup

2010-10-26 Thread zeljko
On Tuesday 26 October 2010 13:35, Darius Blaszyk wrote:
 I'm sure. I'm now at rev 27869, because that didn't give me the AV.
 Updating to 27870 gave me the AV which I mentioned.

Fixed in r 27879


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] AV on Lazarus startup

2010-10-26 Thread Darius Blaszyk
On Tue, 2010-10-26 at 13:58 +0200, zeljko wrote:
 On Tuesday 26 October 2010 13:35, Darius Blaszyk wrote:
  I'm sure. I'm now at rev 27869, because that didn't give me the AV.
  Updating to 27870 gave me the AV which I mentioned.
 
 Fixed in r 27879

Indeed. Thanks for that.

Darius


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus