<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div class="" style="word-wrap:break-word; line-break:after-white-space">Dear XCB developers,
<div class=""><br class="">
</div>
<div class="">following the upgrade to <span class="">lib</span><span class="">xcb </span><span class="">1.14, </span>we have now a crash in one of our tools (<a href="http://flair.web.cern.ch/flair/" class="">http://flair.web.cern.ch/flair/</a>)</div>
<div class="">with the crash report at the bottom of this email.</div>
<div class="">The problem appears at this line called in frame 11:</div>
<div class=""><span class="x_Apple-tab-span" style="white-space:pre"></span>XPutImage(self->display, self->pixmap, self->gc, self->ximage, 0, 0, 0, 0, width, height);</div>
<div class=""><br class="">
</div>
<div class="">Comparing with the libxcb 1.13, I managed to track down the issue to the variable “<span class="">total_read” defined in </span><span class="">xcbint.h.</span></div>
<div class="">Indeed, with the attached patch the crash disappears.</div>
<div class=""><br class="">
</div>
<div class="">Do you have any suggestions how to fix the problem?</div>
<div class=""><br class="">
</div>
<div class="">For sake of completeness, libxcb is installed via MacPorts.</div>
<div class="">If needed, I can provide additional details.</div>
<div class=""><br class="">
</div>
<div class="">Thanks a lot for your help</div>
<div class=""><br class="">
</div>
<div class="">
<div dir="auto" class="" style="color:rgb(0,0,0); letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; word-wrap:break-word; line-break:after-white-space">
<div dir="auto" class="" style="color:rgb(0,0,0); letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; word-wrap:break-word; line-break:after-white-space">
<div dir="auto" class="" style="color:rgb(0,0,0); letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; word-wrap:break-word; line-break:after-white-space">
<div dir="auto" class="" style="color:rgb(0,0,0); letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; word-wrap:break-word; line-break:after-white-space">
<div class="" style="text-align:start; text-indent:0px; word-wrap:break-word; line-break:after-white-space">
<div class="" style="text-align:start; text-indent:0px; line-height:normal">
<div class="" style=""><font face="Calibri, sans-serif" class="">————————————</font><span class="" style="font-family:Calibri,sans-serif">——</span><font face="Calibri, sans-serif" class="">—</font><span class="" style="font-family:Calibri,sans-serif">——</span><font face="Calibri, sans-serif" class="">—</font><span class="" style="font-family:Calibri,sans-serif">——</span><font face="Calibri, sans-serif" class="">—</font><span class="" style="font-family:Calibri,sans-serif">—</span></div>
</div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt"><span lang="FR-CH" class="" style="font-family:Calibri,sans-serif"><b class="">Luigi Salvatore ESPOSITO<span class="x_Apple-converted-space"> </span></b></span><span class="" style="color:rgb(0,85,160); font-family:HelveticaNeue">-
CERN-EN/STI</span></div>
<div class="" style="margin:0in 0in 0.0001pt"><span lang="FR" class="" style="color:rgb(0,85,160); font-family:HelveticaNeue">Esplanade</span><span lang="FR" class="" style="color:rgb(0,85,160); font-family:HelveticaNeue"> des Particules</span></div>
<div class="" style="margin:0in 0in 0.0001pt"><font face="HelveticaNeue" color="#0055a0" class=""><span class="" style="font-style:normal"><span lang="FR-CH" class="">CH-1211 Geneva 23</span></span></font><span lang="FR-CH" class="" style="font-family:Calibri,sans-serif; color:rgb(31,73,125)"></span></div>
<div class="" style="margin:0in 0in 0.0001pt"><font face="HelveticaNeue" color="#0055a0" class=""><span lang="FR-CH" class="">O </span><span class="" style="orphans:2; widows:2">+41 22 76 63419</span></font></div>
<div class="" style="margin:0in 0in 0.0001pt; font-family:Calibri,sans-serif"><font face="Calibri, sans-serif" class="">————————————</font>——<font face="Calibri, sans-serif" class="">—</font>——<font face="Calibri, sans-serif" class="">—</font>——<font face="Calibri, sans-serif" class="">—</font>—</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class=""><br class="">
</div>
<div class="">
<div class=""></div>
</div>
</div>
<div class="" style="word-wrap:break-word; line-break:after-white-space">
<div class="">
<div class=""></div>
<div class=""><br class="">
</div>
<div class="">
<div class="">Thread 0 Crashed:: Dispatch queue: com.apple.main-thread</div>
<div class="">0 libsystem_kernel.dylib <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x00007fff6da8733a __pthread_kill + 10</div>
<div class="">1 libsystem_pthread.dylib <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x00007fff6db43e60 pthread_kill + 430</div>
<div class="">2 libsystem_c.dylib <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x00007fff6da0e808 abort + 120</div>
<div class="">3 libsystem_c.dylib <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x00007fff6da0dac6 __assert_rtn + 314</div>
<div class="">4 libxcb.1.dylib <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x00000001147c7746 _xcb_in_wake_up_next_reader + 89</div>
<div class="">5 libxcb.1.dylib <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x00000001147c6dd6 _xcb_out_send + 125</div>
<div class="">6 libxcb.1.dylib <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x00000001147c6d3e xcb_writev + 68</div>
<div class="">7 libX11.6.dylib <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x00000001157fe8f9 _XSend + 315</div>
<div class="">8 libX11.6.dylib <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x00000001157f42c7 PutSubImage + 1924</div>
<div class="">9 libX11.6.dylib <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x00000001157f3c8b PutSubImage + 328</div>
<div class="">10 libX11.6.dylib <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x00000001157f385f XPutImage + 424</div>
<div class=""><b class="">11 geoviewer.so <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x0000000115689233 Viewer_expose(ViewerObject*, _object*) + 163</b></div>
<div class="">12 org.python.python <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x000000010df3eb26 cfunction_call_varargs + 319</div>
<div class="">13 org.python.python <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x000000010dfd6b72 _PyEval_EvalFrameDefault + 9050</div>
<div class="">14 org.python.python <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x000000010dfddeb9 _PyEval_EvalCodeWithName + 2107</div>
<div class="">15 org.python.python <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x000000010df3ef21 _PyFunction_Vectorcall + 217</div>
<div class="">16 org.python.python <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x000000010df40f56 method_vectorcall + 372</div>
<div class="">17 org.python.python <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x000000010df3e80d PyVectorcall_Call + 108</div>
<div class="">18 _tkinter.cpython-38-darwin.so <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x000000010e8c0012 PythonCmd + 205</div>
<div class="">19 libtcl8.6.dylib <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x000000010e8ddaee TclNRRunCallbacks + 79</div>
<div class="">20 libtcl8.6.dylib <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x000000010e8ded06 TclEvalEx + 1987</div>
<div class="">21 libtcl8.6.dylib <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x000000010e8de53d Tcl_EvalEx + 26</div>
<div class="">22 libtk8.6.dylib <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x000000010ebff362 Tk_BindEvent + 5754</div>
<div class="">23 libtk8.6.dylib <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x000000010ec04fe9 TkBindEventProc + 334</div>
<div class="">24 libtk8.6.dylib <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x000000010ec0c523 Tk_HandleEvent + 997</div>
<div class="">25 libtk8.6.dylib <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x000000010ec0cc0c WindowEventProc + 96</div>
<div class="">26 libtcl8.6.dylib <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x000000010e985e78 Tcl_ServiceEvent + 136</div>
<div class="">27 libtcl8.6.dylib <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x000000010e98606d Tcl_DoOneEvent + 153</div>
<div class="">28 _tkinter.cpython-38-darwin.so <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x000000010e8be324 _tkinter_tkapp_mainloop + 342</div>
<div class="">29 org.python.python <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x000000010df45d4e method_vectorcall_FASTCALL + 250</div>
<div class="">30 org.python.python <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x000000010dfdd2f5 call_function + 346</div>
<div class="">31 org.python.python <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x000000010dfd66cd _PyEval_EvalFrameDefault + 7861</div>
<div class="">32 org.python.python <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x000000010dfddeb9 _PyEval_EvalCodeWithName + 2107</div>
<div class="">33 org.python.python <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x000000010df3ef21 _PyFunction_Vectorcall + 217</div>
<div class="">34 org.python.python <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x000000010df40e69 method_vectorcall + 135</div>
<div class="">35 org.python.python <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x000000010dfdd2f5 call_function + 346</div>
<div class="">36 org.python.python <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x000000010dfd66f0 _PyEval_EvalFrameDefault + 7896</div>
<div class="">37 org.python.python <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x000000010dfddeb9 _PyEval_EvalCodeWithName + 2107</div>
<div class="">38 org.python.python <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x000000010dfd4790 PyEval_EvalCode + 42</div>
<div class="">39 org.python.python <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x000000010e00c57d run_eval_code_obj + 102</div>
<div class="">40 org.python.python <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x000000010e00b9cb run_mod + 82</div>
<div class="">41 org.python.python <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x000000010e00a8a5 PyRun_FileExFlags + 160</div>
<div class="">42 org.python.python <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x000000010e009f89 PyRun_SimpleFileExFlags + 271</div>
<div class="">43 org.python.python <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x000000010e021834 Py_RunMain + 1836</div>
<div class="">44 org.python.python <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x000000010e021b90 pymain_main + 370</div>
<div class="">45 org.python.python <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x000000010e021be5 Py_BytesMain + 42</div>
<div class="">46 libdyld.dylib <span class="x_Apple-tab-span" style="white-space:pre">
</span>0x00007fff6d93fcc9 start + 1</div>
</div>
<br class="">
</div>
</div>
</body>
</html>