Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8521915
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T06:57:41+00:00 2026-06-11T06:57:41+00:00

I am having a linked list of nodes modified(added and deleted) dynamically from a

  • 0

I am having a linked list of nodes modified(added and deleted) dynamically from a user space program. What are the chances that the allocation of nodes are always in user space?

Usual Linked list node,

struct node {
  int x;
  struct node *next;
};

I got this question since when I traverse through the list, the kernel sends a SIGSEGV signal to this user space process.Also I have done the NULL pointer check whenever I create a new node.

Also I know that the kernel sends SIGSEGV signal if the process tries accessing kernel memory.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T06:57:42+00:00Added an answer on June 11, 2026 at 6:57 am

    What are the chances that the allocation of nodes are always in user space?

    100% certain.

    when I traverse through the list, the kernel sends a SIGSEGV signal

    It means there is a bug in your program trying to access la-la-land.

    Also I know that the kernel sends SIGSEGV signal if the process tries accessing kernel memory.

    SIGSEGV is a POSIX standard signal sent when the program tries to access forbidden memory. So not necessarily just kernel memory, but rather any memory anywhere outside the space that your process has access to.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am reading XOR linked list (from Wikipedia).But I am having some problems in
I'm having trouble implementing a Stack using a linked list with struct. The program
Having a singly linked list with its nodes being BST's, what is the code
I am currently working on a stack that implements linked list. I am having
So I'm having an issue with adding to an ArrayList or a Linked List
I'm having some issues with my linked list. I have struct dListNode used as
I have an assignment that requires us to implement a doubly linked list class.
I'm having trouble trying to implement a linked List without using classes(we're not there
Possible Duplicate: Linked list implementation of Binary Min Heap (Having trouble with manipulation…) Greetings,
I'm having some trouble with my insertion method for a linked list in C.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.