Segfault on Linux

Questions and Answers : Unix/Linux : Segfault on Linux
Message board moderation

To post messages, you must log in.

AuthorMessage
Tomas Brada

Send message
Joined: 21 Sep 17
Posts: 4
Credit: 2,247
RAC: 0
Message 644 - Posted: 29 Nov 2018, 11:39:03 UTC

Application rakesearch_7.02_x86_64-pc-linux-gnu crashes.

Backtrace:
(gdb) run
Program received signal SIGSEGV, Segmentation fault.
(gdb) bt
#0  0xffffffffff600000 in ?? ()
#1  0x00000000004e87fd in gettimeofday ()
#2  0x000000000041c0be in dtime () at util.cpp:104
#3  0x0000000000416981 in GLOBAL_PREFS::parse_override (this=0x7a5e10 <aid+81296>, xp=..., host_venue=0x55a46a "", 
    found_venue=@0x7fffffffdbaf: false, mask=...) at prefs.cpp:436
#4  0x000000000040a7d8 in parse_init_data_file (f=0x7cb880, ai=...) at app_ipc.cpp:349
#5  0x0000000000407bfd in boinc_parse_init_data_file () at boinc_api.cpp:861
#6  0x0000000000407e0e in boinc_init_options_general (opt=...) at boinc_api.cpp:621
#7  0x00000000004086cd in boinc_init_options (opt=<optimized out>) at boinc_api.cpp:536
#8  0x00000000004012b4 in main ()


Libraries: not a dynamic executable
Libraries of boinc:
linux-vdso.so.1 libcurl.so.4 libssl.so.1.1 libcrypto.so.1.1 libdl.so.2 libnsl.so.2 libfreetype.so.6 libz.so.1 libX11.so.6 libXss.so.1 libpthread.so.0 libstdc++.so.6 libm.so.6 libgcc_s.so.1 libc.so.6 libnghttp2.so.14 libidn2.so.0 libssh2.so.1 libpsl.so.5 libgssapi_krb5.so.2 libkrb5.so.3 libk5crypto.so.3 libcom_err.so.2 /lib64/ld-linux-x86-64.so.2 libtirpc.so.3 libbz2.so.1.0 libpng16.so.16 libharfbuzz.so.0 libxcb.so.1 libXext.so.6 libunistring.so.2 libkrb5support.so.0 libkeyutils.so.1 libresolv.so.2 libglib-2.0.so.0 libgraphite2.so.3 libXau.so.6 libXdmcp.so.6 libpcre.so.1

ID: 644 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Tomas Brada

Send message
Joined: 21 Sep 17
Posts: 4
Credit: 2,247
RAC: 0
Message 645 - Posted: 29 Nov 2018, 12:09:17 UTC

init_data.xml

<app_init_data>
<major_version>7</major_version>
<minor_version>12</minor_version>
<release>1</release>
<app_version>702</app_version>
<userid>2614</userid>
<teamid>0</teamid>
<hostid>5268</hostid>
<app_name>rakesearch</app_name>
<acct_mgr_url>https://bam.boincstats.com/</acct_mgr_url>
<user_name>Tomas Brada</user_name>
<project_dir>/var/lib/boinc/projects/rake.boincfast.ru_rakesearch</project_dir>
<boinc_dir>/var/lib/boinc</boinc_dir>
<authenticator>5281af63b914a8ecd860f401ed9a4f01</authenticator>
<wu_name>R9_010187459</wu_name>
<result_name>R9_010187459_0</result_name>
<shm_key>-1</shm_key>
<slot>0</slot>
<client_pid>10813</client_pid>
<wu_cpu_time>0.000000</wu_cpu_time>
<starting_elapsed_time>0.000000</starting_elapsed_time>
<using_sandbox>0</using_sandbox>
<vm_extensions_disabled>0</vm_extensions_disabled>
<user_total_credit>2247.297468</user_total_credit>
<user_expavg_credit>0.096613</user_expavg_credit>
<host_total_credit>0.000000</host_total_credit>
<host_expavg_credit>0.000000</host_expavg_credit>
<resource_share_fraction>1.000000</resource_share_fraction>
<checkpoint_period>60.000000</checkpoint_period>
<fraction_done_start>0.000000</fraction_done_start>
<fraction_done_end>1.000000</fraction_done_end>
<gpu_type></gpu_type>
<gpu_device_num>-1</gpu_device_num>
<gpu_opencl_dev_index>-1</gpu_opencl_dev_index>
<gpu_usage>0.000000</gpu_usage>
<ncpus>1.000000</ncpus>
<rsc_fpops_est>100000000000000.000000</rsc_fpops_est>
<rsc_fpops_bound>10000000000000000.000000</rsc_fpops_bound>
<rsc_memory_bound>100000000.000000</rsc_memory_bound>
<rsc_disk_bound>1000000000.000000</rsc_disk_bound>
<computation_deadline>1544045973.000000</computation_deadline>
<vbox_window>0</vbox_window>
<host_info>
    <timezone>3600</timezone>
    <domain_name>manganp</domain_name>
    <ip_addr>127.0.0.1</ip_addr>
    <host_cpid>3417c644c4173e11b1a1a3d2c461daf8</host_cpid>
    <p_ncpus>4</p_ncpus>
    <p_vendor>GenuineIntel</p_vendor>
    <p_model>Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz [Family 6 Model 61 Stepping 4]</p_model>
    <p_features>fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap intel_pt xsaveopt dtherm ida arat pln pts</p_features>
    <p_fpops>3718161840.375757</p_fpops>
    <p_iops>11159179095.433289</p_iops>
    <p_membw>1000000000.000000</p_membw>
    <p_calculated>1543184994.777856</p_calculated>
    <p_vm_extensions_disabled>0</p_vm_extensions_disabled>
    <m_nbytes>12501540864.000000</m_nbytes>
    <m_cache>3145728.000000</m_cache>
    <m_swap>0.000000</m_swap>
    <d_total>103079215104.000000</d_total>
    <d_free>24578478080.000000</d_free>
    <os_name>Linux Arch</os_name>
    <os_version>Arch Linux [4.19.2-arch1-1-ARCH|libc 2.28 (GNU libc)]</os_version>
    <n_usable_coprocs>0</n_usable_coprocs>
    <wsl_available>0</wsl_available>
    <virtualbox_version>5.2.22r126257</virtualbox_version>
    <coprocs>
    </coprocs>
</host_info>
<proxy_info>
    <socks_server_name></socks_server_name>
    <socks_server_port>80</socks_server_port>
    <http_server_name></http_server_name>
    <http_server_port>80</http_server_port>
    <socks5_user_name></socks5_user_name>
    <socks5_user_passwd></socks5_user_passwd>
    <socks5_remote_dns>0</socks5_remote_dns>
    <http_user_name></http_user_name>
    <http_user_passwd></http_user_passwd>
    <no_proxy></no_proxy>
    <no_autodetect>0</no_autodetect>
</proxy_info>
<global_preferences>
   <source_project>http://www.worldcommunitygrid.org/</source_project>
   <mod_time>1494000011.000000</mod_time>
   <battery_charge_min_pct>90.000000</battery_charge_min_pct>
   <battery_max_temperature>40.000000</battery_max_temperature>
   <run_on_batteries>0</run_on_batteries>
   <run_if_user_active>1</run_if_user_active>
   <run_gpu_if_user_active>1</run_gpu_if_user_active>
   <suspend_if_no_recent_input>0.000000</suspend_if_no_recent_input>
   <suspend_cpu_usage>0.000000</suspend_cpu_usage>
   <start_hour>0.000000</start_hour>
   <end_hour>0.000000</end_hour>
   <net_start_hour>0.000000</net_start_hour>
   <net_end_hour>0.000000</net_end_hour>
   <leave_apps_in_memory>1</leave_apps_in_memory>
   <confirm_before_connecting>0</confirm_before_connecting>
   <hangup_if_dialed>0</hangup_if_dialed>
   <dont_verify_images>0</dont_verify_images>
   <work_buf_min_days>0.600000</work_buf_min_days>
   <work_buf_additional_days>0.000000</work_buf_additional_days>
   <max_ncpus_pct>100.000000</max_ncpus_pct>
   <cpu_scheduling_period_minutes>999999.000000</cpu_scheduling_period_minutes>
   <disk_interval>60.000000</disk_interval>
   <disk_max_used_gb>0.000000</disk_max_used_gb>
   <disk_max_used_pct>100.000000</disk_max_used_pct>
   <disk_min_free_gb>3.000000</disk_min_free_gb>
   <vm_max_used_pct>75.000000</vm_max_used_pct>
   <ram_max_used_busy_pct>99.000000</ram_max_used_busy_pct>
   <ram_max_used_idle_pct>99.000000</ram_max_used_idle_pct>
   <idle_time_to_run>3.000000</idle_time_to_run>
   <max_bytes_sec_up>51200.000000</max_bytes_sec_up>
   <max_bytes_sec_down>0.000000</max_bytes_sec_down>
   <cpu_usage_limit>100.000000</cpu_usage_limit>
   <daily_xfer_limit_mb>10000.000000</daily_xfer_limit_mb>
   <daily_xfer_period_days>6</daily_xfer_period_days>
   <override_file_present>1</override_file_present>
   <network_wifi_only>1</network_wifi_only>
</global_preferences>
<app_file>rakesearch_7.02_x86_64-pc-linux-gnu</app_file>
</app_init_data>


workunit.txt:

<soft_link>../../projects/rake.boincfast.ru_rakesearch/wu_010187459.txt</soft_link>

# Move search of pairs OLDS status

# Generation of DLS status

9

{
0 1 2 3 4 5 6 7 8 
7 5 -1 -1 -1 -1 -1 0 -1 
-1 -1 3 -1 -1 -1 1 -1 -1 
-1 -1 -1 6 -1 4 -1 -1 -1 
-1 -1 -1 -1 7 -1 -1 -1 -1 
-1 -1 -1 2 -1 1 -1 -1 -1 
-1 -1 5 -1 -1 -1 4 -1 -1 
-1 6 -1 -1 -1 -1 -1 8 -1 
3 -1 -1 -1 -1 -1 -1 -1 2 
}

56

1 2
1 3
1 4
1 5
1 6
1 8
2 0
2 1
2 3
2 4
2 5
2 7
2 8
3 0
3 1
3 2
3 4
3 6
3 7
3 8
4 0
4 1
4 2
4 3
4 5
4 6
4 7
4 8
5 0
5 1
5 2
5 4
5 6
5 7
5 8
6 0
6 1
6 3
6 4
6 5
6 7
6 8
7 0
7 2
7 3
7 4
7 5
7 6
7 8
8 1
8 2
8 3
8 4
8 5
8 6
8 7

1 2 -1
1 2 0

0 0 0 0 0 0 0 0 0 
0 0 0 0 0 0 0 0 0 

0 0 0 0 0 0 0 0 0 
0 1 1 1 1 0 1 0 1 
1 0 1 0 1 1 1 1 1 
1 1 1 1 0 1 0 1 1 
1 1 1 1 1 1 1 0 1 
1 0 0 1 1 1 1 1 1 
1 1 1 1 0 0 1 1 1 
1 1 1 1 1 1 0 1 0 
1 1 0 0 1 1 1 1 1 

0 1 1 1 1 1 1 0 1 
1 0 1 1 1 0 0 1 1 
1 1 0 0 1 1 1 1 0 
0 1 0 0 1 1 1 1 1 
1 1 1 1 0 0 0 1 1 
1 0 0 1 1 0 1 1 1 
1 0 1 0 1 1 0 1 1 
0 1 1 1 0 1 1 0 1 
1 1 1 1 1 1 1 0 0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 1 

1 1 1 1 1 1 0 1 1 
0 1 1 1 1 1 1 1 1 
1 1 1 1 1 1 1 1 1 
1 1 1 0 1 1 1 1 1 
1 1 1 1 1 1 1 1 1 
1 1 1 1 1 1 1 1 1 
1 1 1 1 1 1 1 1 1 
1 0 1 1 1 1 1 1 1 
1 1 1 1 1 1 1 1 1 

1 1 1 1 1 1 1 0 1 
0 1 1 1 1 1 1 1 1 
1 1 1 1 1 1 1 1 1 
1 1 1 1 1 1 1 1 1 
1 1 1 1 0 1 1 1 1 
1 1 1 1 1 1 1 1 1 
1 1 1 1 1 1 1 1 1 
1 1 1 1 1 1 1 1 1 
1 1 1 1 1 1 1 1 1 

1 1 1 1 1 1 1 1 0 
1 1 1 1 1 1 1 1 1 
1 1 1 1 1 1 1 1 1 
1 1 1 1 1 1 1 1 1 
1 1 1 1 1 1 1 1 1 
1 1 1 1 1 1 1 1 1 
1 1 1 1 1 1 1 1 1 
1 1 1 1 1 1 1 0 1 
1 1 1 1 1 1 1 1 1 


0

# Move search component status

0 0 0
0 0
ID: 645 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
hoarfrost
Volunteer moderator
Project administrator
Project developer
Project tester
Volunteer developer
Volunteer tester
Project scientist
Help desk expert

Send message
Joined: 11 Aug 17
Posts: 644
Credit: 22,383,277
RAC: 12,492
Message 647 - Posted: 30 Nov 2018, 8:28:26 UTC - in response to Message 645.  

Hello Tomas!

Do other projects works successfully on this computer?
ID: 647 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Tomas Brada

Send message
Joined: 21 Sep 17
Posts: 4
Credit: 2,247
RAC: 0
Message 812 - Posted: 10 Mar 2019, 12:32:57 UTC - in response to Message 647.  

Yes, they do.
ID: 812 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
mmonnin

Send message
Joined: 8 Sep 17
Posts: 22
Credit: 19,171,868
RAC: 12,035
Message 813 - Posted: 11 Mar 2019, 2:09:20 UTC

Was that Ryzen purchased early? Early Zen CPUs segfault and could be RMA'd.
ID: 813 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Tomas Brada

Send message
Joined: 21 Sep 17
Posts: 4
Credit: 2,247
RAC: 0
Message 814 - Posted: 11 Mar 2019, 13:36:06 UTC - in response to Message 813.  

That cpu was purchased early, but then reclaimed because of the "performance marginality" segfaults.
ID: 814 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile [AF>Libristes]Maeda

Send message
Joined: 10 Apr 19
Posts: 3
Credit: 415,983
RAC: 0
Message 852 - Posted: 11 Apr 2019, 5:44:57 UTC

Hello,

Same here, with an Intel i7 4770 on 5.0.2-arch1-1-ARCH
Boinc 7.12.1

No issue with other projects.
See task #36263697

Note: In the last year, I see issues with other project due to old glibc used in compilation of the project code/work unit. Compiling again with a newer version of glibc fixes the issue.
ID: 852 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
biodoc

Send message
Joined: 3 Feb 18
Posts: 2
Credit: 5,244,280
RAC: 137
Message 854 - Posted: 11 Apr 2019, 11:13:38 UTC

Have you tried the latest optimized app?

https://github.com/sirzooro/RakeSearch/releases/tag/v1.1
ID: 854 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile [AF>Libristes]Maeda

Send message
Joined: 10 Apr 19
Posts: 3
Credit: 415,983
RAC: 0
Message 891 - Posted: 14 Apr 2019, 21:20:54 UTC

Thanks biodoc,
Indeed, using avx2 one, it is running fine :)
ID: 891 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Questions and Answers : Unix/Linux : Segfault on Linux

©2024 The searchers team, Karelian Research Center of the Russian Academy of Sciences