canna-utils: addwords segfaults on amd64 when finished

Bug #46453 reported by Carthik Sharma
4
Affects Status Importance Assigned to Milestone
canna (Ubuntu)
Invalid
Medium
Daniel T Chen

Bug Description

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

Revision history for this message
Carthik Sharma (carthik) wrote :

Originally reported by bill at taniwha.org

Revision history for this message
Carthik Sharma (carthik) wrote :

It's a Universe package, MOTUs get this one :)

Changed in canna:
assignee: nobody → motu
Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10 or 9.04?

Changed in canna:
assignee: motu → crimsun
status: New → Incomplete
Revision history for this message
Pedro Villavicencio (pedro) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to New. Thanks again!.

Changed in canna:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.