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 116224 - gnome-theme-manager infinite loop selecting ./themes and segmentation fault
gnome-theme-manager infinite loop selecting ./themes and segmentation fault
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: [obsolete] theme-manager
2.2.x
Other Linux
: High critical
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-06-28 23:35 UTC by raul
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Removes the infinite loop (1.38 KB, patch)
2003-11-12 02:53 UTC, Srinivasa Ragavan
none Details | Review
Added a error dialog with a message in the patch. (1.77 KB, patch)
2003-11-19 07:00 UTC, Srinivasa Ragavan
none Details | Review

Description raul 2003-06-28 23:35:33 UTC
Overview Description: when i try to add a new theme from .theme/, its keeps
fetching files there like forever, also if i cancel it a segmentation ocurrs.

Steps to reproduce the problem:
1.  click on desktop-preferences - themes - install theme
2. select .themes/
3. wait transfer forever..., or press cancel button.

Actual Results: if you wait the transfer it seems to transfer files
forever, if you press cancel button this message appears:
gnome-theme-manager process 687 has crashed due to a fatal error.
(segmentation fault).

Expected Results:
select the theme and install it in the current environment, or if the
theme isnt ok it have the proper error response.

how often happend?

always i trie.

Additional Information:
                                                                          
                                                   
                                                                          
                                                   
                                                                          
                                                   
Debugging Information:
                                                                          
                                                   
Backtrace was generated from '/usr/bin/gnome-theme-manager'
                                                                          
                                                   
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...[New Thread 16384 (LWP 610)]
[New Thread 32769 (LWP 612)]
[New Thread 16386 (LWP 613)]
                                                                          
                                                   
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
0x40b9ef29 in wait4 () from /lib/libc.so.6

Thread 3 (Thread 16386 (LWP 613))

  • #0 wait4
    from /lib/libc.so.6
  • #1 __DTOR_END__
    from /lib/libc.so.6
  • #2 waitpid
    from /lib/libpthread.so.0
  • #3 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #4 __pthread_sighandler
    from /lib/libpthread.so.0
  • #5 <signal handler called>
  • #6 pthread_mutex_lock
    from /lib/libpthread.so.0
  • #7 free
    from /lib/libc.so.6
  • #8 g_free
    from /usr/lib/libglib-2.0.so.0
  • #9 _gnome_vfs_job_complete
    from /usr/lib/libgnomevfs-2.so.0
  • #10 _gnome_vfs_job_go
    from /usr/lib/libgnomevfs-2.so.0
  • #11 _gnome_vfs_uri_is_in_subdir
    from /usr/lib/libgnomevfs-2.so.0
  • #12 _gnome_vfs_uri_is_in_subdir
    from /usr/lib/libgnomevfs-2.so.0
  • #13 _gnome_vfs_uri_is_in_subdir
    from /usr/lib/libgnomevfs-2.so.0
  • #14 _gnome_vfs_uri_is_in_subdir
    from /usr/lib/libgnomevfs-2.so.0
  • #15 _gnome_vfs_uri_is_in_subdir
    from /usr/lib/libgnomevfs-2.so.0
  • #16 _gnome_vfs_uri_is_in_subdir
    from /usr/lib/libgnomevfs-2.so.0
  • #17 _gnome_vfs_uri_is_in_subdir
    from /usr/lib/libgnomevfs-2.so.0
  • #18 _gnome_vfs_uri_is_in_subdir
    from /usr/lib/libgnomevfs-2.so.0
  • #19 _gnome_vfs_uri_is_in_subdir
    from /usr/lib/libgnomevfs-2.so.0
  • #20 _gnome_vfs_uri_is_in_subdir
    from /usr/lib/libgnomevfs-2.so.0
  • #21 _gnome_vfs_uri_is_in_subdir
    from /usr/lib/libgnomevfs-2.so.0
  • #22 _gnome_vfs_uri_is_in_subdir
    from /usr/lib/libgnomevfs-2.so.0
  • #23 _gnome_vfs_uri_is_in_subdir
    from /usr/lib/libgnomevfs-2.so.0
  • #24 _gnome_vfs_uri_is_in_subdir
    from /usr/lib/libgnomevfs-2.so.0
  • #25 _gnome_vfs_uri_is_in_subdir
    from /usr/lib/libgnomevfs-2.so.0
  • #26 _gnome_vfs_xfer_private
    from /usr/lib/libgnomevfs-2.so.0
  • #27 _gnome_vfs_job_go
    from /usr/lib/libgnomevfs-2.so.0
  • #28 _gnome_vfs_job_execute
    from /usr/lib/libgnomevfs-2.so.0
  • #29 _gnome_vfs_job_queue_shutdown
    from /usr/lib/libgnomevfs-2.so.0
  • #30 _gnome_vfs_thread_pool_init
    from /usr/lib/libgnomevfs-2.so.0
  • #31 g_static_private_free
    from /usr/lib/libglib-2.0.so.0
  • #32 pthread_start_thread
    from /lib/libpthread.so.0

Comment 1 Srinivasa Ragavan 2003-11-12 02:52:16 UTC
The issue was, when the /root/.themes/ folder is selected, it tries to
copy the ".themes" of the source file name from /root location to the
folder /root/.themes/.themes. This created an infinite loop. So i
solved the loop. I am attaching a patch too. But I am not sure, do i
have to pop out a error message. I havent done it. Please tell me do i
have to do it. In other places of the code also, they have just
returned, ignoring the error that occurs, like null filename. I have
been consistent with it.
Comment 2 Srinivasa Ragavan 2003-11-12 02:53:12 UTC
Created attachment 21372 [details] [review]
Removes the infinite loop
Comment 3 Luis Villa 2003-11-12 21:45:34 UTC
Jody, do you mind taking a look at this when you have a chance?
Comment 4 Jody Goldberg 2003-11-18 16:47:16 UTC
A good start but failing silently is not really an option.
Please add a message dialog to explain why nothing happens.

Thanks
Comment 5 Srinivasa Ragavan 2003-11-19 07:00:59 UTC
Created attachment 21610 [details] [review]
Added a error dialog with a message in the patch.
Comment 6 Jody Goldberg 2003-11-26 17:12:28 UTC
Please the patch with the message dialog to HEAD, and the patch
without it to gnome-2-4