[Bug 58131] Segmentation Faults on Ubuntu Kernel
Pooya
pooyafarshim at yahoo.com
Tue Aug 29 19:02:20 UTC 2006
Public bug reported:
Binary package hint: kernel-image-2.6.15-26-386-di
The following C program seg faults on ubuntu:
2.6.15-26-386 #1 PREEMPT Thu Aug 3 02:52:00 UTC 2006 i686 GNU/Linux
But runs OK on:
2.6.9-34.0.1.EL #1 Wed May 17 16:44:57 EDT 2006 i686 i686 i386 GNU/Linux
this is comipled with:
gcc 4.0.3
gmp 4.1.4
compiled with -lgmp -static -static-libgcc.
The program works OK without the "printf" command and with it, it seg
faults.
The program is:
#include<stdio.h>
#include<gmp.h>
int main()
{
FILE* file;
mpz_t b;
file = fopen("mf.txt","w");
mpz_init(b);
mpz_fac_ui(b,1000000);
gmp_fprintf(file,"%Zd!\n", b);
fclose(file);
return(0);
}
** Affects: linux-source-2.6.15 (Ubuntu)
Importance: Untriaged
Status: Unconfirmed
--
Segmentation Faults on Ubuntu Kernel
https://launchpad.net/bugs/58131
More information about the kernel-bugs
mailing list