On 08.12.2010, at 16:21, Alvin wrote: > I have updated my working-copy of 1.3.x to r7979. Since doing that I am > experiencing a segfault when I drag 'n drop a file (from Dolphin in KDE > 4.5.4) onto my app. ...
> I guess a fix would be to check that list_count> 0 before calling strlen(), > however, would this just result in an empty DND playload? It looks like > X_HAVE_UTF8_STRING is defined in Xlib.h. > > Using the GDB, I can see that the DND payload I want is actually in > 'portion' however, to get 'text_list' to point to 'portion' I need to > undefine X_HAVE_UTF8_STRING. I do not use UTF8 right now, but like the idea > of having it in case I do need it in the future. Your description looks as if the fix for STR #2470 was not complete. Can you roll back to svn r7969 and try again? If this works, does the error appear with r7970? > Any ideas of what I can do to fix this? I'm willing to produce create an STR > and submit a patch if that would help. I thought I should post here first > just in case the people incorporating the UTF8 support can see an obvious > fix before I dive head first. If you can confirm my suspicion (above), we can reopen STR #2470 for you, and/or Manolo may know what to do (I don't know what this was all about, but I remembered that there was something with X_HAVE_UTF8_STRING recently). Albrecht _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

