After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 116942 - Nautilus crashes while navigating around pixmap directories
Nautilus crashes while navigating around pixmap directories
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Views: Icon View
0.x.x [obsolete]
Other Linux
: High critical
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-07-08 04:00 UTC by Elijah Newren
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
trash-empty.svg file (with wrong mime type associated) (6.29 KB, application/octet-stream)
2003-07-20 17:49 UTC, Elijah Newren
Details

Description Elijah Newren 2003-07-08 04:00:42 UTC
Description of Problem:
I was navigating around the different directories below
/usr/share/pixmaps and specifically tried to enter the
/usr/share/pixmaps/nautilus/industrial directory when this crash
occurred.
 
Steps to reproduce the problem:
1. Browse around looking at pixmaps under the /usr/share pixmaps
directory
2. Go to /usr/share/pixmaps/nautilus
3. Double click the industrial folder icon
                                                                          
     
Actual Results:
Crash
                                                                          
     
Expected Results:
See the industrial folder
                                                                          
     
How often does this happen?
First time, just thought I'd report it
                                                                          
     
Additional Information:
I'm working with a RedHat 9 system, on which I later installed XD2, on
which I later installed GNOME2.3 using jhbuild.  'nautilus --version'
reports 2.3.6.
                                                                          
     
                                                                          
     
Debugging Information:
                                                                          
     
Backtrace was generated from '/opt/gnome2/bin/nautilus'
                                                                          
     
[New Thread 1088028000 (LWP 15811)]
[New Thread 1133735216 (LWP 15817)]
[New Thread 1125342512 (LWP 15816)]
[New Thread 1116949808 (LWP 15815)]
[New Thread 1099455792 (LWP 15814)]
0xffffe002 in ?? ()

Thread 1 (Thread 1088028000 (LWP 15811))

  • #0 ??
  • #1 libgnomeui_segv_handle
    at gnome-ui-init.c line 656
  • #2 <signal handler called>
  • #3 ??
  • #4 abort
    from /lib/tls/libc.so.6
  • #5 __assert_fail
    from /lib/tls/libc.so.6
  • #9 art_svp_render_aa
    at art_svp_render_aa.c line 459
  • #10 art_render_svp_invoke_driver
    at art_render_svp.c line 383
  • #11 art_render_invoke
    at art_render.c line 1039
  • #11 art_render_invoke
    at art_render.c line 1039
  • #12 rsvg_render_svp
    at rsvg-shapes.c line 157
  • #13 rsvg_render_bpath
    at rsvg-shapes.c line 221
  • #14 rsvg_render_path
    at rsvg-shapes.c line 268
  • #15 rsvg_handle_path
    at rsvg-shapes.c line 288
  • #16 rsvg_start_path
    at rsvg-shapes.c line 329
  • #17 rsvg_start_element
    at rsvg.c line 997
  • #18 xmlParseStartTag
    at parser.c line 6826
  • #19 xmlParseTryOrFinish
    at parser.c line 8548
  • #20 xmlParseChunk
    at parser.c line 9209
  • #21 rsvg_handle_write_impl
    at rsvg.c line 1179
  • #22 rsvg_handle_write
    at rsvg.c line 1411
  • #23 rsvg_pixbuf_from_file_with_size_data
    at rsvg-file-util.c line 175
  • #24 rsvg_pixbuf_from_file_at_max_size
    at rsvg-file-util.c line 513
  • #25 load_pixbuf_svg
    at nautilus-icon-factory.c line 1020
  • #26 load_icon_file
    at nautilus-icon-factory.c line 1082
  • #27 create_normal_cache_icon
    at nautilus-icon-factory.c line 1190
  • #28 get_icon_from_cache
    at nautilus-icon-factory.c line 1264
  • #29 nautilus_icon_factory_get_pixbuf_for_icon
    at nautilus-icon-factory.c line 1316
  • #30 nautilus_icon_container_update_icon
    at nautilus-icon-container.c line 4603
  • #31 finish_adding_icon
    at nautilus-icon-container.c line 4726
  • #32 finish_adding_new_icons
    at nautilus-icon-container.c line 4753
  • #33 redo_layout_internal
    at nautilus-icon-container.c line 1560
  • #34 redo_layout_callback
    at nautilus-icon-container.c line 1586
  • #35 g_idle_dispatch
    at gmain.c line 3241
  • #36 g_main_dispatch
    at gmain.c line 1720
  • #37 g_main_context_dispatch
    at gmain.c line 2268
  • #38 g_main_context_iterate
    at gmain.c line 2349
  • #39 g_main_loop_run
    at gmain.c line 2569
  • #40 gtk_main
    at gtkmain.c line 1093
  • #41 main
    at nautilus-main.c line 280
  • #42 __libc_start_main
    from /lib/tls/libc.so.6
  • #0 ??

Comment 1 Elijah Newren 2003-07-08 04:02:56 UTC
Update: I just tried it again and immediately received the same crash
with the same stack trace.  Sorry if the stack trace looks a little
funny.  I can't mail directly and thus I had to save the report and
then cut and paste it into bugzilla.
Comment 2 Alexander Larsson 2003-07-08 08:20:24 UTC
This is an svg problem. Can you try to locate the svg that gives this
problem? Just copy all the svgs in that directory to somewhere else
and selectively move away files to another directory until you only
have the svg that makes nautilus crash left.

Then upload the svg here.
Comment 3 Elijah Newren 2003-07-20 17:49:53 UTC
Created attachment 18462 [details]
trash-empty.svg file (with wrong mime type associated)
Comment 4 Elijah Newren 2003-07-20 17:55:05 UTC
I attached an svg which seems to cause this crash (though I did see
nautilus render it at least once correctly, so this doesn't seem to be
100% reproducible; it seems to be more than 50% of the time, though).
 I didn't know what the mime type for svgs is, so I just chose binary.

Also, this stack trace looks like the one in bug 116824, submitted by
Luis Villa.  Are they the same?  Both these bugs also look similar to
bug 96296, although there's no way this crash could have been caused
by a mixture of Gnome 1.4 and Gnome 2.x libraries.

One more thing--while trying to duplicate this bug, I got the crash in
bug 117909.  The stack trace doesn't look related to me, but I thought
I'd mention it.
Comment 5 Elijah Newren 2003-07-20 18:24:49 UTC
This is weird.  I played around with gdb a little to get some more
information.  The line at art_render_gradient.c:378 should be totally
innocuous so I don't see how it's causing this crash.  Here's the info
I was looking at:

(gdb) frame
  • #6 art_render_gradient_linear_render_8
    at art_render_gradient.c line 378
gradient = (const ArtGradientLinear *) 0x824ee40
i = 1077383751
width = 48
len = 137583144
offset = 0
d_offset = 0
offset_fraction = 0
next_stop = 0
ix = 2
color1 = "\000\200\000"
color2 = "\b\000\000"
n_stops = 2
extra_stops = 652835029
stops = (ArtGradientStop *) 0x8354510
tmp_stops = (ArtGradientStop *) 0xa9fbe76e
bufp = (
    art_u8 *) 0x82e8ce0
"@$\023B@$\023BÈv¾\237*3+@\e/ݤ\214ôC@K7\211A\032¨+@ÀÊ¡E¶\eD@¾\237\032/Ý´.@Ä
°Âò1ñC@\"ÛÂù~F\0012@\006\201\225C\207zC@é&1\bL35@ãÂ¥\233DÙºB@\030\004V\016\001¨8@ºI\f\002Ë´A@\225C\213lç\026<@ê&1\210¿k@@E¶óý\2007?@"
spread = ART_GRADIENT_PAD
(gdb) list
373		  len = MAX (len, 0);
374		  len = MIN (len, width);
375		}
376	      else
377		{
378		  len = width;
379		}
380	#ifdef DEBUG_SPEW
381	      printf ("len: %d\n", len);
382	#endif
(gdb) 
Comment 6 Dave Camp 2003-08-23 20:14:25 UTC
George commited some fixes to this code for librsvg 2.3.14 - George,
is this one fixed?
Comment 7 Dave Camp 2003-08-26 16:57:19 UTC
this should be fixed in libart 2.3.14