On Sat, 29 Sep 2012, Marcin Cieslak wrote:

>> On Sat, Sep 29, 2012 at 1:27 PM, Marcin Cieslak <sa...@saper.info> wrote:
>>> On Sat, 29 Sep 2012, Frederic Koehler wrote:
>>>> This is on a 64-bit machine. Opening the help window works fine the
>>>> first time [and
>
> On Sat, 29 Sep 2012, Frederic Koehler wrote:
>
>> That's weird. On my machine _UxUxParent is also NULL
[...]
> My value after patching:
>
> (gdb) print UxContext
> $1 = (_UxCCreateActionAppShell *) 0x805c13c00
>
> without the patch
>
> rax            0x805c13c00      34456288256
>
> is returned from the function, but it gets truncated
> to 32 bit value:
>
> 0x000000000040a08d <create_applicationShell1+29>:       callq  0x412510 
> <UxNewContext>
> 0x000000000040a092 <create_applicationShell1+34>:       movslq %eax,%rax
>
> rax            0x5c13c00        96549888
>
> so the next address causes a fault.
>
> FreeBSD addresses on the heap don't fit into 32-bits so
> that's probably the reason why one can get away with
> many 64-bit coding problems on Linux.
>

Yeah, that make sense. :(

-- 
Jon Trulson

The Higgs Field is what make atoms matter.
                 -- Tom L.



------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to