miniupnp.tuxfamily.org Forum Index miniupnp.tuxfamily.org
The forum about miniupnp and libnatpmp
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Wierd bug that makes ~9300 entrys in log file per second
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpd Bugs
View previous topic :: View next topic  
Author Message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1589

PostPosted: Mon Sep 21, 2009 10:26 am    Post subject: Reply with quote

GurliGebis wrote:
Not bad, I'll create an updated ebuild for gentoo later this afternoon Smile (If I can get my kernel headers to behave, so I can compile and test myself)

Any chance on a new release soon containing this fix?

yep
miniupnpd-20090921.tar.gz
_________________
Main miniUPnP author.
https://miniupnp.tuxfamily.org/


Last edited by miniupnp on Mon Sep 21, 2009 1:01 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
miguel



Joined: 21 Sep 2009
Posts: 3

PostPosted: Mon Sep 21, 2009 12:06 pm    Post subject: Reply with quote

Colt45ws wrote:
Woot! Seems to work. I have no RAW sockets open! I made a modified ebuild along with a patch for gentoo and it works perfectly! Did you make this patch miguel?


Yes, I made this patch for my own use (using OpenWRT).

Miguel
Back to top
View user's profile Send private message
GurliGebis



Joined: 16 Apr 2009
Posts: 35

PostPosted: Mon Sep 21, 2009 5:48 pm    Post subject: Reply with quote

1.4_pre20090921 is in the Gentoo tree now, should be avaliable within the hour for those that use Gentoo Smile
Back to top
View user's profile Send private message
SoLoR



Joined: 30 May 2009
Posts: 36

PostPosted: Tue Sep 22, 2009 10:43 am    Post subject: Reply with quote

Thanks this version fixes the problem for me as well.
Back to top
View user's profile Send private message
jimmywei



Joined: 10 Jan 2008
Posts: 8

PostPosted: Mon Sep 28, 2009 6:51 am    Post subject: Reply with quote

older iptable ( < 1.4.3)
when iptc_commit() success, it will also do iptc_free() (TC_COMMIT)


which means
after iptc_commit()
no need to call iptc_free() again

Thus
file: iptcrdr.c
line 421,431,562 should be marked ? Shocked
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1589

PostPosted: Sat Oct 10, 2009 6:43 pm    Post subject: Reply with quote

jimmywei wrote:
older iptable ( < 1.4.3)
when iptc_commit() success, it will also do iptc_free() (TC_COMMIT)


which means
after iptc_commit()
no need to call iptc_free() again

Thus
file: iptcrdr.c
line 421,431,562 should be marked ? Shocked

What do you mean ?
Does it failed ?
_________________
Main miniUPnP author.
https://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
jimmywei



Joined: 10 Jan 2008
Posts: 8

PostPosted: Wed Oct 21, 2009 1:27 am    Post subject: Reply with quote

miniupnp wrote:
jimmywei wrote:
older iptable ( < 1.4.3)
when iptc_commit() success, it will also do iptc_free() (TC_COMMIT)


which means
after iptc_commit()
no need to call iptc_free() again

Thus
file: iptcrdr.c
line 421,431,562 should be marked ? Shocked

What do you mean ?
Does it failed ?



older iptable library (older than 1.4.3)
iptable library will automatically free the memory when you call iptc_commit()

but newer iptable library ( >= 1.4.3)
iptable library will not automatically free the memory when you call iptc_commit(), so you need to manually call iptc_free() to free the memory after iptc_commit().


The thing is, if using older iptable,
...
iptc_commit(&h); ==> already free the memory
iptc_free(&h); ==> free again, may cause unexpected
result
...


In my environment,
It won't failed. It crashed .

This bug is the same as
http://miniupnp.tuxfamily.org/forum/viewtopic.php?t=584
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1589

PostPosted: Wed Oct 21, 2009 2:59 pm    Post subject: Reply with quote

jimmywei wrote:
[...]
older iptable library (older than 1.4.3)
iptable library will automatically free the memory when you call iptc_commit()

but newer iptable library ( >= 1.4.3)
iptable library will not automatically free the memory when you call iptc_commit(), so you need to manually call iptc_free() to free the memory after iptc_commit().


The thing is, if using older iptable,
...
iptc_commit(&h); ==> already free the memory
iptc_free(&h); ==> free again, may cause unexpected
result
...


In my environment,
It won't failed. It crashed .

This bug is the same as
http://miniupnp.tuxfamily.org/forum/viewtopic.php?t=584

thanks.
is miniupnpd-20091010.tar.gz fixing the issue ?
_________________
Main miniUPnP author.
https://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
jimmywei



Joined: 10 Jan 2008
Posts: 8

PostPosted: Thu Oct 22, 2009 2:01 am    Post subject: Reply with quote

miniupnp wrote:
jimmywei wrote:
[...]
older iptable library (older than 1.4.3)
iptable library will automatically free the memory when you call iptc_commit()

but newer iptable library ( >= 1.4.3)
iptable library will not automatically free the memory when you call iptc_commit(), so you need to manually call iptc_free() to free the memory after iptc_commit().


The thing is, if using older iptable,
...
iptc_commit(&h); ==> already free the memory
iptc_free(&h); ==> free again, may cause unexpected
result
...


In my environment,
It won't failed. It crashed .

This bug is the same as
http://miniupnp.tuxfamily.org/forum/viewtopic.php?t=584

thanks.
is miniupnpd-20091010.tar.gz fixing the issue ?

Yes, it does solve this bug
Thanks a lot
Back to top
View user's profile Send private message
lyncencarge
Guest





PostPosted: Sun Dec 02, 2012 5:08 am    Post subject: Wierd bug that makes 9300 entrys in log file per s Reply with quote

Ok, I can tell, why I think, it is software bug.
This day I got another E50 and this showed the same error.
I couldn't imagine, that this brandnew keyboard doesn't have the actual OS.
But in fact, it's so.
This error is fixed by a new OS.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpd Bugs All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP
© 2007 Thomas Bernard, author of MiniUPNP.