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 

SIGSEGV when running on linux

 
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpc Compilation/Installation
View previous topic :: View next topic  
Author Message
llittle



Joined: 21 Jul 2015
Posts: 2

PostPosted: Tue Jul 21, 2015 10:08 pm    Post subject: SIGSEGV when running on linux Reply with quote

Hi,

I'm having some issues running the lib on linux, I compiled everything fine and I even got the upnpc-static program to run and that works fine, but when I include the .a lib in my own project and run it I get a segmentation fault when it tries to execute the function receivedata in upnpDiscover() on line 671. And the weirdest thing is that I can't get into that function so I have no idea where it segfaults in the receivedata file.

I would really appreciate some help,

thanks!
Back to top
View user's profile Send private message
llittle



Joined: 21 Jul 2015
Posts: 2

PostPosted: Wed Jul 22, 2015 5:13 pm    Post subject: Reply with quote

Figured it out! Apparently there was a naming conflict with the receivedata() function and it wasn't calling the correct one.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpc Compilation/Installation All times are GMT
Page 1 of 1

 
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.