Comment 0 for bug 42173

Revision history for this message
In , Xavier Bestel (xavier-bestel) wrote : giftoxic: segfault on first run with --server

Package: giftoxic
Version: 0.0.10-4
Severity: normal

I'm launching giFToxic for the 1st time, so there's no $HOME/.giFt directory.
I'm using the --server option to connect to an mldonkey server. giFToxic
segfaults apparently after trying to open a nonexistent file. Here is
the tail of an strace:

read(3, "n\2\325\6H\267\234M\1\20\0\0\20\0\0\0\0\0\0\20\20\20\20"..., 32) = 32
read(3, 0xffffb6e0, 32) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
read(3, "\1\1\347\6\0\0\0\0@\0\0\0008\0\240\0\304\4\275\0\304\4"..., 32) = 32
writev(3, [{"\22\0\30\0\3\0\240\2(\0\0\0)\0\0\0 \0\5\0\22\0\0\0\24\2"..., 15808}, {"\\\\\\\377\\\\\\\377\\\\\\\377\\\\\\\377\\\\\\\377\\\\"..., 676}], 2) = 16484
writev(3, [{"\232\10\t\0\3\0\240\2W\1\240\2X\1\240\2U\1\240\2\0\0\0"..., 15732}, {"\363\363\363\377\363\363\363\377\363\363\363\377\307\307"..., 676}], 2) = 16408
write(3, "\232\10\t\0\3\0\240\2\305\1\240\2\306\1\240\2\303\1\240"..., 16380) = 16380
stat64("/home/xav/.giFT/ui/ui.conf", 0xffffc3bc) = -1 ENOENT (No such file or directory)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-2-amd64-k8
Locale: LANG=fr_FR.UTF-8@euro, LC_CTYPE=fr_FR.UTF-8@euro (charmap=UTF-8)

Versions of packages giftoxic depends on:
ii libatk1.0-0 1.10.3-1 The ATK accessibility toolkit
ii libc6 2.3.5-9 GNU C Library: Shared libraries an
ii libgift0 0.11.8.1-1 helper library for various giFT co
ii libglib2.0-0 2.8.4-2 The GLib library of C routines
ii libgtk2.0-0 2.8.9-2 The GTK+ graphical user interface
ii libpango1.0-0 1.10.1-2 Layout and rendering of internatio

Versions of packages giftoxic recommends:
ii giftd 0.11.8.1-1 filesharing daemon from the giFT p

-- no debconf information