[pkg-firebird-general] Bug#565801: src:firebird2.5: FTBFS on kfreebsd-amd64
Petr Salinger
Petr.Salinger at seznam.cz
Tue Feb 2 18:46:44 UTC 2010
>
> firebird2.5 2.5.0.25784~ReleaseCandidate1.ds2-6 behaved the same:
> ../gen/firebird/bin/gbak_static -MODE read_only -R
> ../builds/misc/help.gbak ../gen/firebird/help/help.fdb
> make[3]: *** [../gen/firebird/help/help.fdb] Segmentation fault
> (core dumped)
>
> ˙˙ and built fine on asdfasdf.debian.net. Is it possible to get the
> core dump? Maybe looking into it can sched some light.
Yes and no.
Line 472 is call to "dbb_functions(*p)"
#3 0x00000000005248b6 in Database (this=0x843d5fe28, p=0x843d52020) at
../src/jrd/../jrd/../jrd/Database.h:472
#4 0x000000000050c082 in Jrd::Database::create (tdbb=0x7fffffff98d0,
expanded_filename=<value optimized out>, attach_flag=<value optimized
out>) at ../src/jrd/../jrd/../jrd/Database.h:285
#5 init (tdbb=0x7fffffff98d0, expanded_filename=<value optimized out>,
attach_flag=<value optimized out>) at ../src/jrd/jrd.cpp:4838
#6 0x000000000051e953 in jrd8_attach_database
(user_status=0x7fffffffbd00, filename=<value optimized out>,
handle=0x7fffffffa138, dpb_length=<value optimized out>, dpb=<value
optimized out>)
at ../src/jrd/jrd.cpp:870
#7 0x000000000046f460 in isc_attach_database (user_status=<value
optimized out>, file_length=<value optimized out>, file_name=<value
optimized out>, public_handle=<value optimized out>,
dpb_length=<value optimized out>, dpb=<value optimized out>) at
../src/jrd/why.cpp:1473
#8 0x0000000000431c23 in RESTORE_restore (file_name=<value optimized
out>, database_name=<value optimized out>) at
../temp/boot/burp/restore.cpp:2291
#9 0x0000000000434fa2 in gbak (uSvc=0x800a8c7a8) at
../src/burp/burp.cpp:1070
#10 0x0000000000439c00 in main (argc=<value optimized out>, argv=<value
optimized out>) at ../src/burp/burpMain.cpp:47
Here is ktrace:
../gen/firebird/bin/gbak_static -MODE read_only -R ../builds/misc/metadata.gbak metadata.fdb
45835 gbak_static CALL unlink(0x7fffffff9780)
45836 gbak_static RET wait4 0
45835 gbak_static NAMI "/tmp/firebird/fb_lock_6b0000009d1f010000000000"
45836 gbak_static CALL poll(0xa92190,0x1,0x7d0)
45835 gbak_static RET unlink 0
45835 gbak_static CALL semop(0xf30001,0x7fffffff9b50,0x1)
45835 gbak_static RET semop 0
45835 gbak_static CALL flock(0x6,LOCK_EX)
45835 gbak_static RET flock 0
45835 gbak_static CALL flock(0xa,LOCK_UN)
45835 gbak_static RET flock 0
45835 gbak_static CALL flock(0xa,LOCK_EX|LOCK_NB)
45835 gbak_static RET flock 0
45835 gbak_static CALL compat7.__semctl(0xf30001,0,IPC_RMID,0)
45835 gbak_static RET compat7.__semctl 0
45835 gbak_static CALL flock(0xa,LOCK_UN)
45835 gbak_static RET flock 0
45835 gbak_static CALL close(0xa)
45835 gbak_static RET close 0
45835 gbak_static CALL munmap(0x800aa5000,0x100000)
45835 gbak_static RET munmap 0
45835 gbak_static CALL close(0xa)
45835 gbak_static RET close -1 errno 9 Bad file descriptor
45835 gbak_static CALL flock(0x6,LOCK_UN)
45835 gbak_static RET flock 0
45835 gbak_static CALL __getcwd(0x7fffffff9470,0x400)
45835 gbak_static NAMI
"/build/manual/firebird2.5-2.5.0.25784~ReleaseCandidate1.ds2/gen"
45835 gbak_static RET __getcwd 0
45835 gbak_static CALL readlink(0x800a88408,0x7fffffff9910,0x400)
45835 gbak_static NAMI
"/build/manual/firebird2.5-2.5.0.25784~ReleaseCandidate1.ds2/gen/metadata.fdb"
45835 gbak_static RET readlink -1 errno 22 Invalid argument
45835 gbak_static CALL
open(0x7fffffff8fe0,O_RDONLY|O_LARGEFILE,<unused>0)
45835 gbak_static NAMI "/etc/firebird/2.5/aliases.conf"
45835 gbak_static RET open -1 errno 2 No such file or directory
45835 gbak_static CALL write(0x2,0x7fffffff6b60,0x10)
45835 gbak_static GIO fd 2 wrote 16 bytes
"create 1 (nil)
"
45835 gbak_static RET write 16/0x10
45835 gbak_static CALL gettimeofday(0x7fffffff9320,0)
45835 gbak_static RET gettimeofday 0
45836 gbak_static RET poll -1 errno 4 Interrupted system call
45837 gbak_static RET sigsuspend -1 errno 4 Interrupted system call
45836 gbak_static PSIG SIGKILL SIG_DFL
45837 gbak_static PSIG SIGKILL SIG_DFL
45835 gbak_static PSIG SIGSEGV SIG_DFL
Petr
More information about the pkg-firebird-general
mailing list