This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gtk+ applications crash when filechooser opened


I recently started trying to port a gtk program to cygwin, and have found that my program crashes everytime it tries to open a file chooser widget.

This doesn't happen with just my own programs, but also with gvim and emacs-x11. Either will start up ok, but both crash as soon as File->Open is selected.

I see this problem with both the gtk+-2 and gtk3 versions of my program. I've done a little digging with the debugger, and see that the crash happens deep in glib at this line:

  return pthread_getspecific (*g_private_get_impl (key));

The g_private_get_impl call completes ok, but pthread_getspecific causes a pretty dramatic crash:

g_private_get (key=0x2003c5d8, key@entry=0x6acb1260 <private_thread_memory>) at
/usr/src/debug/glib2.0-2.36.4-4/glib/gthread-posix.c:1005
1005    }
(gdb) step
1004      return pthread_getspecific (*g_private_get_impl (key));
(gdb) step
/netrel/src/gdb-7.6.50-4/gdb/infrun.c:1942: internal-error: resume:
Assertion `pc_in_thread_step_range (pc, tp)' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)

I notice from a previous post on the list that someone else has seen similar problems. I also saw that there was a new glib version on Dec 6. Unfortunately, reverting to libglib2.0_0-2.36.4-3 (or -1) from -4 doesn't seem to help at all.

I've attached output of cygcheck.

Any advice would be appreciated,

Carl



Attachment: cygcheck.out
Description: Text document

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]