LGD 2.2 segmentation fault

As I am also experiencing the Qt xcb problem described here I am trying to start my application using LD_PRELOAD:

LD_PRELOAD=~/.tgd/libs/libNvidia_gfx_debugger.so ./myApplication

However this results in a segfault and the following backtrace:

#3 0x00007faee4bad200 in () at /lib64/libc.so.6
#4 0x00007faee5c68144 in () at /usr/X11R6/lib64/libGL.so.1
#5 0x00007faeec30ddd5 in () at /home/esger/.tgd/libs/libNvidia_gfx_debugger.so
#6 0x00007faeeb927167 in () at /home/esger/.tgd/libs/libNvidia_gfx_debugger.so
#7 0x00007faeeb802557 in () at /home/esger/.tgd/libs/libNvidia_gfx_debugger.so
#8 0x00007faeebb3ee49 in () at /home/esger/.tgd/libs/libNvidia_gfx_debugger.so
#9 0x00007faeea8528e6 in GLTexture::create(Image&, int, int) (this=0x24139a0, image=
…, flags=1056992, skip_mipmaps=0)

I don’t think my application (using Unigine engine) is doing anything illegal. Without LGD the application runs fine without any problems.

Hi esger.abbink,

Could you please provide more information?

  • Linux distribution, version
  • GPU
  • Driver version
  • Shell type
  • LGD mode (x86 or x64)
  • your application’s bitness
  • your application’s Qt version


of course, apologies for not including it right away:

distribution: openSuSe Leap 42.1
gpu: 1060 mobile (MSI GS63VR)
driver version: 367.57
shell: bash
LGD mode: x64
application: x64
application Qt: 5.5 (some packages 5.5.0, some 5.5.1)

Thanks for the info and sorry for late reply.
Is it possible for you to provide a sample for us to reproduce this issue?


do you mean a small source sample, or a binary one? A source sample would probably be difficult as the crash occurs in (3rd party) engine code.

Any sample that can reproduce this issue will do.
If you don’t want to post your sample here in public, we can message you a private ftp to upload your application.