2
votes
1answer
273 views

new distros cause segmentation fault of old binary

I have an elderly (~1999) and unfortunately commercial graphic program that runs perfectly OK on systems with gcc up to 3.4.6 (CentOS 4.8). However, in all distributions based on gcc 4.* that I've ...
7
votes
2answers
2k views

.dtors looks writable, but attempts to write segfault

This is Ubuntu 9.04, 2.6.28-11-server, 32bit x86 $ cat test.c main() { int *dt = (int *)0x08049f18; *dt = 1; } $ readelf -S ./test ... [18] .dtors PROGBITS 08049f14 000f14 000008 ...