El Mon, 12 Oct 2009 10:29:36 +0200
Joerg Scheurich aka MUFTI <rusmu...@helpdesk.bera.rus.uni-stuttgart.de>
wrote:


> Do you load a 3D file ?
> glVertex3f is usually used for rendering 3D objects.

Yes, I was trying examples from this page:
http://www.ccp14.ac.uk/ccp/web-mirrors/larryfinger/~larry.finger/drawxtl/samples.html
But it also happens when I call whitedune with no args, with no input
files.

I must say that there was no problem using an i386 platform (see
attached file, please).

> 
> Can you recompile the sources and then run the debugger ?

I've tried to build a package with non-striped binaries, but
DEB_BUILD_OPTIONS="nostrip" has failed for me. I've used the non-stripe
dune renamed as whitedune. Both backtraces, calling and without calling
input files, are attached.


> 
> Do this problem also occure on the current versions of white_dune ?
> http://129.69.35.12/dune/whitedune_0.29beta1364-1_i386.deb
> 

An i386 package won't run on my system, and building from sources will
fail. These are the last lines:

bison -y -d parser.y
parser.y:331.41-42: $$ for the midrule at $3 of `node' has no declared type
parser.y:332.54-55: $$ for the midrule at $3 of `node' has no declared type
parser.y:334.63-64: $$ for the midrule at $3 of `node' has no declared type
parser.y:335.60-61: $$ for the midrule at $3 of `node' has no declared type
parser.y:338.67-68: $$ for the midrule at $3 of `node' has no declared type
parser.y:345.41-42: $$ for the midrule at $3 of `node' has no declared type
parser.y:346.59-60: $$ for the midrule at $3 of `node' has no declared type
parser.y:347.56-57: $$ for the midrule at $3 of `node' has no declared type
parser.y:350.56-57: $$ for the midrule at $3 of `node' has no declared type
make: *** [parser.cpp] Error 1

> very thanks for the bugreport

You are welcome

> 
> so long
> MUFTI

Kind Regards,
-- 
Manolo Díaz
gdb /usr/bin/whitedune
GNU gdb (GDB) 6.8.50.20090628-cvs-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
(gdb) run /tmp/ags4.wrl
Starting program: /usr/bin/whitedune /tmp/ags4.wrl
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x00000000005387b1 in swCreateMainWindow (title=0x55e3a9 "Dune", x=0, y=0, 
width=800, height=600) at swt.c:1300
1300        wnd->shell = XtVaAppCreateShell( title, "ProgramClass",
Current language:  auto; currently c
(gdb) bt
#0  0x00000000005387b1 in swCreateMainWindow (title=0x55e3a9 "Dune", x=0, y=0, 
width=800, height=600) at swt.c:1300
#1  0x00000000004cfd0b in DuneApp::newMainWnd (this=0x852980, 
mainw...@0x852a88) at DuneApp.cpp:132
#2  0x00000000004cff9b in DuneApp::OpenFile (this=0x852980, 
openpath=0x7fffffffe826 "/tmp/ags4.wrl") at DuneApp.cpp:555
#3  0x0000000000408662 in main (argc=2, argv=0x7fffffffe5b8) at main.cpp:310
(gdb)
~$ gdb /usr/bin/whitedune
GNU gdb (GDB) 6.8.50.20090628-cvs-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
(gdb) run
Starting program: /usr/bin/whitedune
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x00000000005387b1 in swCreateMainWindow (title=0x55e3a9 "Dune", x=0, y=0, 
width=800, height=600) at swt.c:1300
1300        wnd->shell = XtVaAppCreateShell( title, "ProgramClass",
Current language:  auto; currently c
(gdb) bt
#0  0x00000000005387b1 in swCreateMainWindow (title=0x55e3a9 "Dune", x=0, y=0, 
width=800, height=600) at swt.c:1300
#1  0x00000000004cfd0b in DuneApp::newMainWnd (this=0x852980, 
mainw...@0x852a88) at DuneApp.cpp:132
#2  0x00000000004d07ac in DuneApp::OnFileNewWindow (this=0x852980) at 
DuneApp.cpp:157
#3  0x000000000040870b in main (argc=1, argv=0x7fffffffe5d8) at main.cpp:318
(gdb)
Using the following machine I can run whitedune flawless.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.31 (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages whitedune depends on:
ii  lesstif2               1:0.95.0-2.3      OSF/Motif 2.1 implementation relea
ii  libc6                  2.9-25            GNU C Library: Shared libraries
ii  libgcc1                1:4.4.1-4         GCC support library
ii  libgl1-mesa-glx [libgl 7.6-1             A free implementation of the OpenG
ii  libglu1-mesa [libglu1] 7.6-1             The OpenGL utility library (GLU)
ii  libjpeg62              6b-15             The Independent JPEG Group's JPEG
ii  libpng12-0             1.2.39-1          PNG library - runtime
ii  libstdc++6             4.4.1-4           The GNU Standard C++ Library v3
ii  libx11-6               2:1.2.2-1         X11 client-side library
ii  libxext6               2:1.0.4-1         X11 miscellaneous extension librar
ii  libxi6                 2:1.2.1-2         X11 Input extension library
ii  libxmu6                2:1.0.4-2         X11 miscellaneous utility library
ii  libxp6                 1:1.0.0.xsf1-2    X Printing Extension (Xprint) clie
ii  libxt6                 1:1.0.6-1         X11 toolkit intrinsics library
ii  zlib1g                 1:1.2.3.3.dfsg-15 compression library - runtime

whitedune recommends no packages.

Versions of packages whitedune suggests:
pn  whitedune-docs                <none>     (no description available)

-- no debconf information

Reply via email to