-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"ubridge -e" cause a core dump on fedora workstation 36 #81
Comments
Thanks for reporting. This may be a problem with the installed libpcap or the way we call |
I executed the program on Fedora Workstation 36, and it did not define macro #0 nlmsg_inherit (hdr=hdr@entry=0x7fffffffdc60) at lib/msg.c:329
#1 0x00007ffff7c9c3e8 in nlmsg_alloc_simple (nlmsgtype=nlmsgtype@entry=5121, flags=flags@entry=768) at lib/msg.c:358
#2 0x00007ffff7ca0540 in nl_send_simple (sk=sk@entry=0x41b430, type=type@entry=5121, flags=flags@entry=768, buf=buf@entry=0x0, size=size@entry=0) at lib/nl.c:587
#3 0x00007ffff7d4e79d in rdmanl_get_devices (cb_func=0x7ffff7d4f300 <find_sysfs_devs_nl_cb>, data=0x7fffffffde80, nl=0x41b430) at /usr/src/debug/rdma-core-39.0-1.fc36.x86_64/util/rdma_nl.c:113
#4 find_sysfs_devs_nl (tmp_sysfs_dev_list=0x7fffffffde80) at /usr/src/debug/rdma-core-39.0-1.fc36.x86_64/libibverbs/ibdev_nl.c:200
#5 0x00007ffff7d4c362 in ibverbs_get_device_list (device_list=0x7ffff7d59010 <device_list.lto_priv>) at /usr/src/debug/rdma-core-39.0-1.fc36.x86_64/libibverbs/init.c:560
#6 __ibv_get_device_list_1_1 (num=num@entry=0x7fffffffdee4) at /usr/src/debug/rdma-core-39.0-1.fc36.x86_64/libibverbs/device.c:74
#7 0x00007ffff7f69450 in rdmasniff_findalldevs (devlistp=0x7fffffffdf68, err_str=0x7fffffffdfd0 '#' <repeats 16 times>) at ./pcap-rdmasniff.c:437
#8 0x00007ffff7f69b02 in pcap_findalldevs (alldevsp=<optimized out>, errbuf=<optimized out>) at ./pcap.c:732
#9 0x000000000040460f in display_network_devices () at src/ubridge.c:339
#10 0x000000000040486b in main (argc=2, argv=0x7fffffffe248) at src/ubridge.c:409
(gdb) l
324 struct nl_msg *nlmsg_inherit(struct nlmsghdr *hdr)
325 {
326 struct nl_msg *nm;
327
328 nm = nlmsg_alloc();
329 if (nm && hdr) {
330 struct nlmsghdr *new = nm->nm_nlh;
331
332 new->nlmsg_type = hdr->nlmsg_type;
333 new->nlmsg_flags = hdr->nlmsg_flags; In line 332, the pointer |
I figured it out finally, actually it should be a linking problem, the routine in [parkeryan@fedora gg]$ ./ubridge -e
Network device list:
ens160 => no description
any => Pseudo-device that captures on all interfaces
lo => no description
bluetooth-monitor => Bluetooth Linux Monitor
usbmon2 => Raw USB traffic, bus number 2
usbmon1 => Raw USB traffic, bus number 1
usbmon0 => Raw USB traffic, all USB buses
nflog => Linux netfilter log (NFLOG) interface
nfqueue => Linux netfilter queue (NFQUEUE) interface |
I am a bit confused, where is |
Hi, guys.
I got a core dump while running "ubridge -e" on fedora workstation 36, here is the deail output.
The text was updated successfully, but these errors were encountered: