digitalmars.D.dwt - CoolItem crash on linux
- Bill Baxter (16/16) May 12 2008 I'm getting a segfault on linux with this line of code:
- Frank Benoit (10/32) May 13 2008 the DMD 1.029 is know to make problems with DWT.
- Frank Benoit (3/9) May 13 2008 The setup script does now make use of jive stacktrace. This has been a
- Frank Benoit (3/25) May 13 2008 I tried this without problems.
- Bill Baxter (6/32) May 13 2008 Oh, actually I should have been clearer -- the CoolBar Snippets actually...
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
_D5tango4text7convert6Format6FormatC5tango4text7convert6Layout13
_T6LayoutTaZ6Layout
()
Any ideas?
--bb
May 12 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
_D5tango4text7convert6Format6FormatC5tango4text7convert6Layout13
_T6LayoutTaZ6Layout
()
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 :)
May 13 2008
Frank Benoit schrieb:Can you try to use the Setup script, if that crashes in that environment too? http://www.dsource.org/projects/dwt/wiki/SetupLinux For stacktrac on linux i use the jive stacktrace and it works great. I will post the module later.The setup script does now make use of jive stacktrace. This has been a big help in my D projects on linux.
May 13 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
_D5tango4text7convert6Format6FormatC5tango4text7convert6Layout13
_T6LayoutTaZ6Layout
()
Any ideas?
--bb
I tried this without problems.
Does the problem still exist?
May 13 2008
Frank Benoit wrote:Bill Baxter schrieb:Oh, actually I should have been clearer -- the CoolBar Snippets actually work for me fine. It's only my real application where I'm getting this crash. I'll take a look at what your setup script does and see if that's any help. --bbI'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 _D5tango4text7convert6Format6FormatC5tango4text7convert6Layout13 _T6LayoutTaZ6Layout () Any ideas? --bbI tried this without problems. Does the problem still exist?
May 13 2008









Frank Benoit <keinfarbton googlemail.com> 