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

  • Home
  • SEARCH
  • 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 6383391
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T02:38:36+00:00 2026-05-25T02:38:36+00:00

i’m writing a small tool written in c and met on a segmentation fault

  • 0

i’m writing a small tool written in c and met on a segmentation fault which i don’t know currently how to resolve. Running in GDB gives me the following hint:


    Program received signal SIGSEGV, Segmentation fault. 
    __strlen_sse42 () at ../sysdeps/x86_64/multiarch/strlen-sse4.S:32 
    ../sysdeps/x86_64/multiarch/strlen-sse4.S: File or Directory not found 
    in ../sysdeps/x86_64/multiarch/strlen-sse4.S
    (gdb) bt
    0  __strlen_sse42 () at ../sysdeps/x86_64/multiarch/strlen-sse4.S:32
    1  0x00007ffff764fed8 in strdup_and_subst_obj () from /usr/lib/libgvc.so.5
    2  0x00007ffff7650631 in make_label () from /usr/lib/libgvc.so.5
    3  0x00007ffff765a6d1 in common_init_node_opt () from /usr/lib/libgvc.so.5
    4  0x00007ffff309d700 in dot_init_node_edge () from 
    usr/lib/graphviz/libgvplugin_dot_layout.so.6
    5  0x00007ffff309dcd8 in dot_layout () from /usr/lib/graphviz/libgvplugin_dot_layout.so.6
    6  0x00007ffff7633a94 in gvLayoutJobs () from /usr/lib/libgvc.so.5
    7  0x00007ffff7639425 in gvLayout () from /usr/lib/libgvc.so.5
    8  0x0000000000400eef in main ()

I would say: i’m missing a specific dependency on my system or in my executable (Ubuntu 11.04 64-Bit) Would be very grateful for any advice :]

I’m currently using:

gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2

Edit:

(gdb) info registers

    rax            0x6380e0 6521056
    rbx            0x62dc14 6478868
    rcx            0x0  0
    rdx            0x0  0
    rsi            0x639770 6526832
    rdi            0x0  0
    rbp            0x639770 0x639770
    rsp            0x7fffffffd358   0x7fffffffd358
    r8             0x0  0
    r9             0x0  0
    r10            0x7fffffffd140   140737488343360
    r11            0x7ffff764fda0   140737343978912
    r12            0x62dc14 6478868
    r13            0x639770 6526832
    r14            0x0  0
    r15            0x7ffff7671d85   140737344118149
    rip            0x7ffff6d7d49f   0x7ffff6d7d49f 
    eflags         0x10246  [ PF ZF IF RF ]
    cs             0x33 51
    ss             0x2b 43
    ds             0x0  0
    es             0x0  0
    fs             0x0  0
    gs             0x0  0
  • 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-05-25T02:38:37+00:00Added an answer on May 25, 2026 at 2:38 am

    Segmentation fault is usually a null pointer dereference. Given that libc is pretty solid, you most likely want to recompile your program with debug symbols, and get the debug variant of the Ubuntu package for libgvc.

    The “Missing strlen_sse4.S” is just the debugger complaining that it can’t find the file to give you a listing of the crash site. You need only get a copy of glibc source to examine the file.

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

Sidebar

Related Questions

I used javascript for loading a picture on my website depending on which small
I am currently running into a problem where an element is coming back from
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I am trying to understand how to use SyndicationItem to display feed which is
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I have a French site that I want to parse, but am running into
I want use html5's new tag to play a wav file (currently only supported
I would like to run a str_replace or preg_replace which looks for certain words
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have a text area in my form which accepts all possible characters from

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.