Submitted on 16 July 2009 at 11:02

On 16 July 2009 at 12:01 Jira commented:

STR-772, lennartkats:
Some further study of the stack smashing problem on Ubuntu 9.04 reveals that it isn’t triggered by all input programs. One unit test that fails though is stratego-libraries/lib/tests/term-common-test.str:

** stack smashing detected ***: /home/(…)/strategoxt/trunk/stratego-libraries/lib/tests/.libs/lt-term-common-test terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb7d0ada8]
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x0)[0xb7d0ad60]
/home/(…)/strategoxt/trunk/stratego-libraries/lib/native/stratego-lib/.libs/libstratego-lib-native.so[0xb7e32114]
/home/(…)/strategoxt/trunk/stratego-libraries/lib/native/stratego-lib/.libs/libstratego-lib-native.so(SSL_checksum+0xac)[0xb7e2f281]
/home/(…)/strategoxt/trunk/stratego-libraries/lib/spec/.libs/libstratego-lib.so(checksum_0_0+0x71)[0xb7f50f65]
/home/(…)/strategoxt/trunk/stratego-libraries/lib/spec/.libs/libstratego-lib.so(_2_0+0xfc)[0xb7e9e498]
/home/(…)/strategoxt/trunk/stratego-libraries/lib/tests/.libs/lt-term-common-test[0x8049b60]
/home/(…)/strategoxt/trunk/stratego-libraries/lib/spec/.libs/libstratego-lib.so[0xb7f97db4]
/home/(…)/strategoxt/trunk/stratego-libraries/lib/spec/.libs/libstratego-lib.so(do_test_2_0+0x103)[0xb7f95311]
/home/(…)/strategoxt/trunk/stratego-libraries/lib/spec/.libs/libstratego-lib.so(apply_test_4_0+0xc6)[0xb7f97c9d]
/home/(…)/strategoxt/trunk/stratego-libraries/lib/tests/.libs/lt-term-common-test[0x8049913]
/home/(…)/strategoxt/trunk/stratego-libraries/lib/tests/.libs/lt-term-common-test[0x804bc58]
/home/(…)/strategoxt/trunk/stratego-libraries/lib/spec/.libs/libstratego-lib.so(test_suite_2_0+0x102)[0xb7f9826a]
/home/(…)/strategoxt/trunk/stratego-libraries/lib/tests/.libs/lt-term-common-test[0x804bb58]
/home/(…)/strategoxt/trunk/stratego-libraries/lib/tests/.libs/lt-term-common-test[0x804d643]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7c23775]
/home/(…)/strategoxt/trunk/stratego-libraries/lib/tests/.libs/lt-term-common-test[0x8048e61]

Log in to post comments