The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
.
google unix.com



IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
segmentation fault joey High Level Programming 3 12-22-2008 05:28 PM
Why not a segmentation fault?? lagigliaivan High Level Programming 22 05-21-2008 11:07 AM
Hi! segmentation fault vijlak High Level Programming 4 11-13-2006 10:48 AM
Segmentation Fault compbug UNIX for Dummies Questions & Answers 3 04-21-2006 10:43 AM
segmentation fault wojtyla High Level Programming 3 02-19-2005 02:53 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 06-10-2009
lameduck0123 lameduck0123 is offline
Registered User
  
 

Join Date: Jun 2009
Posts: 1
recvfrom() causes segmentation fault

hi all....
i wrote a program with udp sockets..
when it reaches the function 'recvfrom()' it crashes with a core dump.
the gdb trace says the following error msg...

Core was generated by `/opt/fmp'.
Program terminated with signal 6, Aborted.
#0 0x00000055555b18e4 in recvfrom () from /lib64/libpthread.so.0
(gdb) c
The program is not being run.
(gdb) bt
#0 0x00000055555b18e4 in recvfrom () from /lib64/libpthread.so.0
#1 0x00000001200054fc in ParseExecuteCommand (sock=6) at ../src/command_mgmt.c:92
#2 0x0000000120004f30 in main (argc=1, argv=0xffffd685f8) at ../src/main.c:586

can anybody tell me when 'recvfrom()' can cause segmenation fault?????
 

Bookmarks

Tags
core dump, gdb, recvfrom, segmentation fault, udp

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:08 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0