Robin Haunschild <[EMAIL PROTECTED]> (13/05/2007):
> I wanted to test k3dsurf on my amd64 sid (updated a minute ago).
> Unfortunally, k3dsurf exited with a segmentation fault when I tried to
> start it via k3dsurf or /usr/bin/k3dsurf on the command line.

Hi, thanks for reporting it.

I can only reproduce it when I disable OpenGL. Could you please check
whether you can get it using OpenGL? I'm anyway forwarding the trace to
the author. I'd like to make sure it also only happens on exit, is that
correct? In which case I'd be tempted to downgrade the severity, I don't
really see why that would be an RC bug, although I ACK that segfaults
aren't good things…

I'm using i386 here (ssh -X'd from a powerpc box), and it looks like
that has nothing to do with amd64. I guess it might also be independant
of the video driver used (vesa here).

In case you want to provide backtraces too, you can use the following:

$ apt-get source k3dsurf                          # fetch the source
$ sudo apt-get install devscripts build-essential # basic build env.
$ sudo apt-get build-dep k3dsurf                  # build-dependencies
$ cd k3dsurf-$version
$ DEB_BUILD_OPTIONS=nostrip debuild -us -uc -b    # don't remove debug info, 
only build the binary
$ sudo debi                                       # install the newly-created 
binary package

Cheers,

-- 
Cyril Brulebois

Step to reproduce here:

Default model
Disable acceleration
Do a rotation (e.g. left ro right)
Tick anim checkbox
Exit

0x080644d7 in Model3D::rotation3 ()
(gdb) bt
#0  0x080644d7 in Model3D::rotation3 ()
#1  0x08065402 in Model3D::fct_bouton_Anim3 ()
#2  0x08055774 in ConnectWidget::run ()
#3  0xb79d7529 in QThreadInstance::start () from /usr/lib/libqt-mt.so.3
#4  0xb751046b in start_thread () from /lib/i686/cmov/libpthread.so.0
#5  0xb737a72e in clone () from /lib/i686/cmov/libc.so.6

Reproducible every time.

---

Before I noted the above steps, I tried random things and came up to the
following backtrace, still on exit.

0xb79da4d1 in QGArray::size () from /usr/lib/libqt-mt.so.3
(gdb) bt
#0  0xb79da4d1 in QGArray::size () from /usr/lib/libqt-mt.so.3
#1  0xb79ddb9d in QGArray::at () from /usr/lib/libqt-mt.so.3
#2  0xb7a0bed3 in QMemArray<QPoint>::at () from /usr/lib/libqt-mt.so.3
#3  0xb7acecb3 in QPointArray::setPoint () from /usr/lib/libqt-mt.so.3
#4  0x08079961 in Model3D::tracer3 ()
#5  0x0805a6e0 in ConnectWidget::paintEvent ()
#6  0xb7aec876 in QWidget::event () from /usr/lib/libqt-mt.so.3
#7  0xb7a4a36a in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#8  0xb7a4ccc5 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#9  0x080557a0 in ConnectWidget::run ()
#10 0xb7a42529 in QThreadInstance::start () from /usr/lib/libqt-mt.so.3
#11 0xb757b46b in start_thread () from /lib/i686/cmov/libpthread.so.0
#12 0xb73e572e in clone () from /lib/i686/cmov/libc.so.6

Attachment: signature.asc
Description: Digital signature

Reply via email to