Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 891033 - sys-process/numad-0.5_p20180531: segfault in bind_process_and_migrate_memory -> malloc
Summary: sys-process/numad-0.5_p20180531: segfault in bind_process_and_migrate_memory ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 891009
  Show dependency tree
 
Reported: 2023-01-16 06:57 UTC by Georgy Yakovlev
Modified: 2023-01-16 06:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Georgy Yakovlev archtester gentoo-dev 2023-01-16 06:57:50 UTC
Program terminated with signal SIGSEGV, Segmentation fault.                                                                                                                                                                                                     
#0  0x00007ffc92768fe4 in malloc () from /usr/lib64/libc.so.6                                                                                                                                                                                                   
[Current thread is 1 (Thread 0x7ffc92aa35e0 (LWP 3850940))]                                                                                                                                                                                                     
(gdb) bt                                                                                                                                                                                                                                                        
#0  0x00007ffc92768fe4 in malloc () from /usr/lib64/libc.so.6                                                                                                                                                                                                   
#1  0x00000004849e49b4 in bind_process_and_migrate_memory (p=p@entry=0x4929d8960) at numad.c:993                                                                                                                                                                
#2  0x00000004849e8e48 in manage_loads () at numad.c:2230                                                                                                                                                                                                       
#3  0x00000004849ea080 in main (argc=<optimized out>, argv=<optimized out>) at numad.c:2659                                                                                                                                                                     
(gdb) bt full                                                                                                                                                                                                                                                   
#0  0x00007ffc92768fe4 in malloc () from /usr/lib64/libc.so.6                                                                                                                                                                                                   
No symbol table info available.                                                                                                                                                                                                                                 
#1  0x00000004849e49b4 in bind_process_and_migrate_memory (p=p@entry=0x4929d8960) at numad.c:993                                                                                                                                                                
        t0 = 11941151                                                                                                                                                                                                                                           
        cpu_bind_list_p = 0x0                                   
        nodes = <optimized out>                                 
        node_id = <optimized out>
        fname = "\240\002\234\222", '\000' <repeats 12 times>, "\240\002\234\222\004\000\000\000\020nj\300\377\177\000\000\001\000\000\000\000\000\000\000\060nj\300\377\177\000\000hnj\300\377\177\000\000I\000\000\000\000\000\000\000\000r\216\222\374\177\000\000@nj\300\377\177\000\000\235\261\236\204\004\000\000\000\001\000\000\000\000\000\000\000\005\000\000\000\000\000\000\000X͌\300\377\177\000\000\r\000\000\000\000\000\000\000\060͌\300\377\177\000\000\000\000\000\000\000\000\000\000p\317q\222\374\177\000\000\000r\216\222\374\177\000\000\370#\236\204\004\000\000\000\000\177\240\204\004\000\000\000\375\354\304c\000\000\000\000Sun Jan 15 22:21"
        namelist = 0x7ffc9274576c <_IO_do_write+60>
        num_tasks = <optimized out>
        dest_mask = 0x0                                         
        from_mask = 0x0                                         
        allocated_bytes_in_masks = 0
        num_bytes_in_masks = <optimized out>
        prev_from_node_id = <optimized out>
#2  0x00000004849e8e48 in manage_loads () at numad.c:2230
        mem_target_utilization = <optimized out>
        thread_limit = <optimized out>
        p = 0x4929d8960                                         
        cpu_target_utilization = <optimized out>
        mb_request = 783243                                     
        cpu_request = 2000                                      
        assume_enough_cpus = <optimized out>
        node_list_p = <optimized out>
        ix = 0                                                  
--Type <RET> for more, q to quit, c to continue without paging-- 
        time_stamp = 11941150
        pindex_size = 64
        pindex = 0x4929cd680
        nprocs = 1
        sum_CPUs_used = 12281454110325929
        num_unbound = <optimized out>
#3  0x00000004849ea080 in main (argc=<optimized out>, argv=<optimized out>) at numad.c:2659
        interval = 15
        nodes = 2
        sid = <optimized out>
        sa = {__sigaction_handler = {sa_handler = 0x4849e215c <sig_handler>, sa_sigaction = 0x4849e215c <sig_handler>}, sa_mask = {__val = {0 <repeats 16 times>}}, sa_flags = 0, sa_restorer = 0x0}
        attr = {__size = '\000' <repeats 18 times>, "\001", '\000' <repeats 36 times>, __align = 0}
        tid = 140722764968224
        opt = <optimized out>
        C_flag = 0
        d_flag = <optimized out>
        H_flag = 0
        i_flag = 1
        K_flag = 0
        l_flag = 0
        m_flag = 0
        p_flag = 0
        r_flag = 0
        S_flag = 0
        t_flag = 0
        u_flag = 0
        v_flag = 0
        w_flag = 0
        x_flag = 0
        tmp_int = <optimized out>
        list_pid = <optimized out>
        daemon_pid = <optimized out>
(gdb)

probably related to numad-0.5-fix-sparse-node-ids.patch or I managed to catch scenario this patch does not cover.