Bug 426807 - Crash on Big Endian
Summary: Crash on Big Endian
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: qlandkarte
Version: 8
Hardware: powerpc
OS: Linux
low
urgent
Target Milestone: ---
Assignee: Dan Horák
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-12-26 17:44 UTC by Albrecht Dreß
Modified: 2008-02-28 21:44 UTC (History)
2 users (show)

Fixed In Version: 0.7.1-1.fc8
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-02-28 21:39:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Albrecht Dreß 2007-12-26 17:44:32 UTC
Description of problem:
Crash when opening a Garmin IMG file.

Version-Release number of selected component (if applicable):
All versions of QLandkarte are affected

How reproducible:
Always

Steps to Reproduce:
1. Launch QLandkarte
2. Try to open any Garmin IMG file, e.g. one loaded from the web
  
Actual results:
Segmentation Fault.

Expected results:
Open and display the file.

Additional info:
The apparent reason for this behaviour is the fact that QLandkarte has not been
written as a system-independent application.  Instead of using a method to load
the Garmin IMG file, it simply "maps" it into memory and then uses these
structures in memory.  This will probably work on a little-endian machine (at
least if it doesn't crash on non-aligned memory accesses), but will fail "by
design" on *any* big-endian, including, but probably not limited to, PowerPC,
Sparc, Mips and 68k.

Comment 1 Dan Horák 2007-12-27 21:21:07 UTC
Issue was taken upstream.

Comment 2 Fedora Update System 2008-02-17 17:50:13 UTC
qlandkarte-0.7.1-1.fc8 has been submitted as an update for Fedora 8

Comment 3 Fedora Update System 2008-02-17 17:51:02 UTC
qlandkarte-0.7.1-1.fc7 has been submitted as an update for Fedora 7

Comment 4 Fedora Update System 2008-02-19 03:12:56 UTC
qlandkarte-0.7.1-1.fc7 has been pushed to the Fedora 7 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update qlandkarte'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F7/FEDORA-2008-1765

Comment 5 Fedora Update System 2008-02-28 21:39:45 UTC
qlandkarte-0.7.1-1.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2008-02-28 21:44:25 UTC
qlandkarte-0.7.1-1.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.