Alvin wrote: > I tried r7969 and I still get a segfault. Having tested using r7969, it > looks like Xutf8TextPropertyToTextList (line 959) is not doing what it > should be or for some reason, setting 'list_count' to 0 and 'text_list' to > contain a NULL item. > > Perhaps the fix should be: > if list_count == 0, then 'text_list =&portion' > > In both r7969 and r7979, the DnD payload (URLs) are in 'portion'. > > In case this might help, 'text_prop' contains: > > text_prop.value = "file:///home/alvin/Projects/DND/dndtest2/test8.png" > text_prop.encoding = 547 > text_prop.format = 8 > text_prop.nitems = 50 > > Could the issue be with ".encoding"? I have no experience with UTF8 so I'm > not sure if this is a valid value.
I don't know what the reason of the crash is, but I traced it back to svn r7925 that introduces the bug. I think that your debugging might be helpful, but I'll leave this to Manolo who applied the patch mentioned in STR #2277. I reopened STR #2277. Please add your bug report to this STR. Thanks. Albrecht _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

