New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #32233 (closed defect: duplicate)

Opened 18 months ago

Last modified 18 months ago

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@…, dports@…
Port: sshfs, glib2

Description (last modified by ryandesign@…) (diff)

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

comment:1 Changed 18 months ago by ryandesign@…

  • Cc dports@… added
  • Keywords sshfs, glib2 removed
  • Port changed from sshfs to sshfs, glib2
  • Description modified (diff)

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 18 months ago by dernic9@…

Yes, that helped. Thank you!

comment:3 Changed 18 months ago by ryandesign@…

  • Status changed from new to closed
  • Resolution set to duplicate

Duplicate of #32202.

Note: See TracTickets for help on using tickets.