|
From: smiley g. <smi...@ya...> - 2006-11-06 10:11:51
Attachments:
=?utf-8?q?bump.c?=
|
c file attached=0A=0A=0A----- Original Message ----=0AFrom: smiley glitter = <smi...@ya...>=0ATo: val...@li...=0ASent= : Monday, November 6, 2006 3:33:08 PM=0ASubject: client request VALGRIND_NO= N_SIMD_CALL fails with 3.2.1=0A=0AThe attached c code is a simplified usage= of VALGRIND_NON_SIMD_CALL2 in my application.=0AWith valgrind 3.2.1 the f= ollowing error appears=0AWorks fine with 3.1.1 and 2.4.1.=0A=0AThanks,=0ASm= ile.=0A=0A=0A=3D=3D17313=3D=3D =0A--17313-- VALGRIND INTERNAL ERROR: Valgri= nd received a signal 11 (SIGSEGV) - exiting=0A--17313-- si_code=3D1; Fault= ing address: 0x1; sp: 0x62787EE4=0A=0Avalgrind: the 'impossible' happened:= =0A Killed by fatal signal=0A=3D=3D17313=3D=3D at 0x80483CF: val_bump = (bump.c:6)=0A=3D=3D17313=3D=3D by 0x3802EA40: do_client_request (schedul= er.c:1166)=0A=3D=3D17313=3D=3D by 0x3802E40C: vgPlain_scheduler (schedul= er.c:869)=0A=3D=3D17313=3D=3D by 0x3803C78C: thread_wrapper (syswrap-lin= ux.c:87)=0A=3D=3D17313=3D=3D by 0x3803C848: run_a_thread_NORETURN (syswr= ap-linux.c:120)=0A=0Asched status:=0A running_tid=3D1=0A=0AThread 1: statu= s =3D VgTs_Runnable=0A=3D=3D17313=3D=3D at 0x804846B: bump (bump.c:19)= =0A=3D=3D17313=3D=3D by 0x80484B5: main (bump.c:29)=0A=0A=0A=0A=0A=0A=0A= =0A=0A=0A=0A =0A___________________________________________________________= _________________________=0ASponsored Link=0A=0AFor just $24.99/mo., Vonage= offers unlimited local and long- distance calling. =0ASign up now. http://= www.vonage.com/startsavingnow/=0A=0A=0A=0A=0A=0A=0A =0A____________________= ________________________________________________________________=0ASponsore= d Link=0A=0ATry Netflix today! With plans starting at only $5.99 a month wh= at are you waiting for?=0Ahttp://www.netflix.com/Signup?mqso=3D80010030 |
|
From: smiley g. <smi...@ya...> - 2006-11-20 12:56:43
|
Does this qualify as a bug ?=0A=0AThanks=0ASmile.=0A=0A----- Original Messa= ge ----=0AFrom: smiley glitter <smi...@ya...>=0ATo: smiley glitt= er <smi...@ya...>; val...@li...=0ASent: = Monday, November 6, 2006 3:41:44 PM=0ASubject: Re: client request VALGRIND_= NON_SIMD_CALL fails with 3.2.1=0A=0Ac file attached=0A=0A=0A----- Original = Message ----=0AFrom: smiley glitter <smi...@ya...>=0ATo: valgrin= d-...@li...=0ASent: Monday, November 6, 2006 3:33:08 PM= =0ASubject: client request VALGRIND_NON_SIMD_CALL fails with 3.2.1=0A=0AThe= attached c code is a simplified usage of VALGRIND_NON_SIMD_CALL2 in my ap= plication.=0AWith valgrind 3.2.1 the following error appears=0AWorks fine w= ith 3.1.1 and 2.4.1.=0A=0AThanks,=0ASmile.=0A=0A=0A=3D=3D17313=3D=3D =0A--1= 7313-- VALGRIND INTERNAL ERROR: Valgrind received a signal 11 (SIGSEGV) - e= xiting=0A--17313-- si_code=3D1; Faulting address: 0x1; sp: 0x62787EE4=0A= =0Avalgrind: the 'impossible' happened:=0A Killed by fatal signal=0A=3D= =3D17313=3D=3D at 0x80483CF: val_bump (bump.c:6)=0A=3D=3D17313=3D=3D = by 0x3802EA40: do_client_request (scheduler.c:1166)=0A=3D=3D17313=3D=3D = by 0x3802E40C: vgPlain_scheduler (scheduler.c:869)=0A=3D=3D17313=3D=3D b= y 0x3803C78C: thread_wrapper (syswrap-linux.c:87)=0A=3D=3D17313=3D=3D by= 0x3803C848: run_a_thread_NORETURN (syswrap-linux.c:120)=0A=0Asched status:= =0A running_tid=3D1=0A=0AThread 1: status =3D VgTs_Runnable=0A=3D=3D17313= =3D=3D at 0x804846B: bump (bump.c:19)=0A=3D=3D17313=3D=3D by 0x80484B= 5: main (bump.c:29)=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A =0A___________________= _________________________________________________________________=0ASponsor= ed Link=0A=0AFor just $24.99/mo., Vonage offers unlimited local and long- d= istance calling. =0ASign up now. http://www.vonage.com/startsavingnow/=0A= =0A=0A=0A=0A=0A=0A =0A_____________________________________________________= _______________________________=0ASponsored Link=0A=0ATry Netflix today! Wi= th plans starting at only $5.99 a month what are you waiting for?=0Ahttp://= www.netflix.com/Signup?mqso=3D80010030=0A=0A=0A=0A=0A =0A__________________= __________________________________________________________________=0AThe al= l-new Yahoo! Mail beta=0AFire up a more powerful email and get things done = faster. =0Ahttp://new.mail.yahoo.com=0A |
|
From: Nicholas N. <nj...@cs...> - 2006-11-20 21:56:21
|
On Mon, 20 Nov 2006, smiley glitter wrote: > Does this qualify as a bug ? It looks like it's a problem with your function 'val_bump'. Note that the current ThreadId is always inserted as the first argument to NON_SIMD_CALL functions. The docs don't explain this very well. So if you use: NON_SIMD_CALL2(val_bump, arg1, arg2) the function val_bump needs the following prototype: val_bump(ThreadId tid, <T1> arg1, <T2> arg2) I can't remember if 'ThreadId' is public, if not, just making the first argument void* should work. Nick > Thanks > Smile. > > ----- Original Message ---- > From: smiley glitter <smi...@ya...> > To: smiley glitter <smi...@ya...>; val...@li... > Sent: Monday, November 6, 2006 3:41:44 PM > Subject: Re: client request VALGRIND_NON_SIMD_CALL fails with 3.2.1 > > c file attached > > > ----- Original Message ---- > From: smiley glitter <smi...@ya...> > To: val...@li... > Sent: Monday, November 6, 2006 3:33:08 PM > Subject: client request VALGRIND_NON_SIMD_CALL fails with 3.2.1 > > The attached c code is a simplified usage of VALGRIND_NON_SIMD_CALL2 in my application. > With valgrind 3.2.1 the following error appears > Works fine with 3.1.1 and 2.4.1. > > Thanks, > Smile. > > > ==17313== > --17313-- VALGRIND INTERNAL ERROR: Valgrind received a signal 11 (SIGSEGV) - exiting > --17313-- si_code=1; Faulting address: 0x1; sp: 0x62787EE4 > > valgrind: the 'impossible' happened: > Killed by fatal signal > ==17313== at 0x80483CF: val_bump (bump.c:6) > ==17313== by 0x3802EA40: do_client_request (scheduler.c:1166) > ==17313== by 0x3802E40C: vgPlain_scheduler (scheduler.c:869) > ==17313== by 0x3803C78C: thread_wrapper (syswrap-linux.c:87) > ==17313== by 0x3803C848: run_a_thread_NORETURN (syswrap-linux.c:120) > > sched status: > running_tid=1 > > Thread 1: status = VgTs_Runnable > ==17313== at 0x804846B: bump (bump.c:19) > ==17313== by 0x80484B5: main (bump.c:29) > > > > > > > > > > > > ____________________________________________________________________________________ > Sponsored Link > > For just $24.99/mo., Vonage offers unlimited local and long- distance calling. > Sign up now. http://www.vonage.com/startsavingnow/ > > > > > > > > ____________________________________________________________________________________ > Sponsored Link > > Try Netflix today! With plans starting at only $5.99 a month what are you waiting for? > http://www.netflix.com/Signup?mqso=80010030 > > > > > > ____________________________________________________________________________________ > The all-new Yahoo! Mail beta > Fire up a more powerful email and get things done faster. > http://new.mail.yahoo.com > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users > |