Re: Garnome and Solaris 2.6 - X problems



> >How can I make gnome-terminal leave a core behind?
> >
> Why do you want gnome-terminal to generate a core.

because gnome-terminal dies with a segfault and
doesn't leave a core. I am using Garnome exactly for
avoiding installing in /usr/local.

So, the situation is "vte" works fine but
gnome-terminal aborts leaving no errors(apart from
"world of pain") and core behind. Anybody wants to see
the stack of run thru gdb? here it is.
-----------------------------------
0xef61543c in _vte_pty_read_ptypair (tunnel=28,
parentfd=0xeffff0b8, 
    childfd=0xeffff0b4) at pty.c:814
814                     for (cmsg =
CMSG_FIRSTHDR(&msg);

(gdb) bt
#0  0xef61543c in _vte_pty_read_ptypair (tunnel=28,
parentfd=0xeffff0b8, 
    childfd=0xeffff0b4) at pty.c:814
#1  0xef6157e4 in _vte_pty_open_with_helper
(child=0xeffff1e4, 
    env_add=0x1335d8, command=0x12b9b0 "/bin/ksh",
argv=0xb42f0, 
    directory=0xb52f0 "/private/sukumar", columns=80,
rows=24, op=6)
    at pty.c:985
#2  0xef615950 in _vte_pty_open (child=0xeffff1e4,
env_add=0x1335d8, 
    command=0x12b9b0 "/bin/ksh", argv=0xb42f0, 
    directory=0xb52f0 "/private/sukumar", columns=80,
rows=24, lastlog=1, 
    utmp=1, wtmp=1) at pty.c:1071
#3  0xef622410 in vte_terminal_fork_command
(terminal=0xb7108, 
    command=0x12b9b0 "/bin/ksh", argv=0xb42f0,
envv=0x132ed0, 
    directory=0xb52f0 "/private/sukumar", lastlog=1,
utmp=1, wtmp=1)
    at vte.c:6844
#4  0x34c4c in terminal_widget_fork_command
(widget=0xb7108, update_records=1, 
    path=0x12b9b0 "/bin/ksh", argv=0xb42f0,
envp=0x132ed0, 
    working_dir=0xb52f0 "/private/sukumar",
child_pid=0xaa148, err=0xeffff2dc)
    at terminal-widget-vte.c:494
#5  0x31ad0 in terminal_screen_launch_child
(screen=0xb3950)
    at terminal-screen.c:985
#6  0x23e38 in new_terminal_with_options
(results=0x67610) at terminal.c:1278
#7  0x24304 in main (argc=1, argv=0xeffff4bc) at
terminal.c:1508
(gdb) 
-----------------------------------

cmsg in top frame is not accessible.

It looks like sendmsg/recvmsg interface in vte is
screwed. Ring any bells anybody? Anything to look for
from the top of your head? "vte -t vt100" creates a
terminal, "vte -t xterm" segv's

Thanks
-Sunil


> The message is just
> a security feature of Solaris. To avoid it, add 
> /home/sukumar/garnome/lib
> in your secure lib path with
> crle -c <your conf> -s /home/sukumar/garnome/lib -l
> ... -i ...
> Do not forget others  -l -i or your  system will
> become  unusable
> If you have root priviledge you can  avoid -c <your
> conf>.
> Else set LD_CONFIG=<your conf>
> After it you  can forget LD_PRELOAD
> 
> >
> >-Sunil
> >
> >--- Rémi_Cohen-Scali <Remi Cohen-Scali com> wrote:
> >  
> >
> >>What iconv did you use ? Solaris native one or
> >>libiconv. It seems you 
> >>have got problems for
> >>translating UTF-8.
> >>On Solaris 2.8 both are OK (Solaris iconv and GNU
> >>libiconv) but you must 
> >>be consistent at
> >>build time and at run time.
> >>For Solaris 2.6 I don't know the iconv completion.
> >>You should perhaps 
> >>use libiconv.
> >>Also be sure the  library is available at runtime
> >>(On Solaris8 I 
> >>personaly use  LD_CONFIG
> >>env var and the 'crle' command to simulate
> ldconfig
> >>behavior but I don't 
> >>know is Solaris 2.6
> >>have such a command)
> >>
> >>Sunil wrote:
> >>
> >>    
> >>
> >>>Hi,
> >>>
> >>>I got this far but now gnome-terminal aborts. I
> >>>      
> >>>
> >>think
> >>    
> >>
> >>>the error from vte.c has to do with the error
> from
> >>>GLib, but don't know how to fix it. Anyone seen
> >>>      
> >>>
> >>this
> >>    
> >>
> >>>error?
> >>>
> >>>Thanks for being so patient with this newbie!
> >>>-Sunil
> >>>
>
>>>---------------------------------------------------
> >>>$ gnome-terminal
> >>>GLib: Cannot convert message: Conversion from
> >>>character set 'UTF-8' to 'ASCII' is not supported
> >>>
> >>>** (gnome-terminal:9035): WARNING **: 
> >>>--- you're entering a whole world of pain --- 
> >>>
> >>>** (gnome-terminal:9035): WARNING **: Unable to
> >>>convert characters from UTF-8 to ASCII.
> >>>
> >>>** ERROR **: file vte.c: line 10745
> >>>(vte_terminal_init): assertion failed:
> >>>(terminal->pvt->encoding != NULL)
> >>>aborting...
> >>>GLib: Cannot convert message: Conversion from
> >>>character set 'UTF-8' to 'ASCII' is not supported
> >>>
> >>>** (gnome_segv:9041): WARNING **: 
> >>>--- you're entering a whole world of pain --- 
> >>>
> >>>(gnome_segv:9041): Gdk-WARNING **: Error
> converting
> >>>      
> >>>
> >>>from UTF-8 to STRING: Conversion from character
> set
> >>    
> >>
> >>>'UTF-8' to 'ISO-8859-1' is not supported
> >>>
> >>>(gnome_segv:9041): Gdk-WARNING **: Error
> converting
> >>>      
> >>>
> >>>from UTF-8 to STRING: Conversion from character
> set
> >>    
> >>
> >>>'UTF-8' to 'ISO-8859-1' is not supported
> >>>
> >>>(gnome_segv:9041): Gdk-WARNING **: Error
> converting
> >>>      
> >>>
> >>>from UTF-8 to STRING: Conversion from character
> set
> >>    
> >>
> >>>'UTF-8' to 'ISO-8859-1' is not supported
>
>>>---------------------------------------------------
> >>>
> >>>Thanks,
> >>>-Sunil
> >>>
> >>>
> >>>--- sams marketing-designs com wrote:
> >>> 
> >>>
> >>>      
> >>>
> >>>>Sunil (funtoos yahoo com) wrote:
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>Patrick, Any idea why the glib install didn't
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>create
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>glib-config in my install area? gtk didn't
> create
> >>>>>gtk-config either. So, what's happening now is
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>that
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>these(older versions) are getting picked up
> from
> >>>>>/usr/local/bin instead of my install area
> >>>>>(~/garnome/bin).
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>This is not a Solaris issue.  Glib/Gtk do not
> >>>>install these scripts, as
> >>>>they are deprecated by the use of pkg-config.
> >>>>
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>This is when I am installing gdk-pixbuf-0.22.
> Its
> >>>>>using  older gnome-1 and gtk config scripts.
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>gdk-pixbuf?  This is now part of Gtk.  This
> isn't
> >>>>        
> >>>>
> >>a
> >>    
> >>
> >>>>package distributed
> >>>>with garnome, is it?
> >>>>
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>Any idea why these config programs are not
> >>>>>          
> >>>>>
> >>getting
> >>    
> >>
> >>>>>created when I install glib/gtk?
> >>>>>
> >>>>>
> >>>>>
> >>>>>-Sunil
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>-- 
> >>>>Samuel Stringham                   /"\    ASCII
> >>>>Ribbon Campaign
> >>>>Computer Consultant                \ /   
> Respect
> >>>>for open standards
> >>>>sams marketing-designs com          X     No
> >>>>HTML/RTF in email
> >>>>                                  / \    No M$
> >>>>        
> >>>>
> >>Word
> >>    
> >>
> >>>>docs in email
> >>>>
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>> 
> >>>
> >>>      
> >>>
> >>>>ATTACHMENT part 2 application/pgp-signature 
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>
> >>>__________________________________
> >>>Do you Yahoo!?
> >>>Yahoo! SiteBuilder - Free, easy-to-use web site
> >>>      
> >>>
> >>design software
> >>    
> >>
> >>>http://sitebuilder.yahoo.com
> >>> 
> >>>
> >>>      
> >>>
> >>-- 
> >>garnome-list mailing list
> >>garnome-list gnome org
>
>>http://mail.gnome.org/mailman/listinfo/garnome-list
> >>    
> >>
> >
> >
> >__________________________________
> >Do you Yahoo!?
> >Yahoo! SiteBuilder - Free, easy-to-use web site
> design software
> >http://sitebuilder.yahoo.com
> >  
> >
> 
> -- 
> garnome-list mailing list
> garnome-list gnome org
> http://mail.gnome.org/mailman/listinfo/garnome-list


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com



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