Opened 6 years ago

Last modified 5 years ago

#46681 assigned defect

crash in glx_display_free when closing application connected to remote XOrg.org server

Reported by: RJVB (René Bertin) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: mesa

Description

I've built the Qt 5.4.0 xcb platform plugin, which allows Qt applications to connect and render to (remote) X11 servers. After testing and quitting Qt's own Assistant application, I got the following crash:

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000010

VM Regions Near 0x10:
--> 
    __TEXT                 000000010d1e4000-000000010d2d5000 [  964K] r-x/rwx SM=COW  /Applications/MacPorts/*/Assistant.app/Contents/MacOS/Assistant

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libGL.1.dylib                 	0x00000001178c5897 glx_display_free + 14
1   libGL.1.dylib                 	0x00000001178c57cc __glXCloseDisplay + 111
2   libX11.6.dylib                	0x0000000117bce8da XCloseDisplay + 156
3   libqxcb.dylib                 	0x0000000117703d8f QXcbConnection::~QXcbConnection() + 399 (qxcbconnection.cpp:449)
4   libqxcb.dylib                 	0x00000001177041ae QXcbConnection::~QXcbConnection() + 14 (qxcbconnection.cpp:415)
5   libqxcb.dylib                 	0x000000011770824e QXcbIntegration::~QXcbIntegration() + 78 (qlist.h:262)
6   libqxcb.dylib                 	0x000000011770832e QXcbIntegration::~QXcbIntegration() + 14 (qxcbintegration.cpp:169)
7   org.qt-project.QtGui          	0x000000010dcad17e QGuiApplicationPrivate::~QGuiApplicationPrivate() + 366
8   org.qt-project.QtWidgets      	0x000000010d40dea0 QApplicationPrivate::~QApplicationPrivate() + 176
9   org.qt-project.QtWidgets      	0x000000010d40dece QApplicationPrivate::~QApplicationPrivate() + 14
10  org.qt-project.QtCore         	0x000000010e5114d7 QObject::~QObject() + 1879
11  org.qt-project.QtGui          	0x000000010dcaa613 QGuiApplication::~QGuiApplication() + 499
12  org.qt-project.QtWidgets      	0x000000010d40ff60 QApplication::~QApplication() + 880
13  org.qt-project.QtWidgets      	0x000000010d40ffbe QApplication::~QApplication() + 14
14  org.qt-project.assistant      	0x000000010d205727 main + 10727 (qscopedpointer.h:54)
15  org.qt-project.assistant      	0x000000010d1e8b74 start + 52

Full backtrace included (minus all loaded shared objects outside of ${prefix})

Attachments (1)

crash-in-glx_display_free.log (17.7 KB) - added by RJVB (René Bertin) 6 years ago.

Download all attachments as: .zip

Change History (5)

Changed 6 years ago by RJVB (René Bertin)

comment:1 Changed 6 years ago by RJVB (René Bertin)

In case that changes anything: the X11 connection was over a tunnel created with slogin -X

comment:2 Changed 6 years ago by mf2k (Frank Schima)

Cc: jeremyhu@… removed
Keywords: crash removed
Owner: changed from macports-tickets@… to jeremyhu@…

comment:3 Changed 6 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Status: newassigned

comment:4 Changed 5 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Has dupe #47303

Note: See TracTickets for help on using tickets.