When I try to DCC send a file to someone, xchat simply crashes if the directory I'm browsing has any images. The file sends work perfectly on folders that do not contain any images. Running xchat-2 from the command line spits this out upon crashing (the first line is repeated several times, apparently one for each image in the folder): art_render_invoke: no image source given xchat-2: art_render_gradient.c:338: art_render_gradient_linear_render_8: Assertion `offset_fraction <= stops[ix].offset' failed. Aborted Reproducible: Always Steps to Reproduce: 1. Start x-chat. 2. Right-click on another user, and select DCC Send file. 3. Navigate the file chooser dialog box to any directory containing an image. Actual Results: X-chat crashes immediately when the file chooser dialog box is navigated to a directory with an image file. Directories without images are displayed without any problems. Expected Results: The file chooser dialog should display and allow me to select a file to send. And, y'know, not crash. Running ~x86. Firefox and Gaim were running in the background. etcat uses xchat reports: +perl +tcltk +python +ssl +mmx +ipv6 +nls -xchattext -xchatnogtk -xchatdccserver -debug
Hm, this works for me without problems. What type of images do you have in your directory?
Several different types of images caused the crashing, actually. I've reproduced the bug with a .svg file, a .gif, .png, .jpeg, and .bmp. The images were all from completely different sources, as well.
Does that crash only happen in xchat or only in other apps the use the file dialog?
...Now that you mention it, Eye of Gnome (which uses the same dialog) also crashes in exactly the same way under the same conditions. I guess that means the bug isn't in xchat, then.
I've found the source of the problem - it was the mimetype SVG icons from my icon theme that crashed the file chooser. Replacing the icons with 'repaired' ones and re-compiling librsvg fixed the problem.