Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 938592

Summary: net-wireless/iwd-2.19 segfaults with dev-libs/ell-0.68
Product: Gentoo Linux Reporter: NHO <jy6x2b32pie9>
Component: Current packagesAssignee: Ben Kohler <bkohler>
Status: RESOLVED FIXED    
Severity: normal CC: asturm, eras, jy6x2b32pie9, sam, sdlarsen
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=924118
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description NHO 2024-08-28 11:34:22 UTC
crash happens at every restart of the service

backtrace:

Program received signal SIGSEGV, Segmentation fault.
l_netlink_send (netlink=0x555555638c60, message=message@entry=0x12, function=function@entry=0x0, user_data=user_data@entry=0x55555564d850, destroy=destroy@entry=0x10) at ell/netlink.c:413
warning: 413    ell/netlink.c: No such file or directory
(gdb) bt
#0  l_netlink_send (netlink=0x555555638c60, message=message@entry=0x12, function=function@entry=0x0, user_data=user_data@entry=0x55555564d850, destroy=destroy@entry=0x10) at ell/netlink.c:413
#1  0x000055555556e500 in netdev_get_link (netdev=0x55555564de20) at src/netdev.c:6116
#2  netdev_create_from_genl (msg=msg@entry=0x555555643930, set_mac=set_mac@entry=0x0) at src/netdev.c:6195
#3  0x00005555555ad79b in manager_use_default (state=0x5555556438d0) at src/manager.c:113
#4  manager_create_interfaces (state=state@entry=0x5555556438d0) at src/manager.c:206
#5  0x00005555555adb49 in manager_wiphy_check_setup_done (state=0x5555556438d0) at src/manager.c:305
#6  manager_wiphy_check_setup_done (state=0x5555556438d0) at src/manager.c:300
#7  manager_check_create_interfaces (data=0x5555556438d0, user_data=<optimized out>) at src/manager.c:514
#8  0x00007ffff7f2501f in l_queue_foreach_remove (queue=0x55555564a830, function=0x5555555adb20 <manager_check_create_interfaces>, user_data=0x0) at ell/queue.c:452
#9  0x00007ffff7f2e196 in destroy_request (data=0x55555564a9e0) at ell/genl.c:657
#10 process_unicast (genl=<optimized out>, nlmsg=0x7fffffffb9d0) at ell/genl.c:869
#11 received_data (io=<optimized out>, user_data=0x5555556388b0) at ell/genl.c:972
#12 0x00007ffff7f29fb0 in io_callback (fd=<optimized out>, events=1, user_data=0x555555638800) at ell/io.c:105
#13 0x00007ffff7f290b5 in l_main_iterate (timeout=<optimized out>) at ell/main.c:461
#14 0x00007ffff7f2918c in l_main_run () at ell/main.c:508
#15 l_main_run () at ell/main.c:490
#16 0x00007ffff7f293bf in l_main_run_with_signal (callback=callback@entry=0x555555561f50 <signal_handler>, user_data=user_data@entry=0x0) at ell/main.c:630
#17 0x00005555555613b5 in main (argc=<optimized out>, argv=<optimized out>) at src/main.c:611

Reproducible: Always
Comment 1 NHO 2024-08-28 11:35:07 UTC
Created attachment 901413 [details]
emerge --info
Comment 2 Søren Dalby Larsen 2024-08-28 11:44:59 UTC
Just confirming that I have the same issue.
Comment 3 Larry the Git Cow gentoo-dev 2024-08-28 14:16:02 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df2ec0216f27802ca11999c1ef8545491c9c988c

commit df2ec0216f27802ca11999c1ef8545491c9c988c
Author:     Ben Kohler <bkohler@gentoo.org>
AuthorDate: 2024-08-28 14:13:27 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2024-08-28 14:15:56 +0000

    net-wireless/iwd: tighten ell dep again
    
    The ell API has been shown a few times to be backwards-incompatible,
    with a new ell release breaking older iwd releases.  These 2 packages
    are generally released and stabilized in tandem but occasionally they
    diverge, so we need to make sure each iwd release gets the ell version
    that is intended by upstream.
    
    Closes: https://bugs.gentoo.org/938592
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 net-wireless/iwd/iwd-2.19-r1.ebuild | 167 ++++++++++++++++++++++++++++++++++++
 1 file changed, 167 insertions(+)