Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62780 - Xchat 2.4.0 crashes while using the DCC send utility with images in a directory
Summary: Xchat 2.4.0 crashes while using the DCC send utility with images in a directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Packages in net-irc
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-03 22:07 UTC by Bill Weepie
Modified: 2004-09-25 21:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bill Weepie 2004-09-03 22:07:30 UTC
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
Comment 1 Sven Wegener gentoo-dev 2004-09-03 22:15:02 UTC
Hm, this works for me without problems. What type of images do you have in your directory?
Comment 2 Bill Weepie 2004-09-04 00:02:07 UTC
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.
Comment 3 Sven Wegener gentoo-dev 2004-09-11 20:29:25 UTC
Does that crash only happen in xchat or only in other apps the use the file dialog?
Comment 4 Bill Weepie 2004-09-11 23:14:36 UTC
...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.
Comment 5 Bill Weepie 2004-09-25 21:24:15 UTC
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.