[ltp] An "inverse" fan problem

Jan Girlich linux-thinkpad@linux-thinkpad.org
Thu, 26 May 2005 02:55:55 +0200


This is a cryptographically signed message in MIME format.

--------------ms090809020107020305040300
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Michael Keyl schrieb:
> Zitat von Jan Girlich <vollkorn@freenet.de>: 
>  
>>I tried to compile the program. But 
>>1. gcc says there is no pentium-m-flag, so I changed it to pentium4,  
>>pentium3, pentium, pentiumpro with no effect 
> 
> Which gcc version do you use? Maybe its too old for pentium-m support. Try 
> -mpentiumpro or -mpentium instead. 

It is. I use pentium4

>>2. Even compiling with using just 
>>gcc -o fan_test -lm fan_test.c 
>> 
>>leads to the same problem: 
>> 
>>thinkpad ~ # ./fan_test 
>>Segmentation fault 
> 
> Well this is a little bit strange, because I can not reproduce the problem. 
> Maybe for your gcc/glibc/kernel the arrays are too big for stack objects. Can 
> you try a smaller value for MATDIM (say 10).

This worked. I figured out that 723 is the highest number I can choose 
without getting segmentation faults.

Now I'm starting testing.

Bye
Jan

--------------ms090809020107020305040300
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIHsDCC
A9QwggM9oAMCAQICDnSBAAAAAhd7tGq12El6MA0GCSqGSIb3DQEBBAUAMIG8MQswCQYDVQQG
EwJERTEQMA4GA1UECBMHSGFtYnVyZzEQMA4GA1UEBxMHSGFtYnVyZzE6MDgGA1UEChMxVEMg
VHJ1c3RDZW50ZXIgZm9yIFNlY3VyaXR5IGluIERhdGEgTmV0d29ya3MgR21iSDEiMCAGA1UE
CxMZVEMgVHJ1c3RDZW50ZXIgQ2xhc3MgMSBDQTEpMCcGCSqGSIb3DQEJARYaY2VydGlmaWNh
dGVAdHJ1c3RjZW50ZXIuZGUwHh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