Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#34 closed defect (fixed)

aven 1.2.3 doesnt run on fedora 16 64 bit linux

Reported by: jmbegley Owned by: Olly Betts
Priority: major Milestone: 1.2.4
Component: aven Version: 1.2.3
Keywords: Cc:

Description

Running aven on a 64bit linux (fedora 16) laptop only displays an error message "Bug in program detected! Please report this to the authors" and then exits. Running aven from the command line displays:

[james@jumbo ~]$ aven
Bad memory access
[james@jumbo ~]$

Running aven through GDB (with no debugging symbols) gives

(gdb) file /usr/bin/aven
Reading symbols from /usr/bin/aven...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/aven /usr/bin/aven
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Detaching after fork from child process 11340.
Detaching after fork from child process 11341.
Detaching after fork from child process 11342.

Program received signal SIGSEGV, Segmentation fault.
0x0000003d6e653136 in glClearColor () from /usr/lib64/libGL.so.1

Any ideas? version 1.2.2 was working fine ...

Attachments (2)

svx123-glclearcolor.patch (822 bytes) - added by Olly Betts 8 years ago.
Call glClearColor after OpenGL is initialised
svx123-gl-fixes.patch (1.7 KB) - added by Olly Betts 8 years ago.
fix to not use gl before it is initialised

Download all attachments as: .zip

Change History (8)

comment:1 Changed 8 years ago by Olly Betts

Status: newassigned

1.2.3 is working on my laptop, which is Debian amd64, so I don't think this is a 64-bit issue.

It looks to me like your OpenGL implementation doesn't like glClearColor getting called before OpenGL has been initialised, whereas mine doesn't seem to mind. Can you try the patch I'll attach in a moment?

Changed 8 years ago by Olly Betts

Attachment: svx123-glclearcolor.patch added

Call glClearColor after OpenGL is initialised

comment:2 Changed 8 years ago by jmbegley

With that patch I get:

[james@jumbo ~]$ aven
Bad memory access

Gtk:ERROR:gtkwindow.c:6799:IA__gtk_window_present_with_time: assertion failed: (widget->window != NULL)
Abnormal termination

Gtk:ERROR:gtkwindow.c:6799:IA__gtk_window_present_with_time: assertion failed: (widget->window != NULL)
Aborted

(gdb) file /usr/bin/aven
Reading symbols from /usr/bin/aven...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/aven
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Detaching after fork from child process 27413.
Detaching after fork from child process 27414.
Detaching after fork from child process 27415.

Program received signal SIGSEGV, Segmentation fault.
0x0000003d6e6541a6 in glViewport () from /usr/lib64/libGL.so.1

The versions of the libGL libraries installed are

[james@jumbo ~]$ rpm -qa | grep GL
mesa-libGLU-devel-7.11.2-1.fc16.x86_64
mesa-libGL-7.11.2-1.fc16.x86_64
mesa-libGL-devel-7.11.2-1.fc16.x86_64
libGLEW-1.6.0-1.fc16.x86_64
mesa-libGLU-7.11.2-1.fc16.x86_64

comment:3 Changed 8 years ago by jmbegley

Summary: aven 1.2.3 doesnt run on 64 bit linuxaven 1.2.3 doesnt run on fedora 16 64 bit linux

Changed 8 years ago by Olly Betts

Attachment: svx123-gl-fixes.patch added

fix to not use gl before it is initialised

comment:4 Changed 8 years ago by Olly Betts

Milestone: 1.2.4
Version: 1.2.3

OK, the new patch should fix that too, and also logs if we try to use OpenGL before it is initialised, to help avoid this issue recurring.

Can you try this one?

comment:5 Changed 8 years ago by jmbegley

Resolution: fixed
Status: assignedclosed

Yeah, that patch works. Thanks.

comment:6 Changed 8 years ago by Olly Betts

Cool, committed as r3921.

Note: See TracTickets for help on using tickets.