Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 179215 - app-editors/fte-20051115 - 64-bit patch (fixed immediate crash in xfte on Core2)
Summary: app-editors/fte-20051115 - 64-bit patch (fixed immediate crash in xfte on Core2)
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Konstantin Arkhipov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-20 12:44 UTC by Bruce Merry
Modified: 2008-12-08 02:25 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
64-bit patch (fte-64bit.patch,682 bytes, patch)
2007-05-20 13:18 UTC, Bruce Merry
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bruce Merry 2007-05-20 12:44:11 UTC
The patch I submitted upstream at http://sourceforge.net/tracker/index.php?func=detail&aid=1667898&group_id=943&atid=300943 fixes a 64-bit bug, which manifests as a segfault on startup when running xfte.

Upstream seems to be unmaintained, so I'm submitting this for inclusion in an ebuild.

Reproducible: Always

Steps to Reproduce:
1.Get a Core2Duo (for some reason never occurred on my Athlon64)
2.Run xfte

Actual Results:  
A segfault (I can probably reproduce a backtrace if it's important, but currently I'm running with the patch).

Expected Results:  
No segfault.
Comment 1 Marijn Schouten (RETIRED) gentoo-dev 2007-05-20 13:12:47 UTC
please attach your patch as text
Comment 2 Bruce Merry 2007-05-20 13:18:46 UTC
Created attachment 119786 [details, diff]
64-bit patch

Done.
Comment 3 Santiago M. Mola (RETIRED) gentoo-dev 2008-09-17 22:10:33 UTC
Could you post a full traceback? I can't reproduce on my core2, and I suspect that's not a proper fix anyway. Thanks in advance (and I'm sorry it took too much time for anyone to reply).
Comment 4 Bruce Merry 2008-10-01 17:10:12 UTC
Here's the backtrace, produced by hacking the ebuild for fte-20051115-r1 to set OPTIMIZE to -g instead of empty, and building with FEATURES=nostrip. I no longer use fte by the way.

#0  0x00007f44155aa86c in _XData32 () from /usr/lib/libX11.so.6
#1  0x00007f4415586ba8 in XChangeProperty () from /usr/lib/libX11.so.6
#2  0x0000000000475f1d in SetupXWindow (argc=1, argv=0x7fff1dc7adc8)
    at con_x11.cpp:550
#3  0x00000000004766e2 in GUI (this=0x2365ac0, argc=@0x7fff1dc7acac, 
    argv=0x7fff1dc7adc8, XSize=-1, YSize=-1) at con_x11.cpp:1688
#4  0x000000000046aca1 in EGUI (this=0x2365ac0, argc=@0x7fff1dc7acac, 
    argv=0x7fff1dc7adc8, XSize=-1, YSize=-1) at egui.cpp:72
#5  0x000000000046bfd5 in main (argc=1, argv=0x7fff1dc7adc8) at fte.cpp:322
Comment 5 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-12-08 02:25:38 UTC
Works for me as well on amd64 host. Obviously, something is weird on your setup compared to ours. Since you don't use fte anymore, I guess we can close this bug (because no one else has commented or added to CC) Thanks for responding again and sorry.