__libc_start_main(0x401ab0, 2, 0x7fff61c422a8, 0x405830, 0x4058c0 access("/etc/usb_modeswitch.conf", 0) = 0 __strdup(0x405fed, 0, 0x7fff61c422c0, -1, 0x4058c0) = 0x24ee010 fopen("/etc/usb_modeswitch.conf", "r") = 0x24ee040 regcomp(0x7fff61c3dfa0, 0x4066e8, 1, -1, 0) = 0 regcomp(0x7fff61c3dfe0, 0x406728, 1, 0x24ee640, 0) = 0 malloc(16) = 0x024f2ee0 malloc(16) = 0x024efb60 fgets("", -1190977462, 0x24ee120) = 0x7fff61c3e020 regexec(0x7fff61c3dfa0, 0x7fff61c3e020, 2, 0x24f2ee0, 0) = 1 regexec(0x7fff61c3dfe0, 0x7fff61c3e020, 2, 0x24efb60, 0) = 1 fgets("", -1190977413, 0x24ee120) = 0x7fff61c3e020 regexec(0x7fff61c3dfa0, 0x7fff61c3e020, 2, 0x24f2ee0, 0) = 1 regexec(0x7fff61c3dfe0, 0x7fff61c3e020, 2, 0x24efb60, 0) = 1 fgets("", -1190977411, 0x24ee120) = 0x7fff61c3e020 regexec(0x7fff61c3dfa0, 0x7fff61c3e020, 2, 0x24f2ee0, 0) = 1 regexec(0x7fff61c3dfe0, 0x7fff61c3e020, 2, 0x24efb60, 0) = 1 fgets("", -1190977336, 0x24ee120) = 0x7fff61c3e020 regexec(0x7fff61c3dfa0, 0x7fff61c3e020, 2, 0x24f2ee0, 0) = 1 regexec(0x7fff61c3dfe0, 0x7fff61c3e020, 2, 0x24efb60, 0) = 1 fgets("", -1190977321, 0x24ee120) = 0x7fff61c3e020 regexec(0x7fff61c3dfa0, 0x7fff61c3e020, 2, 0x24f2ee0, 0) = 1 regexec(0x7fff61c3dfe0, 0x7fff61c3e020, 2, 0x24efb60, 0) = 1 fgets("", -1190977245, 0x24ee120) = 0x7fff61c3e020 regexec(0x7fff61c3dfa0, 0x7fff61c3e020, 2, 0x24f2ee0, 0) = 1 regexec(0x7fff61c3dfe0, 0x7fff61c3e020, 2, 0x24efb60, 0) = 1 fgets("", -1190977207, 0x24ee120) = 0x7fff61c3e020 regexec(0x7fff61c3dfa0, 0x7fff61c3e020, 2, 0x24f2ee0, 0) = 1 regexec(0x7fff61c3dfe0, 0x7fff61c3e020, 2, 0x24efb60, 0) = 1 fgets("", -1190977206, 0x24ee120) = 0x7fff61c3e020 regexec(0x7fff61c3dfa0, 0x7fff61c3e020, 2, 0x24f2ee0, 0) = 1 regexec(0x7fff61c3dfe0, 0x7fff61c3e020, 2, 0x24efb60, 0) = 1 fgets("", -1190977205, 0x24ee120) = 0x7fff61c3e020 regexec(0x7fff61c3dfa0, 0x7fff61c3e020, 2, 0x24f2ee0, 0) = 1 regexec(0x7fff61c3dfe0, 0x7fff61c3e020, 2, 0x24efb60, 0) = 1 fgets("", -1190977132, 0x24ee120) = 0x7fff61c3e020 regexec(0x7fff61c3dfa0, 0x7fff61c3e020, 2, 0x24f2ee0, 0) = 1 regexec(0x7fff61c3dfe0, 0x7fff61c3e020, 2, 0x24efb60, 0) = 1 fgets("", -1190977113, 0x24ee120) = 0x7fff61c3e020 regexec(0x7fff61c3dfa0, 0x7fff61c3e020, 2, 0x24f2ee0, 0) = 1 regexec(0x7fff61c3dfe0, 0x7fff61c3e020, 2, 0x24efb60, 0) = 1 fgets("", -1190977112, 0x24ee120) = 0x7fff61c3e020 regexec(0x7fff61c3dfa0, 0x7fff61c3e020, 2, 0x24f2ee0, 0) = 1 regexec(0x7fff61c3dfe0, 0x7fff61c3e020, 2, 0x24efb60, 0) = 1 fgets("", -1190977093, 0x24ee120) = 0x7fff61c3e020 regexec(0x7fff61c3dfa0, 0x7fff61c3e020, 2, 0x24f2ee0, 0) = 0 strlen("DisableSwitching=0\n") = 19 __strndup(0x7fff61c3e031, 1, 18, 32, 0x24ee390) = 0x24f2260 strtol(0x24f2260, 0, 10, 48, 0x7fff61c3e031) = 0 free(0x024f2260) = regexec(0x7fff61c3dfe0, 0x7fff61c3e020, 2, 0x24efb60, 0) = 1 fgets("", -1190977092, 0x24ee120) = 0x7fff61c3e020 regexec(0x7fff61c3dfa0, 0x7fff61c3e020, 2, 0x24f2ee0, 0) = 1 regexec(0x7fff61c3dfe0, 0x7fff61c3e020, 2, 0x24efb60, 0) = 1 fgets("", -1190977091, 0x24ee120) = 0x7fff61c3e020 regexec(0x7fff61c3dfa0, 0x7fff61c3e020, 2, 0x24f2ee0, 0) = 1 regexec(0x7fff61c3dfe0, 0x7fff61c3e020, 2, 0x24efb60, 0) = 1 fgets("", -1190977019, 0x24ee120) = 0x7fff61c3e020 regexec(0x7fff61c3dfa0, 0x7fff61c3e020, 2, 0x24f2ee0, 0) = 1 regexec(0x7fff61c3dfe0, 0x7fff61c3e020, 2, 0x24efb60, 0) = 1 fgets("", -1190976961, 0x24ee120) = 0x7fff61c3e020 regexec(0x7fff61c3dfa0, 0x7fff61c3e020, 2, 0x24f2ee0, 0) = 1 regexec(0x7fff61c3dfe0, 0x7fff61c3e020, 2, 0x24efb60, 0) = 1 fgets("", -1190976960, 0x24ee120) = 0x7fff61c3e020 regexec(0x7fff61c3dfa0, 0x7fff61c3e020, 2, 0x24f2ee0, 0) = 1 regexec(0x7fff61c3dfe0, 0x7fff61c3e020, 2, 0x24efb60, 0) = 1 fgets("", -1190976944, 0x24ee120) = 0x7fff61c3e020 regexec(0x7fff61c3dfa0, 0x7fff61c3e020, 2, 0x24f2ee0, 0) = 1 regexec(0x7fff61c3dfe0, 0x7fff61c3e020, 2, 0x24efb60, 0) = 0 strlen("EnableLogging=0\n") = 16 __strndup(0x7fff61c3e02e, 1, 15, 32, 0x24efd70) = 0x24f1a00 strtol(0x24f1a00, 0, 10, 48, 0x7fff61c3e02e) = 0 free(0x024f1a00) = fgets("\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"..., -1190977536, 0x24ee120) = NULL fclose(0x24ee040) = 0 regfree(0x7fff61c3dfa0, 0, 0x7ff5b89f5218, 35024, 0x7ff5b9010720) = 0 regfree(0x7fff61c3dfe0, 0, 0x7ff5b89f5218, 35024, 0) = 0 free(0x024f2ee0) = free(0x024efb60) = access("/usr/share/usb_modeswitch", 1) = 0 openlog("usb_modeswitch", 1, 24) = strchr("/1-1:1.0", '/') = "/1-1:1.0" __strncpy_chk(0x7fff61c3f180, 0x7fff61c43ede, 0, 4096, 0x405c52) = 0x7fff61c3f180 strchr("1-1:1.0", ':') = ":1.0" __strncpy_chk(0x7fff61c40180, 0x7fff61c43edf, 3, 4096, 0x405c52) = 0x7fff61c40180 __asprintf_chk(0x608320, 1, 0x405c11, 0x405d43, 0x7fff61c40180) = 24 access("/sys/bus/usb/devices/1-1", 1) = 0 access("/sys/bus/usb/devices/1-1", 1) = 0 __asprintf_chk(0x7fff61c3e008, 1, 0x405c11, 0x2506030, 0x405fba) = 33 malloc(16) = 0x024efb60 fopen("/sys/bus/usb/devices/1-1/idVendo"..., "r") = 0x24f1b60 fgets("", -1190977531, 0x24f1c40) = 0x7fff61c3e010 strlen("12d1\n") = 5 __ctype_b_loc() = 0x7ff5b90106d0 __strdup(0x7fff61c3e010, 0x7ff5b9032005, 0x7fff61c3e013, 0x7ff5b87a3f20, 0xffffffff) = 0x24f2ee0 fclose(0x24f1b60) = 0 free(0x02503c50) = __asprintf_chk(0x7fff61c3e008, 1, 0x405c11, 0x2506030, 0x405ead) = 34 malloc(16) = 0x025062a0 fopen("/sys/bus/usb/devices/1-1/idProdu"..., "r") = 0x24f1b60 fgets("", -1190977531, 0x24f1c40) = 0x7fff61c3e010 strlen("1446\n") = 5 __ctype_b_loc() = 0x7ff5b90106d0 __strdup(0x7fff61c3e010, 0x7ff5b9032005, 0x7fff61c3e013, 0x7ff5b87a3f20, 0xffffffff) = 0x2506260 fclose(0x24f1b60) = 0 free(0x02503c50) = __asprintf_chk(0x7fff61c3e008, 1, 0x405c11, 0x2506030, 0x405fc3) = 37 malloc(16) = 0x02506280 fopen("/sys/bus/usb/devices/1-1/manufac"..., "r") = 0x24f1b60 fgets("", -1190977516, 0x24f1c40) = 0x7fff61c3e010 strlen("Huawei Technologies\n") = 20 __ctype_b_loc() = 0x7ff5b90106d0 __strdup(0x7fff61c3e010, 0x7ff5b9032014, 0x7fff61c3e022, 0x7ff5b87a3f20, 0xa736569676f6c6f) = 0x2503d00 fclose(0x24f1b60) = 0 free(0x02503c50) = __asprintf_chk(0x7fff61c3e008, 1, 0x405c11, 0x2506030, 0x405d7c) = 32 malloc(16) = 0x024f1840 fopen("/sys/bus/usb/devices/1-1/product", "r") = 0x24f1b60 fgets("", -1190977522, 0x24f1c40) = 0x7fff61c3e010 strlen("HUAWEI Mobile\n") = 14 __ctype_b_loc() = 0x7ff5b90106d0 __strdup(0x7fff61c3e010, 0x7ff5b903200e, 0x7fff61c3e01c, 0x7ff5b87a3f20, 0xffffffff) = 0x2503ce0 fclose(0x24f1b60) = 0 free(0x02503c50) = __asprintf_chk(0x7fff61c3e008, 1, 0x405c11, 0x2506030, 0x405a92) = 31 malloc(16) = 0x024f32e0 fopen("/sys/bus/usb/devices/1-1/serial", "r") = 0 perror("Could not read attribute") = free(0x02503c50) = __asprintf_chk(0x7fff61c3e008, 1, 0x405c11, 0x2506030, 0x405fd0) = 43 malloc(16) = 0x02506400 fopen("/sys/bus/usb/devices/1-1/bNumCon"..., "r") = 0x24f1b60 fgets("", -1190977534, 0x24f1c40) = 0x7fff61c3e010 strlen("1\n") = 2 __ctype_b_loc() = 0x7ff5b90106d0 __strdup(0x7fff61c3e010, 0x7ff5b9032002, 0x7fff61c3e010, 0x7ff5b87a3f20, 0xffffffff) = 0x2506420 fclose(0x24f1b60) = 0 free(0x024f1b20) = access("/sys/bus/usb/devices/1-1", 1) = 0 __asprintf_chk(0x7fff61c3e008, 1, 0x405c11, 0x2506030, 0x405df7) = 31 malloc(16) = 0x024f3260 fopen("/sys/bus/usb/devices/1-1/vendor", "r") = 0 perror("Could not read attribute") = free(0x02503c50) = __asprintf_chk(0x7fff61c3e008, 1, 0x405c11, 0x2506030, 0x405fe3) = 30 malloc(16) = 0x024f3280 fopen("/sys/bus/usb/devices/1-1/model", "r") = 0 perror("Could not read attribute") = free(0x02503c50) = __asprintf_chk(0x7fff61c3e008, 1, 0x405c11, 0x2506030, 0x405fe9) = 28 malloc(16) = 0x024f32a0 fopen("/sys/bus/usb/devices/1-1/rev", "r") = 0 perror("Could not read attribute") = free(0x02503c50) = malloc(6) = 0x024f32c0 __asprintf_chk(0x608330, 1, 0x405d73, 0x24f2ee0, 0x2506260) = 9 __asprintf_chk(0x608328, 1, 0x405c11, 0x405c47, 0x405c35) = 43 realloc(NULL, 16) = 0x02504ea0 access("/usr/share/usb_modeswitch/config"..., 0) = 0 pipeline_new_command_args(0x405c66, 0x405c61, 0x24f1b20, 0, 0x6d5f6273752f6572) = 0x24ef8b0 pipeline_want_out(0x24ef8b0, 0xffffffff, 1, 0, 0x6168732f7273752f) = 0x24ef8b0 pipeline_start(0x24ef8b0, 0xffffffff, 1, 0, 0x6168732f7273752f) = 1 pipeline_readline(0x24ef8b0, 0x2504ec0, 1, -1, 25127) = 0 __strdup(0, 0x2504f00, -4096, -1, 99 --- SIGSEGV (Segmentation fault) --- +++ killed by SIGSEGV +++