Package: xlog
Version: 2.0.5-1
Severity: grave
Tags: upstream patch
Justification: renders package unusable
Segmentation fault during dxcc initilization, reading dxcc/cty.dat.
Patch provided.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.37-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages xlog depends on:
ii libatk1.0-0 1.30.0-1 The ATK accessibility toolkit
ii libc6 2.11.2-13 Embedded GNU C Library: Shared lib
ii libcairo2 1.10.2-4 The Cairo 2D vector graphics libra
ii libfontconfig1 2.8.0-2.1 generic font configuration library
ii libfreetype6 2.4.4-1 FreeType 2 font engine, shared lib
ii libglib2.0-0 2.28.1-1+b1 The GLib library of C routines
ii libgtk2.0-0 2.20.1-2 The GTK+ graphical user interface
ii libhamlib2 1.2.12-1 Run-time library to control radio
ii libpango1.0-0 1.28.3-2~sid1 Layout and rendering of internatio
ii xlog-data 2.0.5-1 data for xlog, a GTK+ Logging prog
Versions of packages xlog recommends:
ii shared-mime-info 0.90-1 FreeDesktop.org shared MIME databa
ii xdg-utils 1.1.0~rc1-2 desktop integration utilities from
Versions of packages xlog suggests:
pn cwdaemon <none> (no description available)
ii extra-xdg-menus 1.0-4 Extra menu categories for applicat
pn glabels <none> (no description available)
-- no debconf information
454,455c454,455
< for (dxccitem = 0; dxccitem < 9; dxccitem++)
< g_strstrip (split[dxccitem]);
---
> for (dxccitem = 0; dxccitem < 9; dxccitem++)
> g_strstrip (split[dxccitem]);
457,459c457,459
< dxcc_add (split[0], atoi(split[1]), atoi(split[2]), cont_to_enum(split[3]),
< (gint)(strtod(split[4], NULL) * 100), (gint)(strtod(split[5], NULL) * 100),
< (gint)(strtod(split[6], NULL) * 10), split[7], split[8]);
---
> dxcc_add (split[0], atoi(split[1]), atoi(split[2]), cont_to_enum(split[3]),
> (gint)(strtod(split[4], NULL) * 100), (gint)(strtod(split[5], NULL) * 100),
> (gint)(strtod(split[6], NULL) * 10), split[7], split[8]);
461c461
< /* NOTE: split[7] is the description prefix, it is not added to the hashtable */
---
> /* NOTE: split[7] is the description prefix, it is not added to the hashtable */
463,474c463,473
< /* split up the second line */
< pfxsplit = g_strsplit (split[8], ",", 0);
< /* exception list */
< for (ipfx = 0;; ipfx++)
< {
< if (!pfxsplit[ipfx]) break;
< pfx = findpfx_in_exception (pfxsplit[ipfx]);
< g_hash_table_insert (prefixes, g_strdup (pfx), GINT_TO_POINTER (programstate.countries));
< }
< g_strfreev (pfxsplit);
< g_strfreev (split);
< programstate.countries++;
---
> /* split up the second line */
> pfxsplit = g_strsplit (split[8], ",", 0);
> /* exception list */
> for (ipfx = 0;; ipfx++)
> {
> if (!pfxsplit[ipfx]) break;
> pfx = findpfx_in_exception (pfxsplit[ipfx]);
> g_hash_table_insert (prefixes, g_strdup (pfx), GINT_TO_POINTER (programstate.countries));
> }
> g_strfreev (pfxsplit);
> programstate.countries++;
475a475
> g_strfreev (split);