[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re: Problems with pspp on fresh toolchain
From: |
John Darrington |
Subject: |
Re: Re: Problems with pspp on fresh toolchain |
Date: |
Sun, 15 Jan 2012 06:54:45 +0000 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Sat, Jan 14, 2012 at 11:18:22PM +0100, Harry Thijssen wrote:
Hi the problem comes from line 695 in settings.c :
return the_settings.output_routing[type] | SETTINGS_DEVICE_UNFILTERED;
If this line is commented out, the program doesn't abort.
And now I am lost again. No idea how to come further.
This function ( settings_get_output_routing ) has only one caller. That is in
output/driver.c: (output_submit__) :
if (settings_get_output_routing (type) & d->device_type)
d->class->submit (d, item);
If you have removed the return statement, and the crash doesn't occur,
this could be for one of two reason:
1. The crash was due to the expression the_settings.output_routing[type]
causing a buffer overflow (unlikely, but possible; check the value of
"type")
2. Your change has caused the if-condition to evaluate to false, and
therefore the line
d->class->submit (d, item);
(which is where the problem lies) is no longer being called.
We need to find out which of these reasons it is.
What happens if you comment out the line
if (settings_get_output_routing (type) & d->device_type)
J'
--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://keys.gnupg.net or any PGP keyserver for public key.
signature.asc
Description: Digital signature
- Problems with pspp on fresh toolchain, Harry Thijssen, 2012/01/13
- Re: Problems with pspp on fresh toolchain, Ben Pfaff, 2012/01/14
- Re: Re: Problems with pspp on fresh toolchain, harry . thijssen, 2012/01/14
- Re: Re: Problems with pspp on fresh toolchain, John Darrington, 2012/01/14
- Re: Re: Problems with pspp on fresh toolchain, Harry Thijssen, 2012/01/14
- Re: Re: Problems with pspp on fresh toolchain, John Darrington, 2012/01/14
- Re: Re: Problems with pspp on fresh toolchain, Harry Thijssen, 2012/01/14
- Re: Re: Problems with pspp on fresh toolchain,
John Darrington <=
- Re: Re: Problems with pspp on fresh toolchain, Harry Thijssen, 2012/01/15
- Re: Re: Problems with pspp on fresh toolchain, John Darrington, 2012/01/15
- Re: Re: Problems with pspp on fresh toolchain, Harry Thijssen, 2012/01/15
- Re: Re: Problems with pspp on fresh toolchain, John Darrington, 2012/01/15
- Re: Re: Problems with pspp on fresh toolchain, Harry Thijssen, 2012/01/15
- Re: Re: Problems with pspp on fresh toolchain, John Darrington, 2012/01/15
- Message not available
- Re: Re: Problems with pspp on fresh toolchain, John Darrington, 2012/01/16
- Re: Re: Re: Problems with pspp on fresh toolchain, harry . thijssen, 2012/01/16