id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,port 46681,crash in glx_display_free when closing application connected to remote XOrg.org server,RJVB,jeremyhu,"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})",defect,closed,Normal,,ports,2.3.3,fixed,,,mesa