Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#49466 - [net-tools] ifconfig hso0 hw ash crashes

Attached to Project: Arch Linux
Opened by Elmar Stellnberger (estellnb) - Wednesday, 25 May 2016, 18:15 GMT
Last edited by Antonio Rojas (arojas) - Monday, 31 January 2022, 17:15 GMT
Task Type Bug Report
Category Packages: Testing
Status Assigned
Assigned To Ronald van Haren (pressh)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 1
Private No

Details

If I try to set the IMEI of my Qualcom 3G WCDMA, GTM 382 via ifconfig to what it already is I get a SIGSEGV using net-tools 1.60.20160215git-1.

> ifconfig hso0 hw ash 354533022786588
Segmentation violation at ...

By recompiling the package with -gstabs and by use of gdb I got the following backtrace:

#0 0x0000000000404143 in in_ash (bufp=0x8 <error: Cannot access memory at address 0x8>, sasp=0x7fffffffe230) at ash.c:73
next = 0x19 <error: Cannot access memory at address 0x19>
ptr = 0x7fffffffe232 ""
#1 0x0000000000402b6e in main (argc=8, argv=0x7fffffffe33e) at ifconfig.c:692
_sa = {ss_family = 58472, __ss_align = 812610408,
__ss_padding = "\000\000\000\000\000\000\000\000\001", '\000' <repeats 15 times>, "x\343\377\377\377\177\000\000\301-\336\367\377\177\000\000\r\003\000\000\000\000\000\000`\205\372\367\377\177\000\000\001", '\000' <repeats 15 times>, "\001\000\000\000\000\000\000\000\020\341\377\367\377\177", '\000' <repeats 25 times>}
_samask = {ss_family = 58472, __ss_align = 4294959808,
__ss_padding = "\000\344\377\377\001\000\000\000\020\341\377\367\377\177\000\000\260\342\377\377\377\177\000\000\212\v@\000\000\000\000\000.N=\366\000\000\000\000\377\377\377\377\000\000\000\000h\370\336\367\377\177\000\000\020\204\244\367\377\177\000\000\000\200\372\367\377\177\000\000\020\343\377\377\377\177\000\000\000\000\000\000\000\000\000\000\250\346\377\367\377\177\000\000\000\343\377\377\377\177\000\000G\270\271\367\377\177\000"}
host = "&\260be\000\000\000\000\377\377\377\377", '\000' <repeats 12 times>, "\200\242\377\367\377\177\000\000\250\346\377\367\377\177\000\000\230\331\377\367\377\177\000\000\020\363`\000\000\000\000\000\063\065\064\065\063\063\060\062\062\067\070\066\065\070\070", '\000' <repeats 56 times>
hw = 0x60f4c0 <ash_hwtype>
ifr = {ifr_ifrn = {ifrn_name = "\003\000\000\000\000\000\000\000\070\342\377\377\000\000\000"}, ifr_ifru = {ifru_addr = {sa_family = 45094,
sa_data = "be\000\000\000\000\300\212\225\001\000\000\000"}, ifru_dstaddr = {sa_family = 45094, sa_data = "be\000\000\000\000\300\212\225\001\000\000\000"},
ifru_broadaddr = {sa_family = 45094, sa_data = "be\000\000\000\000\300\212\225\001\000\000\000"}, ifru_netmask = {sa_family = 45094,
sa_data = "be\000\000\000\000\300\212\225\001\000\000\000"}, ifru_hwaddr = {sa_family = 45094, sa_data = "be\000\000\000\000\300\212\225\001\000\000\000"},
ifru_flags = -20442, ifru_ivalue = 1700966438, ifru_mtu = 1700966438, ifru_map = {mem_start = 1700966438, mem_end = 26577600, base_addr = 0, irq = 0 '\000', dma = 0 '\000',
port = 0 '\000'}, ifru_slave = "&\260be\000\000\000\000\300\212\225\001\000\000\000", ifru_newname = "&\260be\000\000\000\000\300\212\225\001\000\000\000",
ifru_data = 0x6562b026 <error: Cannot access memory at address 0x6562b026>}}
goterr = 0
ifr6 = {ifr6_addr = {__in6_u = {__u6_addr8 = "\200\275\243\367\377\177\000\000@\366`\000\000\000\000", __u6_addr16 = {48512, 63395, 32767, 0, 63040, 96, 0, 0}, __u6_addr32 = {
4154703232, 32767, 6354496, 0}}}, ifr6_prefixlen = 0, ifr6_ifindex = 0}
This task depends upon

Comment by Doug Newgard (Scimmia) - Thursday, 26 May 2016, 13:25 GMT
You might want to note that everything in net-tools is considered deprecated.
https://www.archlinux.org/news/deprecation-of-net-tools/

Loading...