[Interest] segmentation fault at graphics_system_name.isEmpty()

Thiago Macieira thiago.macieira at intel.com
Thu Jul 23 20:09:30 CEST 2015


On Thursday 23 July 2015 10:02:03 manju goudar wrote:
> Hi all,
> 
> My Target is SPARC little-endian and Linux 3.4.

SPARC can run on little-endian mode? Wow, I didn't know that!

> I have ported Qt 4.8.6 to sparc linux.as per my knowledge Sparc and Linux
> support is not available in qws folder.

Why are you bothering with Qt 4.8? Shouldn't you start with 5.5?

> ./analogclock -qws -display VNC:0
> 
> analogclock[120]: segfault at 8 ip 5019b06c (rpc f000eff0) sp ef82cae8
> error 30001 in libQtGui.so.4.8.6[50017000+10cb000]
> Segmentation fault
> 
> I am getting segmentation fault when graphics_system_name.isEmpty(); in
> src/gui/kernel/qapplication.cpp file is invoked.
> 
> After debugging I found that global "QString
> QApplicationPrivate::graphics_system_name;" object is created successfully
> with valid address 0x5143a400.
> However I could not access any QString member functions such as
> (graphics_system_name.data(), graphics_system_name.size().....)

Please give us a full gdb backtrace of the crash.

I'd also like you to do in gdb after it crashes:
	print *QApplicationPrivate::graphics_system_name.d

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list