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: undisclosed-recipients: ;
Subject: [Freeciv-Dev] Re: (PR#4610) CMA frontend for Xaw
From: "andrearo@xxxxxxxxxxxx" <andrearo@xxxxxxxxxxxx>
Date: Tue, 22 Jul 2003 00:45:51 -0700
Reply-to: rt@xxxxxxxxxxxxxx

On Mon, 21 Jul 2003, Mike Kaufman wrote:
> 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 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

I'm not able to reproduce the segfault,
and I can't find any errors in cma_fe.c:202.
What can be wrong?

Andreas Røsdal



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