henryhwang / badvpn

Automatically exported from code.google.com/p/badvpn
Other
0 stars 0 forks source link

cant write to file #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. file_open("testfile","a") file;
2. file->write("abc");

What is the expected output? What do you see instead?

Expect code to continue, but I get the following error:

/build/buildd/badvpn-1.999.127/ncd/modules/file_open.c:424 Assertion failed
Aborted (core dumped)

(The data is correctly appended to the file though).

What version of the product are you using? On what operating system?

badvpn-1.999.127 on ubuntu 12.04

Original issue reported on code.google.com by vapn...@gmail.com on 17 Feb 2014 at 8:50

GoogleCodeExporter commented 9 years ago
It is definitely just the write statement that is the problem since if works 
fine if I just open and then close the file. Also the file modification bits 
are set to globally read/writable.

Original comment by vapn...@gmail.com on 17 Feb 2014 at 9:02

GoogleCodeExporter commented 9 years ago
The problem is definitely a broken key on my keyboard ;)

Fixed: https://code.google.com/p/badvpn/source/detail?r=2243

Original comment by ambr...@gmail.com on 17 Feb 2014 at 10:06

GoogleCodeExporter commented 9 years ago
Any chance you could update the ppa on launchpad?

Original comment by vapn...@gmail.com on 17 Feb 2014 at 10:33

GoogleCodeExporter commented 9 years ago
I've made a new release (now on Github, Google Code downloads are dead), and 
PPA builds are already available.

Original comment by ambr...@gmail.com on 18 Feb 2014 at 10:46