From: SourceForge.net <no...@so...> - 2005-09-06 17:00:53
|
Bugs item #1246342, was opened at 2005-07-27 17:09 Message generated for change (Comment added) made by sds You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101355&aid=1246342&group_id=1355 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: clx Group: segfault Status: Open Resolution: None Priority: 5 Submitted By: Sam Steingold (sds) Assigned to: Bruno Haible (haible) Summary: gcc miscompiles ensure_living_display() Initial Comment: gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-42) on Linux flume 2.4.21-20.ELsmp #1 SMP Wed Aug 18 20:34:58 EDT 2004 x86_64 x86_64 x86_64 GNU/Linux miscompiles ensure_living_display(): Breakpoint 16, ensure_living_display (objf=0x2a96768300) at clx.f:650 650 object fptr = TheStructure(*objf)->recdata[slot_DISPLAY_FOREIGN_POIN TER]; (gdb) p *objf $1 = 0xa000333d52248 (gdb) n 651 return (fpointerp(fptr) && fp_validp(TheFpointer(fptr)) (gdb) p fptr <<<<----------- this is different from $2 = 0x7f00000000 <<<<----------- the value below (gdb) p TheSrecord_(*objf) $3 = (srecord_ *) 0x333d52248 (gdb) p *TheSrecord_(*objf) $4 = {header = {_GCself = 0xa000333d52248, flags = {2814763521614408}}, rectype = -2 '_', recflags = 0 '\0', reclength = 6, recdata = 0x333d52258} (gdb) p $4.recdata $5 = 0x333d52258 (gdb) p $4.recdata[0] $6 = 0x40000cccde46d0 (gdb) p $4.recdata[1] <<<<<<----------- this is the value $7 = 0xc000333d52288 <<<<<<----------- that fptr should take (gdb) p $4.recdata[2] $8 = 0xc000333d52310 (gdb) p $4.recdata[3] $9 = 0x40000007917c0 (gdb) xout $4.recdata[0] (XLIB::DISPLAY)(void *) 0x40000cccde46d0 (gdb) xout $4.recdata[1] #<FOREIGN-POINTER 0x7ff520>(void *) 0xc000333d52288 http://article.gmane.org/gmane.lisp.clisp.general:9877 http://article.gmane.org/gmane.lisp.clisp.general:9902 http://sourceforge.net/mailarchive/message.php?msg_id=12467956 http://sourceforge.net/mailarchive/message.php?msg_id=12463908 ---------------------------------------------------------------------- >Comment By: Sam Steingold (sds) Date: 2005-09-06 13:00 Message: Logged In: YES user_id=5735 http://article.gmane.org/gmane.lisp.clisp.general:10091 http://sourceforge.net/mailarchive/message.php?msg_id=12864010 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101355&aid=1246342&group_id=1355 |