[MacPorts] #51911: libepoxy: crash in gtk_init_check when calling epoxy_glx_version

MacPorts noreply at macports.org
Tue Jul 26 06:47:27 PDT 2016


#51911: libepoxy: crash in gtk_init_check when calling epoxy_glx_version
-----------------------+----------------------
  Reporter:  manus@…   |      Owner:  devans@…
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.4
Resolution:            |   Keywords:
      Port:  libepoxy  |
-----------------------+----------------------
Description changed by devans@…:

Old description:

> I'm migrating an application from GTK2 to GTK3 and while it launches when
> using XQuartz, it fails when trying to use an X server running on a
> different machine (Windows using Xming 7.5.010).
>
> The trace is:
>
> (lldb) bt
> * thread #1: tid = 0x4f66, 0x00007fff99272132 libsystem_c.dylib`strlen +
> 18, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS
> (code=1, address=0x0)
>   * frame #0: 0x00007fff99272132 libsystem_c.dylib`strlen + 18
>     frame #1: 0x00007fff992c4d2f libsystem_c.dylib`vsscanf_l + 357
>     frame #2: 0x00007fff992b5053 libsystem_c.dylib`sscanf + 186
>     frame #3: 0x0000000111fe97b0 libepoxy.0.dylib`epoxy_glx_version + 55
>     frame #4: 0x000000011102c286 libgdk-3.0.dylib`gdk_x11_screen_init_gl
> + 132
>     frame #5: 0x000000011102c6bc
> libgdk-3.0.dylib`_gdk_x11_screen_update_visuals_for_gl + 398
>     frame #6: 0x0000000111035065
> libgdk-3.0.dylib`_gdk_x11_screen_init_visuals + 1114
>     frame #7: 0x0000000111031862 libgdk-3.0.dylib`_gdk_x11_screen_new +
> 244
>     frame #8: 0x0000000111024004 libgdk-3.0.dylib`_gdk_x11_display_open +
> 384
>     frame #9: 0x0000000111001b36
> libgdk-3.0.dylib`gdk_display_manager_open_display + 383
>     frame #10: 0x0000000110b1d8a9 libgtk-3.0.dylib`gtk_init_check + 19
>     frame #11: 0x000000010b7739e1 ec`F2124_36756 + 465
>     frame #12: 0x000000010b74baad ec`F2124_36637 + 2381
>     frame #13: 0x000000010b71857d ec`F2118_36485 + 2061
>     frame #14: 0x000000010b715c9c ec`F2118_36473 + 2028
>     frame #15: 0x000000010bc9eb1d ec`F1910_33151 + 1197
>     frame #16: 0x000000010bc43b4d ec`F1896_32888 + 701
>     frame #17: 0x00000001078d8e25 ec`F3984_69385 + 997
>     frame #18: 0x000000010be5a2b4 ec`F1841_30960 + 2356
>     frame #19: 0x000000010e03b7b7 ec`emain + 343
>     frame #20: 0x000000010e04d894 ec`main + 164
>     frame #21: 0x00007fff9517f5ad libdyld.dylib`start + 1

New description:

 I'm migrating an application from GTK2 to GTK3 and while it launches when
 using XQuartz, it fails when trying to use an X server running on a
 different machine (Windows using Xming 7.5.010).

 The trace is:


 {{{
 (lldb) bt
 * thread #1: tid = 0x4f66, 0x00007fff99272132 libsystem_c.dylib`strlen +
 18, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1,
 address=0x0)
   * frame #0: 0x00007fff99272132 libsystem_c.dylib`strlen + 18
     frame #1: 0x00007fff992c4d2f libsystem_c.dylib`vsscanf_l + 357
     frame #2: 0x00007fff992b5053 libsystem_c.dylib`sscanf + 186
     frame #3: 0x0000000111fe97b0 libepoxy.0.dylib`epoxy_glx_version + 55
     frame #4: 0x000000011102c286 libgdk-3.0.dylib`gdk_x11_screen_init_gl +
 132
     frame #5: 0x000000011102c6bc
 libgdk-3.0.dylib`_gdk_x11_screen_update_visuals_for_gl + 398
     frame #6: 0x0000000111035065
 libgdk-3.0.dylib`_gdk_x11_screen_init_visuals + 1114
     frame #7: 0x0000000111031862 libgdk-3.0.dylib`_gdk_x11_screen_new +
 244
     frame #8: 0x0000000111024004 libgdk-3.0.dylib`_gdk_x11_display_open +
 384
     frame #9: 0x0000000111001b36
 libgdk-3.0.dylib`gdk_display_manager_open_display + 383
     frame #10: 0x0000000110b1d8a9 libgtk-3.0.dylib`gtk_init_check + 19
     frame #11: 0x000000010b7739e1 ec`F2124_36756 + 465
     frame #12: 0x000000010b74baad ec`F2124_36637 + 2381
     frame #13: 0x000000010b71857d ec`F2118_36485 + 2061
     frame #14: 0x000000010b715c9c ec`F2118_36473 + 2028
     frame #15: 0x000000010bc9eb1d ec`F1910_33151 + 1197
     frame #16: 0x000000010bc43b4d ec`F1896_32888 + 701
     frame #17: 0x00000001078d8e25 ec`F3984_69385 + 997
     frame #18: 0x000000010be5a2b4 ec`F1841_30960 + 2356
     frame #19: 0x000000010e03b7b7 ec`emain + 343
     frame #20: 0x000000010e04d894 ec`main + 164
     frame #21: 0x00007fff9517f5ad libdyld.dylib`start + 1

 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/51911#comment:4>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list