Re: gmc problem with window manager delete even



Hi,

Something I should have noticed before is that gmc only crashes the first
time I run it in a particular X session.  Note that this appears to be
unrelated to gnome-session.  I tried just running E (with nothing else):
the first time I started gmc it crashed when I clicked the close button,
and from then on it ran without problems.  The same behaviour is repeatable
when running gnome-session: my Gnome session comes up, I open a gmc window,
click the close button, and gmc crashes.  In this case, the session manager
respawns gmc, and from then on it works perfectly.

I finally worked out that plain-gmc is the "real" gmc, so I ran it under
gdb and got the following backtrace.  Note that my original report said
that it segfaulted, whereas in fact it got a SIGABRT.

[lyndon@beat lyndon]$ gdb plain-gmc
GNU gdb 4.17.0.4 with Linux/x86 hardware watchpoint and FPU support
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
(gdb) run
Starting program: /opt/gnome/bin/plain-gmc 

Gdk-ERROR **: an x io error occurred
aborting...

Program received signal SIGABRT, Aborted.
0x40390811 in __kill ()
(gdb) bt
#0  0x40390811 in __kill ()
#1  0x4039063f in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2  0x4039184f in abort () at ../sysdeps/generic/abort.c:83
#3  0x40363135 in g_logv (log_domain=0x40242e52 "Gdk", 
    log_level=G_LOG_LEVEL_ERROR, format=0x40242f07 "an x io error occurred", 
    args1=0xbffff2cc) at gmessages.c:389
#4  0x403631e6 in g_log (log_domain=0x40242e52 "Gdk", 
    log_level=G_LOG_LEVEL_ERROR, format=0x40242f07 "an x io error occurred")
    at gmessages.c:406
#5  0x402274d5 in gdk_x_io_error (display=0x814c2f0) at gdk.c:1074
#6  0x40290139 in _XIOError ()
#7  0x4028db4e in _XRead ()
#8  0x4028d493 in _XEventsQueued ()
#9  0x40281bc8 in XPending ()
#10 0x40232b48 in gdk_event_prepare (source_data=0x0, current_time=0xbffffc4c, 
    timeout=0xbffffc48) at gdkevents.c:2028
#11 0x40361078 in g_main_iterate (block=1, dispatch=1) at gmain.c:762
#12 0x40361499 in g_main_run (loop=0x81e6580) at gmain.c:923
#13 0x401952cb in gtk_main () at gtkmain.c:475
#14 0x80aaf44 in gtkrundlg_event (h=0x818d9a0) at gmain.c:356
#15 0x8066b1c in run_dlg (h=0x818d9a0) at dlg.c:942
#16 0x80ab269 in non_corba_create_panels () at gmain.c:498
#17 0x80ab285 in create_panels () at gmain.c:514
#18 0x8064565 in setup_mc () at main.c:1854
---Type <return> to continue, or q <return> to quit---
#19 0x8064d8d in do_nc () at main.c:2225
#20 0x8065907 in main (argc=1, argv=0xbffffcf4) at main.c:3116
(gdb) 


This is with XFree86 3.3.3.1 (RedHat RPMs), E 0.15.5, GTK+ 1.2.1, glib 1.2.1,
ORBit 0.4.3, gnome-libs 1.0.8, gnome-core 1.0.5, gcc 2.8.1, glibc 2.0.7.

Lyndon

On Fri, Apr 16, 1999 at 12:12:10PM -0400, Federico Mena Quintero wrote:
> >  I'm having trouble with gmc on my RedHat 5.2 Intel machine.  I have gnome-libs 1.0.8, gnome-core
> >  1.0.5 and mc 4.5.30.  The problem occurs both with and without session management.  I compiled
> >  gnome with gcc 2.8.1, the machine otherwise being a standard RH 5.2 with updates.
> >  
> >  gmc --nowindows creates the desktop without any problems, and I can open windows and browse them
> >  without any trouble.  The problem occurs when I click the X button on the title bar (which should
> >  send a delete event to the mc window).  I expected the particular window I had open to close;
> >  instead gmc dumped segfaulted.
> 
> Please make sure you have the latest ORBit and the latest Gtk+.
> 
>   Federico
> 
> 
> -- 
>         FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
>          To unsubscribe: mail gnome-list-request@gnome.org with 
>                        "unsubscribe" as the Subject.
> 



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