David E. Thiel wrote: > Hello, > > On a couple boxes, after upgrading from 6-STABLE to RELENG_7, a fair > number of apps segfault on execution even with compat6x installed. Is > this related to the libthr changeover with 7? I don't see anything in a > (quick) check of list archives or in UPDATING. A backtrace shows: > > Program received signal SIGSEGV, Segmentation fault. > [Switching to LWP 100140] > 0x287469d9 in pthread_join () from /lib/libthr.so.3 > (gdb) bt > #0 0x287469d9 in pthread_join () from /lib/libthr.so.3 > #1 0x28743c94 in pthread_self () from /lib/libthr.so.3 > #2 0x28743f5e in pthread_rwlock_timedwrlock () from /lib/libthr.so.3 > #3 0x28746bf1 in pthread_join () from /lib/libthr.so.3 > #4 0x28743c94 in pthread_self () from /lib/libthr.so.3 > #5 0x28743f5e in pthread_rwlock_timedwrlock () from /lib/libthr.so.3 > #6 0x28746bf1 in pthread_join () from /lib/libthr.so.3 > #7 0x28743c94 in pthread_self () from /lib/libthr.so.3 > #8 0x28743f5e in pthread_rwlock_timedwrlock () from /lib/libthr.so.3 > > And so on ad infinitum. I've recently reproduced this with w3m and svn. > Recompiling the app fixes the problem, so I don't mind much, but this > seems like it will bite people, and it would be no fun on a production > server. Part of the upgrade to RELENG_7 (as with any change of branch) *is* to recompile all ports. You don't need it if you plan never to compile any new ports on your 7.0 system, but if you start updating them piecewise then you will get binaries linked to two versions of FreeBSD libraries (like libthr.so.2 and libthr.so.3) which is a recipe for sadness. KrisReceived on Thu Oct 18 2007 - 05:24:53 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:19 UTC