Opened 12 years ago

Closed 12 years ago

#32233 closed defect (duplicate)

sshfs crashes in glib2's g_thread_init_glib

Reported by: dernic9@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), drkp (Dan Ports)
Port: sshfs, glib2

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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

Change History (3)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: dports@… added
Description: modified (diff)
Keywords: sshfs glib2 removed
Port: glib2 added

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.

comment:2 Changed 12 years ago by dernic9@…

Yes, that helped. Thank you!

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

Duplicate of #32202.

Note: See TracTickets for help on using tickets.