--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: "immstool help" core dumps if ~/.imms/imms2.db does not exist (imms was never initialized before)
- From: Frédéric Bothamy <frederic.bothamy@free.fr>
- Date: Mon, 18 Jul 2005 18:39:25 +0200
- Message-id: <20050718163925.GF427@athena.olympe.fr>
Package: imms
Version: 2.0.3-2
Severity: normal
Hello,
Here are the steps to reproduce the core dump:
- install imms
- do NOT enable imms in xmms
- run "immstool help"
$ LANG=C immstool help
Abandon (core dumped)
Here is a part of the strace:
$ strace immstool help
execve("/usr/bin/immstool", ["immstool", "help"], [/* 32 vars */]) = 0
uname({sys="Linux", node="pcfb", ...}) = 0
[...]
access("/home/fred/.imms/imms.db", R_OK) = -1 ENOENT (No such file or directory)
open("/home/fred/.imms/imms2.db", O_RDWR|O_CREAT|O_LARGEFILE, 0644) = -1 ENOENT (No such file or directory)
open("/home/fred/.imms/imms2.db", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
futex(0xb7d354b4, FUTEX_WAKE, 2147483647) = 0
futex(0xb7c70dc4, FUTEX_WAKE, 2147483647) = 0
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
tgkill(24723, 24723, SIGABRT) = 0
--- SIGABRT (Aborted) @ 0 (0) ---
+++ killed by SIGABRT (core dumped) +++
The directory /home/fred/.imms/ and the file /home/fred/.imms/imms2.db
don't exist yet.
After enabling imms in xmms, the command works.
Another bug is that even after enabling imms, "immstool graph"
segfaults and dumps core on startup. If you want, I can fill a
separate bug report for this problem.
Fred
-- System Information:
Debian Release: testing/unstable
APT prefers testing-proposed-updates
APT policy: (500, 'testing-proposed-updates'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12.2
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)
Versions of packages imms depends on:
ii fftw3 3.0.1-11 Library for computing Fast Fourier
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii libgcc1 1:4.0.0-9 GCC support library
ii libglib1.2 1.2.10-10 The GLib library of C routines
ii libglib2.0-0 2.6.5-1 The GLib library of C routines
ii libgtk1.2 1.2.10-17 The GIMP Toolkit set of widgets fo
ii libpcre3 5.0-1.1 Perl 5 Compatible Regular Expressi
ii libsqlite3-0 3.2.1-1 SQLite 3 shared library
ii libstdc++5 1:3.3.5-13 The GNU Standard C++ Library v3
ii libtag1 1.3.1-1 TagLib Audio Meta-Data Library
ii libx11-6 4.3.0.dfsg.1-14 X Window System protocol client li
ii libxext6 4.3.0.dfsg.1-14 X Window System miscellaneous exte
ii libxi6 4.3.0.dfsg.1-14 X Window System Input extension li
ii xlibs 4.3.0.dfsg.1-14 X Keyboard Extension (XKB) configu
ii xmms 1.2.10+cvs20050209-2 Versatile X audio player that look
ii zlib1g 1:1.2.2-4.sarge.1 compression library - runtime
Versions of packages imms recommends:
pn sox <none> (no description available)
pn sqlite <none> (no description available)
pn sqlite3 <none> (no description available)
-- no debconf information
--- End Message ---