Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2003:
[Freeciv-Dev] Re: (PR#4610) CMA frontend for Xaw
Home

[Freeciv-Dev] Re: (PR#4610) CMA frontend for Xaw

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: andrearo@xxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#4610) CMA frontend for Xaw
From: "Mike Kaufman" <kaufman@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 21 Jul 2003 21:05:19 -0700
Reply-to: rt@xxxxxxxxxxxxxx

On Sun, Jul 20, 2003 at 10:47:20AM -0700, andrearo@xxxxxxxxxxxx wrote:
> On Fri, 18 Jul 2003, Mike Kaufman wrote:
> > On Fri, Jul 18, 2003 at 09:58:59AM -0700, andrearo@xxxxxxxxxxxx wrote:
> > > I've written a CMA frontend for the Xaw client, since I usually
> >
> > looks nice, has some problems though:
> 
> I've fixed these issues now. It should have the same functionality as
> the gtk version.
> 
> > o moving the sliders doesn't change any numbers. Your callbacks seem to be
> >   broken.
> 
> I assume this was with xaw3d? It should work now...

no it wasn't. 
 
I get a segfault when clicking on the CMA... button:

#0  has_intl_marking (str=0x1 <Address 0x1 out of bounds>) at
gui_stuff.c:257
257       if (!(str[0] == '_' && str[1] == '(' && str[2] == '\"'))
(gdb) bt
#0  has_intl_marking (str=0x1 <Address 0x1 out of bounds>) at
gui_stuff.c:257
#1  0x0807c7c5 in xaw_intl_label (w=0x1) at gui_stuff.c:301
#2  0x0806fd0b in show_cma_dialog (pcity=0x1, citydlg=0x82e00d0)
    at cma_fe.c:202
                                  ^^^^^^^^^^^ ??

#3  0x400f888d in XtCallCallbackList () from /usr/X11R6/lib/libXt.so.6
#4  0x4007ff31 in Notify () from /usr/X11R6/lib/libXaw.so.7
#5  0x4012cb0a in HandleActions () from /usr/X11R6/lib/libXt.so.6
#6  0x4012d04c in HandleSimpleState () from /usr/X11R6/lib/libXt.so.6
#7  0x4012d653 in _XtTranslateEvent () from /usr/X11R6/lib/libXt.so.6
#8  0x40105854 in XtDispatchEventToWidget () from /usr/X11R6/lib/libXt.so.6
#9  0x40106398 in _XtDefaultDispatcher () from /usr/X11R6/lib/libXt.so.6
#10 0x4010654f in XtDispatchEvent () from /usr/X11R6/lib/libXt.so.6
#11 0x40106aa4 in XtAppMainLoop () from /usr/X11R6/lib/libXt.so.6
#12 0x0807b188 in ui_main (argc=1, argv=0x4) at gui_main.c:464
#13 0x0804e1b4 in main (argc=1, argv=0xbffffcc4) at civclient.c:244
#14 0x40259fa4 in __libc_start_main (main=0x804df70 <main>, argc=1, 
    ubp_av=0xbffffcc4, init=0x804aa98 <_init>, fini=0x40015640
<_rtld_local>, 
    rtld_fini=0x403744a0 <main_arena>, stack_end=0x403744ac)
    at ../sysdeps/generic/libc-start.c:144

-mike



[Prev in Thread] Current Thread [Next in Thread]