CoolItem crash on linux
Frank Benoit
keinfarbton at googlemail.com
Tue May 13 01:04:51 PDT 2008
Bill Baxter schrieb:
> I'm getting a segfault on linux with this line of code:
>
> auto ci = new CoolItem(cb, DWT.NONE);
>
> The same code works on Windows, but it's crapping out in linux. I've
> updated everything to the latest, Tango, dwt-linux, dwt-addons. dmd is
> 1.029. Linux is Ubuntu 7.10.
>
> The stack trace from gdb doesn't looks very useful to me, but here it
> is. Maybe it will speak to you:
>
> (gdb) where
> #0 0x0847c561 in
> _D5tango4text7convert6Format6FormatC5tango4text7convert6Layout13__T6LayoutTaZ6Layout
> ()
> #1 0xb7b792ac in ?? () from /usr/lib/libpangocairo-1.0.so.0
> #2 0x084a7c30 in ?? ()
> #3 0x00000000 in ?? ()
>
> Any ideas?
>
> --bb
the DMD 1.029 is know to make problems with DWT.
Can you try to use the Setup script, if that crashes in that environment
too?
http://www.dsource.org/projects/dwt/wiki/SetupLinux
Can you see if that makes a difference before and after the 3.4m7 update?
For stacktrac on linux i use the jive stacktrace and it works great. I
will post the module later.
Your gdb stacktrace shows only that it crashes in the
tango.text.convert.Layout class. Unfortunately it does not speak to me :)
More information about the Digitalmars-d-dwt
mailing list