Whoa, that's really a deeply hidden bug. The fact that it crashed before main indicates that the issue is somewhere in a constructor of a global class instance (or some other global initialization). sqlite3_bind_text indicates that it's somehow related to the sqlite3 functionality. But why there is no other class function call in the stack trace is a bit strange. Probably optimized away. I find 7 occurrences of sqlite3_bind_text(), but none of these look like it could be the immediate source of this problem. If have only two ideas: * For your local compiled version - did you have the same sqlite3-devel version installed on your systems as for the build? * If you use -O0 do you get the same error, but with a somewhat longer stacktrace? This should do the trick before the cmake call: export CFLAGS="%{optflags} -O0"