Menu

#83 Buffer Overflow in demorest github version of dspsr

version_1.0
closed-rejected
None
5
2020-02-03
2020-01-09
No

I tried using the dspsr version of https://github.com/demorest/dspsr , however I ran into the following error-

$ dspsr -E 0950.eph -b 128 -U 8448 1141224136_ch133-156_0001.fits
dspsr: Loading ephemeris from 0950.eph
*** buffer overflow detected ***: dspsr terminated
Aborted (core dumped)

This particular fits file is 24 GB and I'm using dspsr in a 64 GB machine.
Kindly help with the issue.

Discussion

  • Parul Janagal

    Parul Janagal - 2020-01-10
    Post awaiting moderation.
  • Parul Janagal

    Parul Janagal - 2020-01-10
    Post awaiting moderation.
  • Parul Janagal

    Parul Janagal - 2020-01-10
    Post awaiting moderation.
  • Parul Janagal

    Parul Janagal - 2020-01-11

    I have installed the latest version of DSPSR and the above error continues. There is a different error if I use a smaller file (~520 MB in this case).

    $ dspsr -E 1644-4559.eph -b 64 -s -K -t 4 -U 8448 1644-4559.cpsr2
    dspsr: Loading ephemeris from 1644-4559.eph
    yama_search - YAMASAKI normal
    yamasaki_verify: 256 counts verified
    dspsr: dedispersion filter length=134217728 (minimum=8388608) complex samples
    dspsr: convolution requires at least 536870912 samples
    dspsr: blocksize=536870912 samples or 8448 MB
    dsp::WeightedTimeSeries::get_nweights FATAL ERROR:
    weights=0x7fd61c7f9010 + nweights=997977 > base=0x7fd61c7f9010 + size=498989 (weight_idat=0)

    Are there any specific system requirements to use DSPSR? I am using a 64 GB RAM GPU-enabled machine.

     
  • Andrew Jameson

    Andrew Jameson - 2020-02-03

    Parul,

    You raised a number of simultaneous bug reports on DSPSR, and I believe that some of those were resolved? Have you resolved this particular issue with this file?

    If not - did you try adding a lot more channelisation to the command line? e.g.

    dspsr -E 1644-4559.eph -F 128:D -b 64 -s -K -t 4 1644-4559.cpsr2

    Cheers,

    Andrew

     
  • Andrew Jameson

    Andrew Jameson - 2020-02-03
    • assigned_to: Andrew Jameson
     
  • Parul Janagal

    Parul Janagal - 2020-02-03

    Dear Sir,

    Thank you for your response. Now the issue is resolved. Some of them were related to PSRchive installation, GNU autotools, and the backends.list. I also used channelization as you've suggested. Apologies for raising multiple issues at once.

    Regards,
    Parul Janagal

     
  • Andrew Jameson

    Andrew Jameson - 2020-02-03
    • status: open --> closed-rejected
     
  • Andrew Jameson

    Andrew Jameson - 2020-02-03

    Issue was not related to DSPSR software, but rather PSRCHIVE installation and autotools.

     

Log in to post a comment.

MongoDB Logo MongoDB