Re: debugging SIGPIPE



Rod Butcher wrote:
Scott Bronson wrote:
On Sat, 2006-07-22 at 13:04 +1000, Rod Butcher wrote:
Can somebody tell me whether SIGPIPE points to a broken Gnome build / installation, or to an actual program error ?
Yes.  Generally the former.


Does it mean processes are not communicating correctly ? I've found doco on how to bypass SIGPIPE in gdb, but not what's going wrong. Pointers to documentation gratefully received.
At the very least, why don't you post the output?  It's almost
impossible to figure out what's going on without that.
This is all I get from GDB :-
(gdb) run
Starting program: /usr/bin/gnome-theme-manager
[Thread debugging using libthread_db enabled]
[New Thread -1226815808 (LWP 31710)]

(gnome-theme-manager:31710): gnome-vfs-modules-WARNING **: Could not initialize inotify


Program received signal SIGPIPE, Broken pipe.
[Switching to Thread -1226815808 (LWP 31710)]
0xffffe410 in ?? ()
(gdb) thread apply all bt

Thread 1 (Thread -1226815808 (LWP 31710)):
#0  0xffffe410 in ?? ()
#1  0xbfece948 in ?? ()
#2  0x0000000b in ?? ()
#3  0x080bb060 in ?? ()
#4  0xb6fd0263 in __write_nocancel () from /lib/i686/libpthread.so.0
#5 0x08058cde in generate_theme_thumbnail (meta_theme_info=0x80bdc38, clear_cache=0)
     at theme-thumbnail.c:489
#6 0x08050b9f in update_themes_from_disk (dialog=Variable "dialog" is not available.
) at gnome-theme-manager.c:473
#7 0x080512e8 in main (argc=1634036803, argv=0x6f6f6c72) at gnome-theme-manager.c:1316
Sorry, I left out the details of the source code at theme-thumbnail.c:489 :-
write (pipe_to_factory_fd[1], meta_theme_info->gtk_theme_name, strlen (meta_theme_info->gtk_theme_name) + 1);




--
-------------------------------------------------------------------------------------------------
http://distributedcomputing.info - find out how to make your pc work for the community



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]