From: Damyan I. <di...@cr...> - 2005-09-16 10:11:43
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Damyan Ivanov wrote: > When exiting FR, the process hangs. The windows disappear, but the > process is still running. Running it with strace ends with: > > munmap(0xb6afd000, 206340) = 0 > munmap(0xb6c54000, 376132) = 0 > munmap(0xb6ad3000, 171032) = 0 > munmap(0xb6c3e000, 89208) = 0 > munmap(0xb6b30000, 1105876) = 0 > close(7) = 0 > stat64("/home/dam/.flamerobin", {st_mode=S_IFDIR|0775, st_size=4, ...}) = 0 > open("/home/dam/.flamerobin/fr_databases.conf", > O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 7 > write(7, "<?xml version=\'1.0\' encoding=\'IS"..., 637) = 637 > close(7) = 0 > rt_sigaction(SIGFPE, {0xb7894e10, [], SA_RESTART}, {0xb7894e10, [], > SA_RESTART}, 8) = 0 > send(6, "\0\0\0\25\0\0\0\0", 8, 0) = 8 > select(7, [6], NULL, NULL, NULL) = 1 (in [6]) > recv(6, "\0\0\0\t\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0"..., > 8192, 0) = 32 > send(6, "\0\0\0\6", 4, 0) = 4 > shutdown(6, 2 /* send and receive */) = 0 > close(6) = 0 > futex(0x82486d0, FUTEX_WAIT, 2, NULL > > and just sits there. Ctrl-C in the terminal (how lucky I've used > terminal to run it) ends the process. Here's gdb backtrace: #0 0xffffe410 in __kernel_vsyscall () #1 0xb75a452e in __lll_mutex_lock_wait () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb75a1c96 in _L_mutex_lock_17 () from /lib/tls/i686/cmov/libpthread.so.0 #3 0xb75a0f27 in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0 #4 0xb76d8fd6 in gds__register_cleanup () from /usr/lib/libfbclient.so.1 #5 0xb76da60b in perf_report () from /usr/lib/libfbclient.so.1 #6 0xb76d7a5d in gds__print_blr () from /usr/lib/libfbclient.so.1 #7 0xb748e6c4 in exit () from /lib/tls/i686/cmov/libc.so.6 #8 0xb7476eb8 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6 #9 0x0805ffd1 in _start () at ../sysdeps/i386/elf/start.S:119 It seems that libfbclient tries to acquire some lock that is still busy. There are no other users on the server/database. Manually disconnecting from database before closing the main window seems to fix tre problem. Hopefully, this rings some bells... dam - -- Damyan Ivanov 0x9725F63B Creditreform Bulgaria di...@cr... http://www.creditreform.bg/ phone: +359(2)928-2611, 929-3993 fax: +359(2)920-0994 mob. +359(88)856-6067 ICQ 3028500 da...@ja.../Gaim -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDKpqRHqjlqpcl9jsRAvYuAJ0UAsEDA8L4NVXQ7TZSRZcIDQ4BuQCfWoh7 t14gK8QvpB/S/TYHdDQXeBs= =4SBO -----END PGP SIGNATURE----- |