aprsd crashes when someone logs in from network amd64

Bug #208913 reported by Tapio Heiskanen
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
aprsd (Debian)
Fix Released
Unknown
aprsd (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: aprsd

aprsd:
  Installed: 1:2.2.5-13-3.1ubuntu1
  Candidate: 1:2.2.5-13-3.1ubuntu1

Running system is:
Linux bewdley 2.6.22-14-server #1 SMP Tue Feb 12 03:10:53 UTC 2008 x86_64 GNU/Linux
Description: Ubuntu 7.10
Release: 7.10

Aprsd segfaults when connecting with Xastir. It happens during the authentication process and looks like it may be a problem running on a 64-bit machine.

Core was generated by `src/aprsd'.
Program terminated with signal 11, Segmentation fault.
#0 0x000000000042cc84 in TCPSessionThread (p=0x657fa0) at servers.cpp:1854
1854 << ends ;

Atleast these will cause trouble on a 64-bit machine

src/servers.cpp: if (((idxInvalid = vd.find_first_of(";!@#$%~^&*():=\"\\<>[]",0,20)) == string::npos)
src/servers.cpp: if (idxInvalid != string::npos){
src/servers.cpp: if (((idxInvalid = vd.find_first_of(";!@#$%~^&*():=\"\\<>[]",0,20)) == string::npos)
src/servers.cpp: if (idxInvalid != string::npos){

aprsd runs fine on a 32-bit system, but would not want to run a virtual server just for that.

ProblemType: Bug
Architecture: amd64
Date: Sat Mar 29 21:10:47 2008
Dependencies:
 libgcc1 1:4.2.1-5ubuntu4
 libstdc++6 4.2.1-5ubuntu4
 gcc-4.2-base 4.2.1-5ubuntu4
 libax25 0.0.11-4
 libc6 2.6.1-1ubuntu10
DistroRelease: Ubuntu 7.10
NonfreeKernelModules: vmnet vmmon
Package: aprsd 1:2.2.5-13-3.1ubuntu1
PackageArchitecture: amd64
SourcePackage: aprsd
Uname: Linux bewdley 2.6.22-14-server #1 SMP Tue Feb 12 03:10:53 UTC 2008 x86_64 GNU/Linux

Tags: apport-bug

Related branches

Revision history for this message
Marlon Cisternas Milla (mcisternas-deactivatedaccount) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Can you try with latest Ubuntu release? Thanks in advance.

Changed in aprsd:
status: New → Incomplete
Revision history for this message
Tapio Heiskanen (hessu-iki) wrote :

The issue still exists with 64-bit Ubuntu 9.04 and aprsd version 1:2.2.5-13-4.

So far I have used a 32-bit Ubuntu virtual server in vmware-server to work around this issue, but it would be nice to be ablt to run aprsd natively on the 64-bit host OS Ubuntu 9.04 with vmware-server. It is a bit overkill :).

Revision history for this message
Scott Evans (vk7hse) wrote :

Likewise I to have suffered some ill effect of this bug and have resorted to using a closed source alternate called javAPRSSrv. However I believe that this issue should be reviewed...

segmentation fault on amd64 but all OK on i386

easy way to replicate is run application then attempt a connection to any of the available ports defined and the program will terminate!

I realise that the amateur population may be small, but the use of this program is still an important aspect for many that do.

I'm happy to do some debugging if this is an issue... but I'm by no means a programmer myself! ;)

Scott Evans (vk7hse)
Changed in aprsd (Ubuntu):
status: Incomplete → Confirmed
summary: - aprsd crashes when someone logs in from network
+ aprsd crashes when someone logs in from network amd64
Changed in aprsd (Ubuntu):
assignee: nobody → Kamal Mostafa (kamalmostafa)
status: Confirmed → In Progress
Revision history for this message
Kamal Mostafa (kamalmostafa) wrote :

I have fixed this bug and produced update packages for karmic and lucid, available in my PPA:

    https://launchpad.net/~kamalmostafa/+archive/aprsd-fixes

The code change is available for inspection here:

    https://code.launchpad.net/~kamalmostafa/ubuntu/lucid/aprsd/aprsd-fixes

Changed in aprsd (Ubuntu):
status: In Progress → Fix Committed
Changed in aprsd (Ubuntu):
status: Fix Committed → In Progress
Revision history for this message
Kamal Mostafa (kamalmostafa) wrote :

Repackaged the attached branch commit to fix version number glitch and changelog format.

Changed in aprsd (Ubuntu):
assignee: Kamal Mostafa (kamalmostafa) → nobody
status: In Progress → Fix Committed
Revision history for this message
Kamal Mostafa (kamalmostafa) wrote :
Changed in aprsd (Ubuntu):
status: Fix Committed → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package aprsd - 1:2.2.5-13-5.1ubuntu1

---------------
aprsd (1:2.2.5-13-5.1ubuntu1) lucid; urgency=low

  * Fix "user" login crash on 64-bit platforms. (LP: #208913)
  * Fix socklen_t compiler warnings (and possible failure) on 64-bit platforms.
 -- Kamal Mostafa <email address hidden> Sat, 09 Jan 2010 17:42:40 -0800

Changed in aprsd (Ubuntu):
status: Confirmed → Fix Released
Changed in aprsd (Debian):
status: Unknown → New
Changed in aprsd (Debian):
status: New → Fix Committed
Changed in aprsd (Debian):
status: Fix Committed → Fix Released
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.