linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] [Bug 98444] New: valgrind fails to run against user-mode-linux (UML) process - clone
@ 2005-02-02 21:02 das deniz
  2005-02-02 21:11 ` [uml-devel] [Bug 98444] " das deniz
  2005-02-03  1:17 ` Jeremy Fitzhardinge
  0 siblings, 2 replies; 3+ messages in thread
From: das deniz @ 2005-02-02 21:02 UTC (permalink / raw)
  To: user-mode-linux-devel

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=98444         
           Summary: valgrind fails to run against user-mode-linux (UML)
                    process - clone
           Product: valgrind
           Version: 2.3 CVS
          Platform: RedHat RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: jseward acm org
        ReportedBy: das_deniz yahoo com
                CC: user-mode-linux-devel lists sourceforge net


picking up this thread again:  

  http://marc.theaimsgroup.com/?l=user-mode-linux-devel&m=109152647819605&w=2

in valgrind 2.2.0 we had at best -- "clone(): not supported by Valgrind." and it
never went any further despite talk of old patches that would allow the clone
out from under valgrind to get to the next stopper.

but now in CVS HEAD, we no longer get this message, but instead we see:

SYSCALL[27839,1](120) special:sys_clone ( 11, 0x1BB4AFEC, 0x1BA40DA0, 0x8113360,
0x52BFE4F4 )==27839== Syscall param clone(parent_tidptr) contains uninitialised
byte(s)
==27839==    at 0x1B9EE4C9: clone (in /lib/libc-2.3.2.so)
==27839==    by 0x80BEBC8: can_do_skas (process.c:243)
==27839==    by 0x80C2DB3: linux_main (um_arch.c:332)
==27839==    by 0x80512BF: main (main.c:148)
==27839== 
==27839== Syscall param clone(tlsinfo) contains uninitialised byte(s)
==27839==    at 0x1B9EE4C9: clone (in /lib/libc-2.3.2.so)
==27839==    by 0x80BEBC8: can_do_skas (process.c:243)
==27839==    by 0x80C2DB3: linux_main (um_arch.c:332)
==27839==    by 0x80512BF: main (main.c:148)
==27839== 
==27839== Syscall param clone(child_tidptr) contains uninitialised byte(s)
==27839==    at 0x1B9EE4C9: clone (in /lib/libc-2.3.2.so)
==27839==    by 0x80BEBC8: can_do_skas (process.c:243)
==27839==    by 0x80C2DB3: linux_main (um_arch.c:332)
==27839==    by 0x80512BF: main (main.c:148)
   clone(fork): process 27839 created child 27840
 --> 0 (0x0)
==27840== 
==27840== Jump to the invalid address stated on the next line
==27840==    at 0x7: ???
==27840==  Address 0x7 is not stack'd, malloc'd or (recently) free'd
==27840== 
==27840== Process terminating with default action of signal 11 (SIGSEGV)
==27840==  Access not within mapped region at address 0x7
==27840==    at 0x7: ???


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [uml-devel] [Bug 98444] valgrind fails to run against user-mode-linux (UML) process - clone
  2005-02-02 21:02 [uml-devel] [Bug 98444] New: valgrind fails to run against user-mode-linux (UML) process - clone das deniz
@ 2005-02-02 21:11 ` das deniz
  2005-02-03  1:17 ` Jeremy Fitzhardinge
  1 sibling, 0 replies; 3+ messages in thread
From: das deniz @ 2005-02-02 21:11 UTC (permalink / raw)
  To: user-mode-linux-devel

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=98444         




------- Additional Comments From das_deniz yahoo com  2005-02-02 22:11 -------
Created an attachment (id=9396)
 --> (http://bugs.kde.org/attachment.cgi?id=9396&action=view)
complete valgrind log of crash


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [uml-devel] [Bug 98444] valgrind fails to run against user-mode-linux (UML) process - clone
  2005-02-02 21:02 [uml-devel] [Bug 98444] New: valgrind fails to run against user-mode-linux (UML) process - clone das deniz
  2005-02-02 21:11 ` [uml-devel] [Bug 98444] " das deniz
@ 2005-02-03  1:17 ` Jeremy Fitzhardinge
  1 sibling, 0 replies; 3+ messages in thread
From: Jeremy Fitzhardinge @ 2005-02-03  1:17 UTC (permalink / raw)
  To: user-mode-linux-devel

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=98444         




------- Additional Comments From jeremy goop org  2005-02-03 02:17 -------
Hm, nothing obvious sticks out.  That clone() is basically just a fork() with no special options, which Valgrind has supported for a long time, so I'm not sure what's going on there.  The warnings about tlsinfo and *_tidptr are spurious.

It seems the child process just jumps to 0x7 as soon as it starts running...

Is there any difference with --tool=none?

BTW, you're still going to get bitten by stack switching with memcheck and addrcheck.


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-02-03  1:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-02 21:02 [uml-devel] [Bug 98444] New: valgrind fails to run against user-mode-linux (UML) process - clone das deniz
2005-02-02 21:11 ` [uml-devel] [Bug 98444] " das deniz
2005-02-03  1:17 ` Jeremy Fitzhardinge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox