Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: widechar-enabled libedit problem on amd64



joachim.kuebart%gmail.com@localhost said:
> after stepping through  the disassembly a little, it turns out it
> isn't a compiler bug after all  (phew) -- the variables actually get
> set to different values in the  functions, so the values shown in your
> stack trace are legitimate

Great -- thanks for looking into the details. The use of "%r9d" in
the gcc disassembly, together with only the upper 32 bits nonzero
in the offending argument made me believe the problem is in the
caller.
With your patch I don't see the crashes anymore.

best regards
Matthias



------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index