Re: [lazarus] GTK2 Error: Failed to create handles
Yeah, it works again now. Thanks a lot for this. On Tue, 2007-09-04 at 01:15 +0200, Marc Weustink wrote: > > anyway, it should be fixed in r11930 > > correction r11932 fixes also some warnings > > Marc > > _ > To unsubscribe: mail [EMAIL PROTECTED] with > "unsubscribe" as the Subject >archives at http://www.lazarus.freepascal.org/mailarchives -- Linuxeries http://linuxeries.blogspot.com Toraka Bilaogy http://torakabilaogy.blogspot.com _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] GTK2 Error: Failed to create handles
Marc Weustink wrote: A.J. Venter wrote: There is something wrong in the newer lazarus revisions, it's in TBitmap.inc and it causes the GTK2 IDE to die on startup with the error "Failed to create handles" - ditto for any GTK2 apps compiled with it. I am now reverting to R11800 in the hope of just being able to go on with my project. Stupid gtk... The kind of error depends probably on the version of gtk you use. I got a sigabort (but that was pretty esy to debug) On gtk1 *and* gtk2, you're not allowed to unref (=free) a system visual. I knew about htis, but still called it. On gtk1 this is ignored, on gtk2 however, they improved this :( anyway, it should be fixed in r11930 correction r11932 fixes also some warnings Marc _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] GTK2 Error: Failed to create handles
Selon "A.J. Venter" <[EMAIL PROTECTED]>: > There is something wrong in the newer lazarus revisions, it's in > TBitmap.inc and it causes the GTK2 IDE to die on startup with the error > "Failed to create handles" - ditto for any GTK2 apps compiled with it. > I am now reverting to R11800 in the hope of just being able to go on > with my project. > > Here is a sample of the error messages: > [FORMS.PP] ExceptionOccurred > Sender=EReadError > Exception=Error reading AddCustomerForm.Icon.Data: Failed to create > handles > Stack trace: > $080A3B7F > $080A33DF > $0809A76B > $08115B91 INITCOMPONENT, line 2706 of lresources.pp > $08115A0F INITLAZRESOURCECOMPONENT, line 2725 of lresources.pp > $0810ED07 INITRESOURCECOMPONENT, line 526 of lresources.pp > $0807A4F2 TCUSTOMFORM__CREATE, line 1333 of ./include/customform.inc > $08080CC2 TAPPLICATION__CREATEFORM, line 1607 of > ./include/application.inc > $0805B893 main, line 18 of hawkstoneadmin.lpr > TApplication.HandleException Error reading AddCustomerForm.Icon.Data: > Failed to create handles > Stack trace: > $080A3B7F > $080A33DF > $0809A76B > $08115B91 INITCOMPONENT, line 2706 of lresources.pp > $08115A0F INITLAZRESOURCECOMPONENT, line 2725 of lresources.pp > $0810ED07 INITRESOURCECOMPONENT, line 526 of lresources.pp > $0807A4F2 TCUSTOMFORM__CREATE, line 1333 of ./include/customform.inc > $08080CC2 TAPPLICATION__CREATEFORM, line 1607 of > ./include/application.inc > $0805B893 main, line 18 of hawkstoneadmin.lpr > > > Hope somebody can help me here. > A.J. > > _ > To unsubscribe: mail [EMAIL PROTECTED] with > "unsubscribe" as the Subject >archives at http://www.lazarus.freepascal.org/mailarchives > Same error for me, the latest revision working with GTK2 is around 11893 / 95 _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] GTK2 Error: Failed to create handles
A.J. Venter wrote: There is something wrong in the newer lazarus revisions, it's in TBitmap.inc and it causes the GTK2 IDE to die on startup with the error "Failed to create handles" - ditto for any GTK2 apps compiled with it. I am now reverting to R11800 in the hope of just being able to go on with my project. Stupid gtk... The kind of error depends probably on the version of gtk you use. I got a sigabort (but that was pretty esy to debug) On gtk1 *and* gtk2, you're not allowed to unref (=free) a system visual. I knew about htis, but still called it. On gtk1 this is ignored, on gtk2 however, they improved this :( anyway, it should be fixed in r11930 Marc _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] GTK2 Error: Failed to create handles
There is something wrong in the newer lazarus revisions, it's in TBitmap.inc and it causes the GTK2 IDE to die on startup with the error "Failed to create handles" - ditto for any GTK2 apps compiled with it. I am now reverting to R11800 in the hope of just being able to go on with my project. Here is a sample of the error messages: [FORMS.PP] ExceptionOccurred Sender=EReadError Exception=Error reading AddCustomerForm.Icon.Data: Failed to create handles Stack trace: $080A3B7F $080A33DF $0809A76B $08115B91 INITCOMPONENT, line 2706 of lresources.pp $08115A0F INITLAZRESOURCECOMPONENT, line 2725 of lresources.pp $0810ED07 INITRESOURCECOMPONENT, line 526 of lresources.pp $0807A4F2 TCUSTOMFORM__CREATE, line 1333 of ./include/customform.inc $08080CC2 TAPPLICATION__CREATEFORM, line 1607 of ./include/application.inc $0805B893 main, line 18 of hawkstoneadmin.lpr TApplication.HandleException Error reading AddCustomerForm.Icon.Data: Failed to create handles Stack trace: $080A3B7F $080A33DF $0809A76B $08115B91 INITCOMPONENT, line 2706 of lresources.pp $08115A0F INITLAZRESOURCECOMPONENT, line 2725 of lresources.pp $0810ED07 INITRESOURCECOMPONENT, line 526 of lresources.pp $0807A4F2 TCUSTOMFORM__CREATE, line 1333 of ./include/customform.inc $08080CC2 TAPPLICATION__CREATEFORM, line 1607 of ./include/application.inc $0805B893 main, line 18 of hawkstoneadmin.lpr Hope somebody can help me here. A.J. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives