Recent

Author Topic: Gdk-Error  (Read 7538 times)

Anonymous

  • Guest
Gdk-Error
« on: March 06, 2006, 12:01:06 pm »
Is there any news about these error messages on Lazarus startup:

Gdk-ERROR **: BadAlloc (insufficient resources for operation)
  serial 7369 error_code 11 request_code 53 minor_code 0
Gdk-ERROR **: BadDrawable (invalid Pixmap or Window parameter)
  serial 7370 error_code 9 request_code 62 minor_code 0


Causing Lazarus to exit.

I know this has been reported before, but I haven't seen any good answers so far.

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2671
RE: Gdk-Error
« Reply #1 on: March 06, 2006, 01:27:40 pm »
What version of lazarus, what version of OS, what version of gtk/gdk/glib/gdk-pixbuf, what version of X
Please provide more info.
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

Anonymous

  • Guest
RE: Gdk-Error
« Reply #2 on: March 06, 2006, 04:04:34 pm »
It's a bit hard to say which configuartoin casues the problem to occur, but it's always reproducible, when it doesn't work.

I had the problem on my old notebook first. This was SuSE 9.0 / KDE (no special themes). It did work on IceWM though, and works on KDE too on this machine since I've upgraded to SuSE 10.

But I have exactly  the same error, when I try to apply e.g. the theme XLiquid_GTK-1.0.3 on my desktop machine.
SuSE 10, Lazarus 0.9.13. (gtk/gdk/glib/gdk-pixbuf standard SuSE 10 DVD installation)

Others have reported this too:

http://www.lazarus.freepascal.org/index.php?name=PNphpBB2&file=viewtopic&t=1496&highlight=gdkerror&sid=6d3abe0bdfcf56094ff177ef0efc3ba2

http://www.lazarus.freepascal.org/index.php?name=PNphpBB2&file=viewtopic&t=1984&highlight=gdkerror&sid=6d3abe0bdfcf56094ff177ef0efc3ba2

Zoun

  • Newbie
  • Posts: 1
RE: Gdk-Error
« Reply #3 on: March 06, 2006, 11:10:09 pm »
Same problem I try changing the theme of gnome (I'm under Ubuntu Breezy and Dapper) there is the different GDK erros I received.
I test on stable and Dapper install but both make me impossible to launch a program few complicate (a button it passed but when I put a TPicture or a StringGrind Lazarus EXIT and impossible to run compiled program. I try also both daily and stable release but nothing is good. I can write my program but can't see it in action. I hope a soon fix because it is useless if we can't play with our program.

[TDebugManager.OnDebuggerChangeState] state: dsRun
[TMainIDE.DoRunProject] END
Gdk-ERROR **: BadWindow (invalid Window parameter)
  serial 22731 error_code 3 request_code 18 minor_code 0

---------------------------
[TMainIDE.DoRunProject] END
Xlib: unexpected async reply (sequence 0x47c9)!
Xlib: unexpected async reply (sequence 0x47ca)!

Gdk-WARNING **: GdkWindow 0x3600211 unexpectedly destroyed
Gdk-ERROR **: BadDrawable (invalid Pixmap or Window parameter)
  serial 18380 error_code 9 request_code 70 minor_code 0
Gdk-ERROR **: BadDrawable (invalid Pixmap or Window parameter)
  serial 18386 error_code 9 request_code 66 minor_code 0
--------------
[TMainIDE.DoRunProject] END
Gdk-ERROR **: BadWindow (invalid Window parameter)
  serial 21160 error_code 3 request_code 18 minor_code 0
zoun@linux:/usr/bin$ sudo lazarus

Anonymous

  • Guest
RE: Gdk-Error
« Reply #4 on: March 07, 2006, 02:03:26 am »
Funny thing is: I can start all my Lazarus created apps (not as complex a Lazarus) with themes, but not Lazarus itself.
It seems that this is a problem "on the edge" and hard to find out. It's probably not a problem caused by Lazarus only, but a problem
of a certain cooperation of the Lazarus-IDE and GTK.
I can't imagine that my desktop computer hasn't got enough "resources" for running the Lazarus-IDE.
I can run all applications from Monodevelop, OpenOffice, Eclipse, KDevelop, Gimp to Kylix, even on my notebook, where it never worked (even without themes)  on SuSE 9.0.

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2671
RE: Gdk-Error
« Reply #5 on: March 07, 2006, 04:18:14 pm »
THis problem exists for a while and is hard to track.
It looks like it has something to do with the combination of X, WM, GTK, Theme and it is very hard to reproduce (for us devels). I've had it sometimes in the past, but then not within a debugger. After some update of some libs, the problem went away. (since it part of a RH up2date, I can't remember which)
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

 

TinyPortal © 2005-2018