Bug#388271: fglrx-control: fireglcontrol give Floating point exception

2006-09-27 Thread Brent S. Elmer




Yes, that was it. I set my display size in xorg.conf and qt applications started working again.
Thank you very much.

On Wed, 2006-09-27 at 00:02 +0200, Flavio Stanchina wrote:


Brent S. Elmer wrote:
 I moved qtrc out of the way.  I don't think there is any difference.
 
 (gdb) r
 Starting program: /home/brente/firegl/fireglcontrol
 [Thread debugging using libthread_db enabled]
 [New Thread -176896 (LWP 25293)]
 Qt: gdb: -nograb added to command-line options.
  Use the -dograb option to enforce grabbing.
 
 Program received signal SIGFPE, Arithmetic exception.
 [Switching to Thread -176896 (LWP 25293)]
 0xb79b1bed in create_dpis () at kernel/qpaintdevice_x11.cpp:531
 531 kernel/qpaintdevice_x11.cpp: No such file or directory.
 in kernel/qpaintdevice_x11.cpp
 (gdb) bt
 #0  0xb79b1bed in create_dpis () at kernel/qpaintdevice_x11.cpp:531
 #1  0xb79b1cbb in QPaintDevice::x11AppDpiY (screen=-1)
 at kernel/qpaintdevice_x11.cpp:653
 #2  0xb79b1d38 in QPaintDevice::x11AppDpiY () [...]

OK, this is the same as http://bugs.debian.org/384325 and you might want to
try the workaround explained in the next-to-last mail,
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=384325;msg=47

This is definitely a Qt problem, not fireglcontrol's. I'm going to reassign
this bug to Qt and merge it with #384325 unless someone can show me that
something in fireglcontrol is helping this bug to come out.







Bug#388271: fglrx-control: fireglcontrol give Floating point exception

2006-09-26 Thread Flavio Stanchina
Please keep [EMAIL PROTECTED] in the cc; this information should be
recorded in the bug report.

Brent S. Elmer wrote:
 I downloaded qt-x11-free-dbg and ran your debug version of
 fireglcontrol.  I didn't download the source to debug but here is the
 gdb info anyway:

As far as I can tell, it's Qt that's causing the exception, but to be on
the safe side it's probably a good idea to do some more tests before we
reassign the bug. First of all, the last file accessed in the strace was
/home/brente/.qt/qtrc: try moving it out of the way and see it things
get better.

 [EMAIL PROTECTED]:~/firegl$ gdb fireglcontrol
 GNU gdb 6.4.90-debian
 Copyright (C) 2006 Free Software Foundation, Inc.
 GDB is free software, covered by the GNU General Public License, and you are
 welcome to change it and/or distribute copies of it under certain
 conditions.
 Type show copying to see the conditions.
 There is absolutely no warranty for GDB.  Type show warranty for details.
 This GDB was configured as i486-linux-gnu...Using host libthread_db
 library / lib/tls/i686/cmov/libthread_db.so.1.
 
 (gdb) r
 Starting program: /home/brente/firegl/fireglcontrol
 [Thread debugging using libthread_db enabled]
 [New Thread -1222313760 (LWP 19558)]
 Qt: gdb: -nograb added to command-line options.
  Use the -dograb option to enforce grabbing.
 
 Program received signal SIGFPE, Arithmetic exception.
 [Switching to Thread -1222313760 (LWP 19558)]
 0xb79a8bed in create_dpis () at kernel/qpaintdevice_x11.cpp:531
 531 kernel/qpaintdevice_x11.cpp: No such file or directory.
 in kernel/qpaintdevice_x11.cpp
 (gdb) bt
 #0  0xb79a8bed in create_dpis () at kernel/qpaintdevice_x11.cpp:531
 #1  0xb79a8cbb in QPaintDevice::x11AppDpiY (screen=-1)
 at kernel/qpaintdevice_x11.cpp:653
 #2  0xb79a8d38 in QPaintDevice::x11AppDpiY ()
 at kernel/qpaintdevice_x11.cpp:675
 #3  0xb797f7ef in qt_init_internal (argcptr=0xbfaa7ac0, argv=0xbfaa7b34,
 display=0x0, visual=0, colormap=0) at kernel/qapplication_x11.cpp:2162
 #4  0xb79802ce in qt_init (argcptr=0xbfaa7ac0, argv=0xbfaa7b34)
 at kernel/qapplication_x11.cpp:2385
 #5  0xb79f822c in QApplication::construct (this=0xbfaa79f0,
 [EMAIL PROTECTED],
 argv=0xbfaa7b34, type=QApplication::GuiClient)
 at kernel/qapplication.cpp:813
 #6  0xb79f85dc in QApplication (this=0xbfaa79f0, [EMAIL PROTECTED],
 argv=0xbfaa7b34) at kernel/qapplication.cpp:728
 #7  0x08055561 in main (argc=1, argv=0x8087480) at main.cpp:32
 
 Brent
 
 On Tue, 2006-09-26 at 00:09 +0200, Flavio Stanchina wrote:
 Brent S. Elmer wrote:
  The kernel seems to be fine.  Here is an strace -f  for fireglcontrol.

 It looks like fireglcontrol breaks after reading qtrc, so I'd suspect a
 problem there. However, it's definitely not conclusive.

 I'm attaching a fireglcontrol binary compiled with debug info: please run
 it from gdb and tell me how it goes. You might also want to install
 qt-x11-free-dbg (careful, it's a 32 MB download) to get useful stack traces
 in the Qt code, if the problem turns out to be in there.


Brent S. Elmer wrote:
 In the strace I see a failure soon after fstat64 which is for large file
 systems.  I had CONFIG_LSF turned on in my kernel.  I rebuilt a kernel
 with it turned off to see if it helped.  I still get the floating point
 exception and I still see fstat64 in the strace.  Is there some other
 kernel config option for large file systems that I can turn off?  I have
 another qt application that is giving a floating point exception during
 startup.  I see fstat64 and stat64 in the strace of it also.  Open
 office .org also gives a floating point exception with stat64 and
 fstat64 references in the strace.  I am running an up to date Debian
 etch system with a 2.6.17 kernel. 

I believe that fstat64 just happens to be the last system call before
those programs cause the exception, and anyway, CONFIG_LSF has nothing
to do with fstat64 and friends. The kernel supports files larger than
4GB (the 32-bit limit) even without CONFIG_LSF; that's only for files
even larger, more than 2TB (i.e. 512 times more).

That's even more evidence that the problem is not fireglconfig per se,
however.

-- 
Ciao, Flavio


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#388271: fglrx-control: fireglcontrol give Floating point exception

2006-09-26 Thread Brent S. Elmer




I moved qtrc out of the way. I don't think there is any difference.

(gdb) r
Starting program: /home/brente/firegl/fireglcontrol
[Thread debugging using libthread_db enabled]
[New Thread -176896 (LWP 25293)]
Qt: gdb: -nograb added to command-line options.
 Use the -dograb option to enforce grabbing.

Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread -176896 (LWP 25293)]
0xb79b1bed in create_dpis () at kernel/qpaintdevice_x11.cpp:531
531 kernel/qpaintdevice_x11.cpp: No such file or directory.
 in kernel/qpaintdevice_x11.cpp
(gdb) bt
#0 0xb79b1bed in create_dpis () at kernel/qpaintdevice_x11.cpp:531
#1 0xb79b1cbb in QPaintDevice::x11AppDpiY (screen=-1)
 at kernel/qpaintdevice_x11.cpp:653
#2 0xb79b1d38 in QPaintDevice::x11AppDpiY () at kernel/qpaintdevice_x11.cpp:675
#3 0xb79887ef in qt_init_internal (argcptr=0xbfeb1ec0, argv=0xbfeb1f34,
 display=0x0, visual=0, colormap=0) at kernel/qapplication_x11.cpp:2162
#4 0xb79892ce in qt_init (argcptr=0xbfeb1ec0, argv=0xbfeb1f34)
 at kernel/qapplication_x11.cpp:2385
#5 0xb7a0122c in QApplication::construct (this=0xbfeb1df0, [EMAIL PROTECTED],
 argv=0xbfeb1f34, type=QApplication::GuiClient) at kernel/qapplication.cpp:813
#6 0xb7a015dc in QApplication (this=0xbfeb1df0, [EMAIL PROTECTED],
 argv=0xbfeb1f34) at kernel/qapplication.cpp:728
#7 0x08055561 in main (argc=1, argv=0x8087480) at main.cpp:32

On Tue, 2006-09-26 at 19:06 +0200, Flavio Stanchina wrote:


Please keep [EMAIL PROTECTED] in the cc; this information should be
recorded in the bug report.

Brent S. Elmer wrote:
 I downloaded qt-x11-free-dbg and ran your debug version of
 fireglcontrol.  I didn't download the source to debug but here is the
 gdb info anyway:

As far as I can tell, it's Qt that's causing the exception, but to be on
the safe side it's probably a good idea to do some more tests before we
reassign the bug. First of all, the last file accessed in the strace was
/home/brente/.qt/qtrc: try moving it out of the way and see it things
get better.

 [EMAIL PROTECTED]:~/firegl$ gdb fireglcontrol
 GNU gdb 6.4.90-debian
 Copyright (C) 2006 Free Software Foundation, Inc.
 GDB is free software, covered by the GNU General Public License, and you are
 welcome to change it and/or distribute copies of it under certain
 conditions.
 Type show copying to see the conditions.
 There is absolutely no warranty for GDB.  Type show warranty for details.
 This GDB was configured as i486-linux-gnu...Using host libthread_db
 library / lib/tls/i686/cmov/libthread_db.so.1.
 
 (gdb) r
 Starting program: /home/brente/firegl/fireglcontrol
 [Thread debugging using libthread_db enabled]
 [New Thread -1222313760 (LWP 19558)]
 Qt: gdb: -nograb added to command-line options.
  Use the -dograb option to enforce grabbing.
 
 Program received signal SIGFPE, Arithmetic exception.
 [Switching to Thread -1222313760 (LWP 19558)]
 0xb79a8bed in create_dpis () at kernel/qpaintdevice_x11.cpp:531
 531 kernel/qpaintdevice_x11.cpp: No such file or directory.
 in kernel/qpaintdevice_x11.cpp
 (gdb) bt
 #0  0xb79a8bed in create_dpis () at kernel/qpaintdevice_x11.cpp:531
 #1  0xb79a8cbb in QPaintDevice::x11AppDpiY (screen=-1)
 at kernel/qpaintdevice_x11.cpp:653
 #2  0xb79a8d38 in QPaintDevice::x11AppDpiY ()
 at kernel/qpaintdevice_x11.cpp:675
 #3  0xb797f7ef in qt_init_internal (argcptr=0xbfaa7ac0, argv=0xbfaa7b34,
 display=0x0, visual=0, colormap=0) at kernel/qapplication_x11.cpp:2162
 #4  0xb79802ce in qt_init (argcptr=0xbfaa7ac0, argv=0xbfaa7b34)
 at kernel/qapplication_x11.cpp:2385
 #5  0xb79f822c in QApplication::construct (this=0xbfaa79f0,
 [EMAIL PROTECTED],
 argv=0xbfaa7b34, type=QApplication::GuiClient)
 at kernel/qapplication.cpp:813
 #6  0xb79f85dc in QApplication (this=0xbfaa79f0, [EMAIL PROTECTED],
 argv=0xbfaa7b34) at kernel/qapplication.cpp:728
 #7  0x08055561 in main (argc=1, argv=0x8087480) at main.cpp:32
 
 Brent
 
 On Tue, 2006-09-26 at 00:09 +0200, Flavio Stanchina wrote:
 Brent S. Elmer wrote:
  The kernel seems to be fine.  Here is an strace -f  for fireglcontrol.

 It looks like fireglcontrol breaks after reading qtrc, so I'd suspect a
 problem there. However, it's definitely not conclusive.

 I'm attaching a fireglcontrol binary compiled with debug info: please run
 it from gdb and tell me how it goes. You might also want to install
 qt-x11-free-dbg (careful, it's a 32 MB download) to get useful stack traces
 in the Qt code, if the problem turns out to be in there.


Brent S. Elmer wrote:
 In the strace I see a failure soon after fstat64 which is for large file
 systems.  I had CONFIG_LSF turned on in my kernel.  I rebuilt a kernel
 with it turned off to see if it helped.  I still get the floating point
 exception and I still see fstat64 in the strace.  Is there some other
 kernel config option for large file systems that I can turn off?  I have
 another qt application that is giving a floating point exception during
 startup.  I see fstat64 

Bug#388271: fglrx-control: fireglcontrol give Floating point exception

2006-09-26 Thread Flavio Stanchina
Brent S. Elmer wrote:
 I moved qtrc out of the way.  I don't think there is any difference.
 
 (gdb) r
 Starting program: /home/brente/firegl/fireglcontrol
 [Thread debugging using libthread_db enabled]
 [New Thread -176896 (LWP 25293)]
 Qt: gdb: -nograb added to command-line options.
  Use the -dograb option to enforce grabbing.
 
 Program received signal SIGFPE, Arithmetic exception.
 [Switching to Thread -176896 (LWP 25293)]
 0xb79b1bed in create_dpis () at kernel/qpaintdevice_x11.cpp:531
 531 kernel/qpaintdevice_x11.cpp: No such file or directory.
 in kernel/qpaintdevice_x11.cpp
 (gdb) bt
 #0  0xb79b1bed in create_dpis () at kernel/qpaintdevice_x11.cpp:531
 #1  0xb79b1cbb in QPaintDevice::x11AppDpiY (screen=-1)
 at kernel/qpaintdevice_x11.cpp:653
 #2  0xb79b1d38 in QPaintDevice::x11AppDpiY () [...]

OK, this is the same as http://bugs.debian.org/384325 and you might want to
try the workaround explained in the next-to-last mail,
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=384325;msg=47

This is definitely a Qt problem, not fireglcontrol's. I'm going to reassign
this bug to Qt and merge it with #384325 unless someone can show me that
something in fireglcontrol is helping this bug to come out.

-- 
Ciao, Flavio



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#388271: fglrx-control: fireglcontrol give Floating point exception

2006-09-25 Thread Flavio Stanchina
tags 388271 + moreinfo unreproducible
thanks

Brent S. Elmer wrote:
 fireglcontrol doesn't work it just gives Floating point exception

It works here. Please check your setup; I see you're using a
custom-built kernel, are you sure it's fine?

-- 
Ciao, Flavio


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#388271: fglrx-control: fireglcontrol give Floating point exception

2006-09-19 Thread Brent S. Elmer




Package: fglrx-control
Version: 8.28.8-0.1
Severity: grave
Justification: renders package unusable

fireglcontrol doesn't work it just gives Floating point exception

-- System Information:
Debian Release: testing/unstable
 APT prefers testing
 APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17.060918
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages fglrx-control depends on:
ii libc6 2.3.6.ds1-4 GNU C Library: Shared libraries
ii libgcc1 1:4.1.1-13 GCC support library
ii libqt3-mt 3:3.3.6-4 Qt GUI Library (Threaded runtime v
ii libstdc++6 4.1.1-13 The GNU Standard C++ Library v3
ii libx11-6 2:1.0.0-8 X11 client-side library
ii libxext6 1:1.0.1-2 X11 miscellaneous extension librar
ii libxxf86vm1 1:1.0.0-4 X11 XFree86 video mode extension l

fglrx-control recommends no packages.

-- no debconf information