X Window System error lazarus / 32-Linux ---------------------------------------------------------------------- Timewarp · 2014-07-30 10:01 png testsuite (tools menu) crashes if select "basn0g01 - black & white" Same happens if try to load that png to TImage component. Xubuntu 14.04, Lazarus svn / FPC2.6.4. (in windows it's fine). Others see this? Code: [Select]timewarp@tw:~/lazarus/test/manual/png$ ./project1 The program 'project1' received an X Window System error. This probably reflects a bug in the program. The error was 'BadMatch (invalid parameter attributes)'.   (Details: serial 3242 error_code 8 request_code 62 minor_code 0)   (Note to programmers: normally, X errors are reported asynchronously;    that is, you will receive the error a while after causing it.    To debug your program, run it with the --sync command line    option to change this behavior. You can then get a meaningful    backtrace from your debugger if you break on the gdk_x_error() function.) timewarp@tw:~/lazarus/test/manual/png$ ---------------------------------------------------------------------- Graeme · 2014-07-30 18:41 Can you post some sample code and the test image. ---------------------------------------------------------------------- Timewarp · 2014-07-30 19:07 It's in Lazarus testsuite, file: ..\Lazarus\test\manual\png\testsuite\basn0g01.png ---------------------------------------------------------------------- Graeme · 2014-07-30 20:00 Quote from: Timewarp on July 30, 2014, 09:07:20 pmIt's in Lazarus testsuite, file: ..\Lazarus\test\manual\png\testsuite\basn0g01.png Thanks. Yes I get the same error as you. I then tested with fpGUI's image loading support, which uses FPC's fcl-image for PNG images. I could load and display the basn0g01.png file without problems. See attached screenshot. So it seems there must be a bug in LCL-GTK, or in LCL itself. I haven't tested LCL-Qt as I don't have it set up here. I suggest you file a bug report in Mantis. ---------------------------------------------------------------------- jc99 · 2015-06-04 12:43 Did you file a report Yet ? otherwise see : http://bugs.freepascal.org/view.php?id=21589 and http://bugs.freepascal.org/view.php?id=28098