Opened 14 years ago
Closed 14 years ago
#909 closed defect (invalid)
cu_tester segfaults on 64bit system
Reported by: | strk | Owned by: | pramsey |
---|---|---|---|
Priority: | critical | Milestone: | PostGIS 2.0.0 |
Component: | postgis | Version: | master |
Keywords: | Cc: |
Description
(gdb) run Starting program: /home/src/postgis/postgis/liblwgeom/cunit/cu_tester CUnit - A Unit testing framework for C - Version 2.1-0 http://cunit.sourceforge.net/ Suite: print_suite Test: test_lwprint_default_format ... Program received signal SIGSEGV, Segmentation fault. 0x000000000048d660 in strcmp () (gdb) bt #0 0x000000000048d660 in strcmp () #1 0x0000000000404417 in test_lwprint_assert_format ( point_wkt=<value optimized out>, format=<value optimized out>, expected=0x44df05 "0°0'0.000\"N 0°0'0.000\"E") at cu_print.c:35 #2 0x0000000000404795 in test_lwprint_default_format () at cu_print.c:65 #3 0x00007ffff79512aa in ?? () from /usr/lib/libcunit.so.1 #4 0x00007ffff79516ee in ?? () from /usr/lib/libcunit.so.1 #5 0x00007ffff7951828 in CU_run_all_tests () from /usr/lib/libcunit.so.1 #6 0x0000000000411675 in main (argc=1, argv=0x7fffffffe0e8) at cu_tester.c:100
Note:
See TracTickets
for help on using tickets.
It turned out to be a bug in the gold linker (beta from binutils). Hard times ':-/