NetBSD-Bugs archive

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

Re: lib/53003: Problem with rust library using kqueue



The following reply was made to PR lib/53003; it has been noted by GNATS.

From: Mickael Viey <m.viey%wanadoo.fr@localhost>
To: gnats-bugs%NetBSD.org@localhost, lib-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
 netbsd-bugs%netbsd.org@localhost
Cc: 
Subject: Re: lib/53003: Problem with rust library using kqueue
Date: Sun, 11 Feb 2018 10:23:44 +0100

 This is a multi-part message in MIME format.
 --------------66D564FBB8EE98E945923577
 Content-Type: text/plain; charset=utf-8; format=flowed
 Content-Transfer-Encoding: 8bit
 
 
 > The following reply was made to PR lib/53003; it has been noted by GNATS.
 >
 > From: christos%zoulas.com@localhost (Christos Zoulas)
 > To: gnats-bugs%NetBSD.org@localhost, lib-bug-people%netbsd.org@localhost,
 > 	gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
 > Cc:
 > Subject: Re: lib/53003: Problem with rust library using kqueue
 > Date: Sat, 10 Feb 2018 20:30:29 -0500
 >
 >   On Feb 10,  4:40pm, m.viey%wanadoo.fr@localhost (m.viey%wanadoo.fr@localhost) wrote:
 >   -- Subject: lib/53003: Problem with rust library using kqueue
 >   
 >   | >Number:         53003
 >   | >Category:       lib
 >   | >Synopsis:       Problem with rust library using kqueue
 >   | >Confidential:   no
 >   | >Severity:       serious
 >   | >Priority:       medium
 >   | >Responsible:    lib-bug-people
 >   | >State:          open
 >   | >Class:          support
 >   | >Submitter-Id:   net
 >   | >Arrival-Date:   Sat Feb 10 16:40:00 +0000 2018
 >   | >Originator:     Mickaël Viey
 >   | >Release:        pkgsrc-2017Q3
 >   | >Organization:
 >   | >Environment:
 >   | NetBSD 7.1 (GENERIC.201703111743Z) amd63
 >   | >Description:
 >   | Hi,
 >   |
 >   | I experiment a problem with using rust Library which use lib kqueue. This library (https://github.com/carllerche/mio) fails with an assertion eror about EV_ERROR kqueue constant.
 >   |
 >   | The error occurs at line 118 of this file https://github.com/carllerche/mio/blob/master/src/sys/unix/kqueue.rs .
 >   |
 >   | I reproduce for convenience the related assert test here:
 >   |
 >   | debug_assert_eq!(change.flags & libc::EV_ERROR, libc::EV_ERROR);
 >   |
 >   | I tried in FreeBSD the same library and I don't get this error.
 >   |
 >   | Could you please help me with your point of vue about this behaviour ?
 >   |
 >   | is this behaviour seems to you expected in Net BSD ?
 >   |
 >   | I made an issue report on github repo of a lib using mio:
 >   | https://github.com/hyperium/hyper/issues/1435
 >   |
 >   | >How-To-Repeat:
 >   | You could reproduce this with:
 >   | installing rust from official site:
 >   | curl https://sh.rustup.rs -sSf | sh
 >   |
 >   | then you could test this code here:
 >   | https://hyper.rs/guides/server/hello-world/
 >   
 >   Works in current and I think it will also work in 8. Can you please try that?
 >   
 >   christos
 >   
 Ok, the NetBSD in that I tried this code is my usual working machine, 
 but I will try on a VM ASAP.
 
 Do you know why this code fails on the stable version? (a link to a PR 
 by example)
 
 Thanks for your reply(, and sorry for the typing error on uname.)
 
 
 
 --------------66D564FBB8EE98E945923577
 Content-Type: text/html; charset=utf-8
 Content-Transfer-Encoding: 8bit
 
 <html>
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   </head>
   <body text="#333333" bgcolor="#CCCCCC">
     <br>
     <blockquote type="cite"
       cite="mid:20180211013501.0399D7A269%mollari.NetBSD.org@localhost">
       <pre wrap="">The following reply was made to PR lib/53003; it has been noted by GNATS.
 
 From: <a class="moz-txt-link-abbreviated" href="mailto:christos%zoulas.com@localhost";>christos%zoulas.com@localhost</a> (Christos Zoulas)
 To: <a class="moz-txt-link-abbreviated" href="mailto:gnats-bugs%NetBSD.org@localhost";>gnats-bugs%NetBSD.org@localhost</a>, <a class="moz-txt-link-abbreviated" href="mailto:lib-bug-people%netbsd.org@localhost";>lib-bug-people%netbsd.org@localhost</a>, 
 	<a class="moz-txt-link-abbreviated" href="mailto:gnats-admin%netbsd.org@localhost";>gnats-admin%netbsd.org@localhost</a>, <a class="moz-txt-link-abbreviated" href="mailto:netbsd-bugs%netbsd.org@localhost";>netbsd-bugs%netbsd.org@localhost</a>
 Cc: 
 Subject: Re: lib/53003: Problem with rust library using kqueue
 Date: Sat, 10 Feb 2018 20:30:29 -0500
 
  On Feb 10,  4:40pm, <a class="moz-txt-link-abbreviated" href="mailto:m.viey%wanadoo.fr@localhost";>m.viey%wanadoo.fr@localhost</a> (<a class="moz-txt-link-abbreviated" href="mailto:m.viey%wanadoo.fr@localhost";>m.viey%wanadoo.fr@localhost</a>) wrote:
  -- Subject: lib/53003: Problem with rust library using kqueue
  
  | &gt;Number:         53003
  | &gt;Category:       lib
  | &gt;Synopsis:       Problem with rust library using kqueue
  | &gt;Confidential:   no
  | &gt;Severity:       serious
  | &gt;Priority:       medium
  | &gt;Responsible:    lib-bug-people
  | &gt;State:          open
  | &gt;Class:          support
  | &gt;Submitter-Id:   net
  | &gt;Arrival-Date:   Sat Feb 10 16:40:00 +0000 2018
  | &gt;Originator:     Mickaël Viey
  | &gt;Release:        pkgsrc-2017Q3
  | &gt;Organization:
  | &gt;Environment:
  | NetBSD 7.1 (GENERIC.201703111743Z) amd63
  | &gt;Description:
  | Hi,
  | 
  | I experiment a problem with using rust Library which use lib kqueue. This library (<a class="moz-txt-link-freetext" href="https://github.com/carllerche/mio";>https://github.com/carllerche/mio</a>) fails with an assertion eror about EV_ERROR kqueue constant.
  | 
  | The error occurs at line 118 of this file <a class="moz-txt-link-freetext" href="https://github.com/carllerche/mio/blob/master/src/sys/unix/kqueue.rs";>https://github.com/carllerche/mio/blob/master/src/sys/unix/kqueue.rs</a> .
  | 
  | I reproduce for convenience the related assert test here:
  | 
  | debug_assert_eq!(change.flags &amp; libc::EV_ERROR, libc::EV_ERROR); 
  | 
  | I tried in FreeBSD the same library and I don't get this error.
  | 
  | Could you please help me with your point of vue about this behaviour ?
  | 
  | is this behaviour seems to you expected in Net BSD ?
  | 
  | I made an issue report on github repo of a lib using mio:
  | <a class="moz-txt-link-freetext" href="https://github.com/hyperium/hyper/issues/1435";>https://github.com/hyperium/hyper/issues/1435</a>
  | 
  | &gt;How-To-Repeat:
  | You could reproduce this with:
  | installing rust from official site:
  | curl <a class="moz-txt-link-freetext" href="https://sh.rustup.rs";>https://sh.rustup.rs</a> -sSf | sh
  | 
  | then you could test this code here:
  | <a class="moz-txt-link-freetext" href="https://hyper.rs/guides/server/hello-world/";>https://hyper.rs/guides/server/hello-world/</a>
  
  Works in current and I think it will also work in 8. Can you please try that?
  
  christos
  
 </pre>
     </blockquote>
     Ok, the NetBSD in that I tried this code is my usual working
     machine, but I will try on a VM ASAP.<span id="result_box" class=""
       lang="en"><span class=""><br>
         <br>
         Do you know why this code fails on the stable version? (a link
         to a PR by example)<br>
         <br>
         Thanks for your reply(, and sorry for the typing error on
         uname.)<br>
         <br>
         <br>
       </span></span>
   </body>
 </html>
 
 --------------66D564FBB8EE98E945923577--
 



Home | Main Index | Thread Index | Old Index