← Back to team overview

tiomap-dev team mailing list archive

[Bug 1015292] Re: Snowshoe fails with QT5 with a segmentation fault while starting the application

 

The seg fault cause:

Breakpoint 1, QXcbConnection::initializeXFixes (this=0x1fbc88) at qxcbconnection.cpp:1042
1042	{
(gdb) l
1037	    xcb_get_input_focus_cookie_t cookie = Q_XCB_CALL(xcb_get_input_focus(xcb_connection()));
1038	    free(xcb_get_input_focus_reply(xcb_connection(), cookie, 0));
1039	}
1040	
1041	void QXcbConnection::initializeXFixes()
1042	{
1043	    xcb_generic_error_t *error = 0;
1044	    const xcb_query_extension_reply_t *reply = xcb_get_extension_data(m_connection, &xcb_xfixes_id);
1045	    xfixes_first_event = reply->first_event;
1046	
(gdb) n
[Thread 0xb10b0460 (LWP 8635) exited]
1044	    const xcb_query_extension_reply_t *reply = xcb_get_extension_data(m_connection, &xcb_xfixes_id);
(gdb) p m_connection
$1 = (xcb_connection_t *) 0x1fc9b0
(gdb) p xcb_xfixes_id
$2 = {name = 0xb2433b28 "XFIXES", global_id = 2}
(gdb) n
1045	    xfixes_first_event = reply->first_event;
(gdb) p reply
$3 = (const xcb_query_extension_reply_t *) 0x0

Qt expects the first call to 'xcb_get_extension_data' to return a valid
pointer, but in this case it's just returning NULL, breaking it up later
on.

-- 
You received this bug notification because you are a member of TI OMAP
Developers, which is subscribed to ubuntu-omap4-extras-graphics.
https://bugs.launchpad.net/bugs/1015292

Title:
  Snowshoe fails with QT5 with a segmentation fault while starting the
  application

Status in Ubuntu OMAP4 graphics addons:
  New
Status in “pvr-omap4” package in Ubuntu:
  Confirmed

Bug description:
  While testing Qt 5 support on Ubuntu, and validating the support for
  OpenGL ES2.0 with Pandaboard, I couldn't start Snowshoe (Qt 5 - webkit
  based browser) as it gives a segmentation fault and also breaks the
  X11 server (with the pvr driver).

  After a quick check with Snowball (Mali 400), it worked properly and
  as expected, so this could probably be related with the current SGX
  driver available for Pandaboard.

  How to reproduce the issue:
  1) Enable https://launchpad.net/~canonical-qt5-edgers/+archive/qt5-daily
  2) Install 'snowshoe-mobile' package
  3) Run snowshoe: $ PATH=/opt/qt5/bin:$PATH; snowshoe

  This is with Ubuntu 12.04 with pvr-omap4 1.7.10.0.1.21-0ubuntu1 (from
  archive) and also 1.7.15.0.1.57-1 from TI's PPA.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-omap4-extras-graphics/+bug/1015292/+subscriptions


References