[Bug 46453] canna-utils: addwords segfaults on amd64 when finished

Carthik Sharma mail at carthik.net
Wed May 24 22:53:42 UTC 2006


Public bug reported:

Note: This bug was reported using reportbug to the ubuntu-users mailing
list.

Because USE_VARARGS does not get set when building the utilities, the
ancient version of Message gets used and pointer parameters get
converted to ints, causing a segfault on 64 bit systems.

adding the following to the top of can.c and rutil.c fixed the problem:
#ifdef __STDC__
# define USE_VARARGS
#endif

-- System Information:
Debian Release: testing/unstable
 APT prefers dapper-updates
 APT policy: (500, 'dapper-updates'), (500, 'dapper-security'), (500,
 'dapper')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15.1
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)

Versions of packages canna-utils depends on:
ii  libc6                     2.3.6-0ubuntu7 GNU C Library: Shared libraries
an
ii  libcanna1g                3.7p3-2.1      Canna Runtime Library

canna-utils recommends no packages.

-- no debconf information

** Affects: canna (Ubuntu)
       Severity: Normal
       Priority: (none set)
     Assignee: MOTU
         Status: Unconfirmed

-- 
canna-utils: addwords segfaults on amd64 when finished
https://launchpad.net/bugs/46453




More information about the universe-bugs mailing list