bugacl - Bugs: bug #62746, process setfactl crashed, Program...

 
 

bug #62746: process setfactl crashed, Program terminated with signal SIGSEGV, Segmentation fault.

Submitter:  Nikhil <nikhil>
Submitted:  Mon 11 Jul 2022 02:06:31 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Need Info
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 04 Jan 2023 07:55:12 AM UTC, comment #1: 

you should at least try the latest version

if it still fails, please see if an unoptimized version crashes so you can get a better backtrace

Mike Frysinger <vapier>
Group Member
Mon 11 Jul 2022 02:06:31 PM UTC, original submission:  

version:acl-2.2.53

Coredump analysis:

Coredump binary: /tmp/tmpyo_jr9ml
process binary /usr/bin/setfacl
[New LWP 994]
Core was generated by `/usr/bin/setfacl -m g:hmi_resourceaccess:X /var/opt/personal/i36e2d5/oap/oap_40'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000000779ad22698 in ?? ()

[inferior]
  Num  Description       Executable       

  • 1    process 994       /sdk/sysroots/aarch64-poky-linux/usr/bin/setfacl


[Backtrace]
#0  __GI_____strtol_l_internal (nptr=nptr@entry=0x664a7ed8fc <error: Cannot access memory at address 0x664a7ed8fc>, endptr=endptr@entry=0x7fd0033810, base=base@entry=0, group=group@entry=0, loc=0x779ae4d340 <_nl_global_locale>) at ../stdlib/strtol_l.c:292
        negative = <optimized out>
        cutoff = <optimized out>
        cutlim = <optimized out>
        i = <optimized out>
        s = 0x664a7ed8fc <error: Cannot access memory at address 0x664a7ed8fc>
        c = <optimized out>
        save = <optimized out>
        end = <optimized out>
        overflow = <optimized out>
        cnt = <optimized out>
        current = 0x779ae49dc8 <_nl_C_LC_NUMERIC>
        thousands = 0x0
        thousands_len = 0
        grouping = 0x0
        j = <optimized out>
        jmax = <optimized out>
        __res = <optimized out>
        __c = <optimized out>
        __res = <optimized out>
        __c = <optimized out>
        __res = <optimized out>
        __c = <optimized out>
#1  0x000000779ad22608 in __strtol (nptr=nptr@entry=0x664a7ed8fc <error: Cannot access memory at address 0x664a7ed8fc>, endptr=endptr@entry=0x7fd0033810, base=base@entry=0) at ../stdlib/strtol.c:106
No locals.
#2  0x000000644a7ed5e4 in get_id (token=token@entry=0x664a7ed8fc <error: Cannot access memory at address 0x664a7ed8fc>, id_p=id_p@entry=0x644a7efc37) at ../acl-2.2.53/tools/parse.c:121
        ep = 0x7fd00338d8 "3?\003\320\177"
        l = <optimized out>
#3  0x000000644a7ed820 in get_uid (token=0x664a7ed8fc <error: Cannot access memory at address 0x664a7ed8fc>, uid_p=0x644a7efc37) at ../acl-2.2.53/tools/parse.c:143
        passwd = <optimized out>
#4  0x000000644a7ed8fc in parse_acl_cmd (text_p=text_p@entry=0x7fd00338d8, seq_cmd=seq_cmd@entry=0, parse_mode=parse_mode@entry=33) at ../acl-2.2.53/tools/parse.c:209
        cmd = 0x647309e2c0
        str = <optimized out>
        backup = 0x7fd0033f33 "g:hmi_resourceaccess:X"
        error = <optimized out>
        perm_chars = <optimized out>
#5  0x000000644a7edc64 in parse_acl_seq (seq=0x647309e2a0, text_p=<optimized out>, which=0x7fd0033970, seq_cmd=0, parse_mode=33) at ../acl-2.2.53/tools/parse.c:376
        initial_text_p = 0x7fd0033f33 "g:hmi_resourceaccess:X"
        cmd = <optimized out>
#6  0x000000644a7ec29c in main (argc=4, argv=0x7fd0033ad8) at ../acl-2.2.53/tools/setfacl.c:447
        seq_remove_default_acl_cmd = 0x0
        seq_remove_acl_cmd = 0x0
        opt = 109
        saw_files = 0
        status = 0
        file = <optimized out>
        which = -1
        lineno = 100
        error = <optimized out>
        seq = 0x647309e2a0
        seq_cmd = <optimized out>
        parse_mode = <optimized out>

Nikhil <nikhil>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by vapier (Posted a comment)
  • -email is unavailable- added by nikhil (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-01-13 vapier StatusNone Need Info
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code