On Sat, 2003-11-29 at 02:43, Armin Bauer wrote: > Hi. > > i was working on the some features for the palm plugin when i stumbled > across an error which i cant fix... > > i added a feature to detect if it actually is the correct Palm to sync > with. if it detects that a different palm has been connected it presents > the user a message box which will have two options: to sync anyway or to > abort (this behaviour can of course be set through the option window) > > but when i show the message box in sync_connect on line palm_sync.c:250 > my memory seems to get corrupted. i definetly traced it down to this > line: gtk_dialog_run (GTK_DIALOG (dialog)); > if it is there it will die sooner or later (you may have to run over > this serveral times) with error messages like: > > file pango-layout.c: line 2938 (pango_layout_check_lines): assertion > failed: (!layout->log_attrs) > or x-lib async request failed. > > does anyone have a clue why this fails in there? > > a completly clueless Armin > >
i have now found the reason. it crashes for some reason because it is called in a different thread. if i wrap it into another function and call it with g_idle_add it works perfectly. does anyone know how i can still call it in this function without g_idle_add? > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Multisync-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/multisync-devel ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Multisync-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/multisync-devel