[MacPorts] #32233: sshfs crashes in glib2's g_thread_init_glib

MacPorts noreply at macports.org
Thu Nov 24 09:02:48 PST 2011


#32233: sshfs crashes in glib2's g_thread_init_glib
-------------------------------+--------------------------------------------
 Reporter:  dernic9@…          |       Owner:  macports-tickets@…                   
     Type:  defect             |      Status:  new                                  
 Priority:  Normal             |   Milestone:                                       
Component:  ports              |     Version:  2.0.3                                
 Keywords:                     |        Port:  sshfs, glib2                         
-------------------------------+--------------------------------------------
Changes (by ryandesign@…):

  * keywords:  sshfs, glib2 =>
 * cc: dports@… (added)
  * port:  sshfs => sshfs, glib2


Old description:

> Ports build correctly, but the sshfs binary crashes immediately, even
> when called without parameters. gdb says:
> #0  0x00007fff89c35f91 in pthread_mutex_lock ()
> #1  0x0000000100055369 in g_futex_wait ()
> #2  0x000000010005530e in g_bit_lock ()
> #3  0x00000001000a691e in g_static_private_set ()
> #4  0x0000000100062af1 in g_get_filename_charsets ()
> #5  0x0000000100062cf1 in _g_convert_thread_init ()
> #6  0x00000001000a5db5 in g_thread_init_glib ()
> #7  0x000000010000399b in main ()
>
> That is a crash in glib2 (@2.30.2_0+universal). Can anyone reproduce
> that? The crash does not happen with glib2 @2.28.8_0, so it is maybe a
> bug in glib2.
>
> MacOS 10.7.2
> Variant +universal

New description:

 Ports build correctly, but the sshfs binary crashes immediately, even when
 called without parameters. gdb says:
 {{{
 #0  0x00007fff89c35f91 in pthread_mutex_lock ()
 #1  0x0000000100055369 in g_futex_wait ()
 #2  0x000000010005530e in g_bit_lock ()
 #3  0x00000001000a691e in g_static_private_set ()
 #4  0x0000000100062af1 in g_get_filename_charsets ()
 #5  0x0000000100062cf1 in _g_convert_thread_init ()
 #6  0x00000001000a5db5 in g_thread_init_glib ()
 #7  0x000000010000399b in main ()
 }}}

 That is a crash in glib2 (@2.30.2_0+universal). Can anyone reproduce that?
 The crash does not happen with glib2 @2.28.8_0, so it is maybe a bug in
 glib2.

 MacOS 10.7.2 [[br]]
 Variant +universal

--

Comment:

 Do you have Xcode 4.2.x? If so, does rebuilding glib2 with llvm-gcc-4.2
 instead of clang fix it? See comment:ticket:32202:7.

-- 
Ticket URL: <https://trac.macports.org/ticket/32233#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list