Re: [ldm-users] pqinsert and pqcheck segfaults

  • To: Steve Emmerson <emmerson@xxxxxxxx>
  • Subject: Re: [ldm-users] pqinsert and pqcheck segfaults
  • From: Gilbert Sebenste <gilbert@xxxxxxx>
  • Date: Thu, 3 Nov 2016 19:10:47 +0000
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=gilbert@xxxxxxx;
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99
Steve,

No doubt, but instead of a seg fault, shouldn't he just have gotten a corrupt 
queue message?

Gilbert

On Nov 3, 2016, at 1:57 PM, Steve Emmerson 
<emmerson@xxxxxxxx<mailto:emmerson@xxxxxxxx>> wrote:

Gilbert,

The product-queue was copied from another system that died. Product-queue are 
very system-specific and shouldn't be copied between systems.

Regards,
Steve Emmerson

On Thu, Nov 3, 2016 at 12:51 PM, Gilbert Sebenste 
<gilbert@xxxxxxx<mailto:gilbert@xxxxxxx>> wrote:
Great! But...the LDM still shouldn't do that.

Gilbert

From: Trostel, John M. 
[mailto:john.trostel@xxxxxxxxxxxxxxx<mailto:john.trostel@xxxxxxxxxxxxxxx>]
Sent: Thursday, November 03, 2016 1:49 PM
To: Gilbert Sebenste <gilbert@xxxxxxx<mailto:gilbert@xxxxxxx>>; 
ldm-users@xxxxxxxxxxxxxxxx<mailto:ldm-users@xxxxxxxxxxxxxxxx>

Subject: RE: pqinsert and pqcheck segfaults

Turns out it was an old queue and deuling pq commands. Stopping with ldmadmin, 
recreating the queue, and restarting, solved the problem.



--
John Trostel
Director - Severe Storms Research Center
Georgia Tech Research Institute
Atlanta, GA


-------- Original message --------
From: Gilbert Sebenste <gilbert@xxxxxxx<mailto:gilbert@xxxxxxx>>
Date: 11/3/16 14:42 (GMT-05:00)
To: "Trostel, John M." 
<john.trostel@xxxxxxxxxxxxxxx<mailto:john.trostel@xxxxxxxxxxxxxxx>>, 
ldm-users@xxxxxxxxxxxxxxxx<mailto:ldm-users@xxxxxxxxxxxxxxxx>
Subject: RE: pqinsert and pqcheck segfaults

Hi John,

While it shouldn't do that, what is the size of the queue?

Gilbert

From: 
ldm-users-bounces@xxxxxxxxxxxxxxxx<mailto:ldm-users-bounces@xxxxxxxxxxxxxxxx> 
[mailto:ldm-users-bounces@xxxxxxxxxxxxxxxx] On Behalf Of Trostel, John M.
Sent: Thursday, November 03, 2016 9:26 AM
To: ldm-users@xxxxxxxxxxxxxxxx<mailto:ldm-users@xxxxxxxxxxxxxxxx>
Subject: [ldm-users] pqinsert and pqcheck segfaults

I'm now getting seg faults on both an older build and a fresh compile of LDM 
(6.13.5 and 6.12.14).

This all worked before I had to rebuild my system from scratch (Ubuntu 16.04 
LTS)

All compilation and configuration seems to work fine.

Output of gdb:

Reading symbols from ./pqcheck...done.
(gdb) run
Starting program: /home/ldm/ldm-6.13.5/bin/pqcheck
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
20161103T142135.640016Z pqcheck[16469] NOTE pqcheck.c:150:main() Starting Up 
(16469)

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7b799d7 in ctl_gopen (
    path=0x7ffff7dd47a0 <queuePath> "/home/ldm/var/queues/ldm.pq", pq=0x616440)
    at pq.c:4744
4744            if (!(pq->rlp->nalloc == pq->nalloc && pq->tqp->nalloc == 
pq->nalloc




--
John Trostel
Director - Severe Storms Research Center
Georgia Tech Research Institute
Atlanta, GA 30332-0857

_______________________________________________
NOTE: All exchanges posted to Unidata maintained email lists are
recorded in the Unidata inquiry tracking system and made publicly
available through the web.  Users who post to any of the lists we
maintain are reminded to remove any personal information that they
do not want to be made public.


ldm-users mailing list
ldm-users@xxxxxxxxxxxxxxxx<mailto:ldm-users@xxxxxxxxxxxxxxxx>
For list information or to unsubscribe,  visit: 
http://www.unidata.ucar.edu/mailing_lists/

  • 2016 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the ldm-users archives: