On 10. 3. 25 13:45, John Frankish wrote:
Svn-1.14.3 and svn1.14.5 segfault using 32-bit x86, but not on 64-bit x86_64 using the same distro (tinycorelinux) and the same machine.Building from source using: CC="gcc -ggdb" CXX="g++ -ggdb" ./configure --prefix=/usr/local -disable-static --localstatedir=/var --with-utf8proc=internal find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make
(I assume there's a 'make install' step here, too.)
gdb --args svn cohttps://svn.apache.org/repos/asf/subversion/ GNU gdb (GDB) 13.2 ... Reading symbols from svn... (gdb) run Starting program: /usr/local/bin/svn cohttps://svn.apache.org/repos/asf/subversion/ [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. svn_io_get_dirents3 (dirents=0xbffff0a8, path=0x4967d8 "/usr/src/subversion-1.14.5/subversion", only_check_type=1, result_pool=warning: could not convert 'apr_pool_t' from the host encoding (ANSI_X3.4-1968) to UTF-32. This normally should not happen, please file a bug report.
This is a GDB bug and should be reported there; GDB has no business trying to converting the "encoding" of non-string arguments.
0x4966c8, scratch_pool=0x4966c8) at subversion/libsvn_subr/io.c:3069 3069 if ((this_entry.name[0] == '.') (gdb) t a a bt Thread 1 (Thread 0xb7179740 (LWP 2874) "svn"): #0 svn_io_get_dirents3 (dirents=0xbffff0a8, path=0x4967d8 "/usr/src/subversion-1.14.5/subversion", only_check_type=1, result_pool=0x4966c8, scratch_pool=0x4966c8) at subversion/libsvn_subr/io.c:3069
Can you show the local frame (values of local variables) at this point? -- Brane
