[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bino-list] Bino Segfault
From: |
Andy Wettstein |
Subject: |
Re: [Bino-list] Bino Segfault |
Date: |
Fri, 16 Mar 2012 08:09:14 -0500 |
User-agent: |
Mutt/1.5.20 (2009-12-10) |
On Fri, Mar 16, 2012 at 06:45:24AM +0100, Martin Lambers wrote:
> On Thu, 15 Mar 2012 17:26:48 -0500, Andy Wettstein wrote:
> > On Thu, Mar 15, 2012 at 09:36:52PM +0100, Martin Lambers wrote:
> > > On Thu, 15 Mar 2012 07:48:22 -0500, Andy Wettstein wrote:
> > > > On Thu, Mar 15, 2012 at 09:48:45AM +0100, Martin Lambers wrote:
> > > > > Hi Andy!
> > > > >
> > > > > On Wed, 14 Mar 2012 11:08:40 -0500, Andy Wettstein wrote:
> > > > > > I compiled bino3d from the latest source and got a segfault
> > > > > > whenever I tried to play a video. I did a bisection and came back
> > > > > > with this commit:
> > > > > >
> > > > > > 30142c70b68e4f7946df4c348c738fe652a7b605 is the first bad commit
> > > > > > commit 30142c70b68e4f7946df4c348c738fe652a7b605
> > > > > > Author: Martin Lambers <address@hidden>
> > > > > > Date: Thu Mar 8 13:43:34 2012 +0100
> > > > > >
> > > > > > Fix building with GLEWmx on Windows.
> > > > >
> > > > > I had a similar problem on Ubuntu 10.04 and solved it by upgrading
> > > > > GLEW, but you already appear to be using the latest version.
> > > > >
> > > > > But this might be a problem:
> > > > >
> > > > > > Here's the --version output:
> > > > > >
> > > > > > [...]
> > > > > > bino: Qt:
> > > > > > bino: 4.6.2 / 4.7.4
> > > > >
> > > > > Bino was build against the 4.6.2 headers, but links against 4.7.4.
> > > > > Are these two ABI compatible? Can you try to "make clean" and
> > > > > rebuild against 4.7.4?
> > > >
> > > > Ok. Rebuilt with qt 4.7.4, but I'm still getting the segfault on the
> > > > same commit.
> > > >
> > > > bino: Qt:
> > > > bino: 4.7.4 / 4.7.4
> > >
> > > Hm. I cannot reproduce the problem, so I'm not sure where to start
> > > looking. Can you run a debug build (configured with --enable-debug)
> > > under valgrind?
> >
> > I didn't have time to run it under valgrind, but did compile with
> > --enable-debug and that gives a little more info:
> >
> > bino: [err] Caught signal 11 (Segmentation fault). Aborting.
> > bino: [err] Backtrace:
> > bino: [err] /software/bino-1.3-el6-x86_64/bin/bino() [0x49db56]
> > bino: [err] at /srv/software/src/bino/src/base/dbg.cpp:140
> > bino: [err] /software/bino-1.3-el6-x86_64/bin/bino() [0x49de79]
> > bino: [err] at /srv/software/src/bino/src/base/dbg.cpp:221
> > bino: [err] /lib64/libc.so.6() [0x3aebe32900]
> > bino: [err] at sigaction.c:0
> > bino: [err]
> > /software/qt-4.7-el6-x86_64/lib/libQtOpenGL.so.4(QGLWidget::doneCurrent()+0x4)
> > [0x7f86f7b95884]
> > bino: [err] /software/bino-1.3-el6-x86_64/bin/bino() [0x4472db]
> > bino: [err] at /srv/software/src/bino/src/video_output_qt.cpp:570
> > bino: [err] /software/bino-1.3-el6-x86_64/bin/bino() [0x439f73]
> > bino: [err] at /srv/software/src/bino/src/dispatch.cpp:512
> > bino: [err] /software/bino-1.3-el6-x86_64/bin/bino() [0x46836a]
> > bino: [err] at
> > /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/bits/basic_string.h:286
> > bino: [err] /software/bino-1.3-el6-x86_64/bin/bino() [0x46a430]
> > bino: [err] at
> > /software/qt-4.7-el6-x86_64/include/QtCore/qlist.h:718
> > bino: [err] /software/bino-1.3-el6-x86_64/bin/bino() [0x43af3a]
> > bino: [err] at /srv/software/src/bino/src/dispatch.cpp:163
> > bino: [err] /software/bino-1.3-el6-x86_64/bin/bino() [0x48578d]
> > bino: [err] at /srv/software/src/bino/src/main.cpp:728
> > bino: [err] /lib64/libc.so.6(__libc_start_main+0xfd) [0x3aebe1ecdd]
> > bino: [err] /software/bino-1.3-el6-x86_64/bin/bino() [0x4129d9]
> > bino: [err] Report bugs to <address@hidden>.
> > [1] 11947 abort /software/bino-1.3-el6-x86_64/bin/bino
> > ~/Downloads/Nuk203-zalman.mpg
>
> This looks like the segmentation fault happens in
> QGLWidget::doneCurrent(), called from video_output_qt.cpp line 569.
> However, that call is perfectly valid: we explicitly made the GL
> context current before.
>
> You could try to add 'glFinish();' and/or 'process_events();' just
> before the call to doneCurrent(), but that should not be necessary.
>
> If that does not help, then you need valgrind or gdb...
That didn't help. I'll attach the output from valgrind. Let me know if
you need any different options set. I ran it with --leak-check=yes
bino-valgrind.txt
Description: Text document