Skip to content

segdwrite Segmentation fault (core dumped) error #183

@Aib-wang

Description

@Aib-wang

I build the seisunix package with the make configure option #XDRFLAG = -DSUXDR. When using segywrite, the 'Segmentation fault (core dumped) error' occured. I checked the source code of segywrite.c and find the error occured at line #295 efread(ebcbuf, 1, EBCBYTES, pipefp);. The efread function is not in the standard library, and i don't know how to debug further.
The system is Ubuntu 22.04.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions