jianlinwei / mindwebfilter

Automatically exported from code.google.com/p/mindwebfilter
1 stars 0 forks source link

Actual /trunk code does still not work? #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. configure and compile MinD according Wiki page for compiling MinD Toy. (I 
used root as daemonuser and daemongroup for testing, but this should be the 
raeson why?)
2. run mind

I get a segmentation fault.

As system I used Ubuntu 10.10 32bit (Linux * 2.6.35-25-server #44-Ubuntu SMP 
Fri Jan 21 19:09:14 UTC 2011 x86_64 GNU/Linux)

dmesg shows:
mind[20075]: segfault at ffffffffffffffe8 ip 000000000043b650 sp 
00007fffd98c9b20 error 4 in mind[400000+8f000]

Original issue reported on code.google.com by t...@gmx.ch on 24 Feb 2011 at 4:52

GoogleCodeExporter commented 9 years ago
I mean (...this shouldn't be the reason why?)

Original comment by t...@gmx.ch on 24 Feb 2011 at 5:38

GoogleCodeExporter commented 9 years ago

Original comment by mind....@gmail.com on 28 Feb 2011 at 7:53

GoogleCodeExporter commented 9 years ago
This issue has been reproduced. It only occurs by using root as proxy user. 
Anyway it is an unexpected behaviour and it will be solved.

Original comment by mind....@gmail.com on 28 Feb 2011 at 8:03

GoogleCodeExporter commented 9 years ago
I tried it now with an other user(proxy, which was already created by system 
and also with other self-created user). I tried it on the Ubuntu machine and 
also on a FreeBSD machine(FreeBSD * 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 
19 02:55:53 UTC 2010 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  
i386). On both I get a segmentation fault. I tried to start mind with "su -m 
proxy -c /usr/sbin/mind". I also tried to set a passowrd for the proxy user, 
login and run the command "nativly" from the shell, but no luck. I "chown -R 
proxy .." and "chgrp -R proxy .." to all mind directories but it seems not to 
work. I also give rights to create pid file.

Segementation fault rrrors from "dmesg":
Freebsd: pid 84626 (mind), uid 0: exited on signal 11
Ubuntu:  [ 4395.825064] mind[2002]: segfault at ffffffffffffffe8 ip 
000000000043c420 sp 00007fff8b630840 error 4 in mind[400000+9f000]

Original comment by t...@gmx.ch on 1 Mar 2011 at 3:03

GoogleCodeExporter commented 9 years ago
Yes, confirmed. We are working hard to have this issue solved today.

Original comment by mind....@gmail.com on 1 Mar 2011 at 7:05

GoogleCodeExporter commented 9 years ago
Thank you for your patience. It compiles and runs OK now. You can run it as 
root and it will run as the user you have configured (like proxy).

It was tested in several OSs and Architectures.

Original comment by mind....@gmail.com on 1 Mar 2011 at 8:56

GoogleCodeExporter commented 9 years ago
I just tried mind on ubuntu and it works! As soon as possible I'll try it on 
freebsd.

Thank you guys, Great job! 

Original comment by t...@gmx.ch on 2 Mar 2011 at 3:19