[torquedev] [Bug 48] New: SIGSEGV in pbs_statjob

bugzilla-daemon at supercluster.org bugzilla-daemon at supercluster.org
Thu Jan 28 05:16:00 MST 2010


http://www.clusterresources.com/bugzilla/show_bug.cgi?id=48

           Summary: SIGSEGV in pbs_statjob
           Product: TORQUE
           Version: 2.4.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: libtorque
        AssignedTo: glen.beane at gmail.com
        ReportedBy: zerger at gmail.com
                CC: torquedev at supercluster.org
   Estimated Hours: 0.0


Created an attachment (id=22)
 --> (http://www.clusterresources.com/bugzilla/attachment.cgi?id=22)
Reproduce bug

I try to obtain status of jobs with custom set of attributes to return. If
attrib parameter is not null pbs_statjob generates SIGSEGV signal. In the
attach a file that reproduce bug. 

Following gdb output:
[zerg at casper pbs]$ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib gdb ./a.out 
GNU gdb (GDB) Fedora (7.0.1-26.fc12)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/zerg/works/pbs/a.out...done.
(gdb) r
Starting program: /home/zerg/works/pbs/a.out 
Detaching after fork from child process 5586.

Program received signal SIGSEGV, Segmentation fault.
0x00b5ca28 in encode_DIS_attrl (sock=7, pattrl=0xbfffee4c) at
../Libifl/enc_attrl.c:121
121      for (ps = pattrl;ps != NULL;ps = ps->next)
Missing separate debuginfos, use: debuginfo-install glibc-2.11.1-1.i686
(gdb) backtrace
#0  0x00b5ca28 in encode_DIS_attrl (sock=7, pattrl=0xbfffee4c) at
../Libifl/enc_attrl.c:121
#1  0x00b5dcbf in encode_DIS_Status (sock=<value optimized out>, objid=<value
optimized out>, pattrl=<value optimized out>) at ../Libifl/enc_Status.c:103
#2  0x00b613c5 in PBSD_status_put (c=<value optimized out>, function=<value
optimized out>, id=<value optimized out>, attrib=<value optimized out>, 
    extend=<value optimized out>) at ../Libifl/PBSD_status2.c:109
#3  0x00b616ec in PBSD_status (c=<value optimized out>, function=<value
optimized out>, id=<value optimized out>, attrib=<value optimized out>, 
    extend=<value optimized out>) at ../Libifl/PBSD_status.c:109
#4  0x00b6128a in pbs_statjob (c=<value optimized out>, id=<value optimized
out>, attrib=<value optimized out>, extend=<value optimized out>)
    at ../Libifl/pbsD_statjob.c:110
#5  0x080486e0 in main (argc=1, argv=0xbffff334) at connect.c:31
(gdb) q
A debugging session is active.

    Inferior 1 [process 5583] will be killed.

Quit anyway? (y or n) y

-- 
Configure bugmail: http://www.clusterresources.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the torquedev mailing list