Bug 445906 - Segmentation fault when running `boinc`
Segmentation fault when running `boinc`
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: boinc-client (Show other bugs)
rawhide
All Linux
low Severity low
: ---
: ---
Assigned To: Milos Jakubicek
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-05-09 14:38 EDT by Luke Macken
Modified: 2016-09-19 22:38 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-05-09 20:25:27 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Luke Macken 2008-05-09 14:38:41 EDT
Description of problem:
Running `boinc` segfaults on me, due to some interesting symlinking in the
~/.wine directory.  After removing ~/.wine, the problem goes away.

Starting program: /usr/bin/boinc 
[Thread debugging using libthread_db enabled]
09-May-2008 14:33:26 [---] Starting BOINC client version 5.10.45 for
x86_64-pc-linux-gnu
09-May-2008 14:33:26 [---] log flags: task, file_xfer, sched_ops
09-May-2008 14:33:26 [---] Libraries: libcurl/7.18.1 NSS/3.12 Beta 3 zlib/1.2.3
libidn/0.6.14
09-May-2008 14:33:26 [---] Data directory: /home/lmacken
[New Thread 0x7fce41f0b7b0 (LWP 21169)]
09-May-2008 14:33:26 [---] Processor: 2 GenuineIntel Intel(R) Core(TM)2 Duo CPU
    L7100  @ 1.20GHz [Family 6 Model 15 Stepping 11]
09-May-2008 14:33:26 [---] Processor 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 lm constant_tsc arch_perfmon pebs bts rep_good pni monitor
ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm ida
09-May-2008 14:33:26 [---] OS: Linux: 2.6.25-14.fc9.x86_64
09-May-2008 14:33:26 [---] Memory: 3.81 GB physical, 1.94 GB virtual
09-May-2008 14:33:26 [---] Disk: 56.54 GB total, 15.85 GB free
09-May-2008 14:33:26 [---] Local time is UTC -4 hours
09-May-2008 14:33:26 [http://boinc.iaik.tugraz.at/sha1_coll_search/] URL:
http://boinc.iaik.tugraz.at/sha1_coll_search/; Computer ID: not assigned yet;
location: (none); project prefs: default
09-May-2008 14:33:26 [---] No general preferences found - using BOINC defaults
09-May-2008 14:33:26 [---] Preferences limit memory usage when active to 1948.21MB
09-May-2008 14:33:26 [---] Preferences limit memory usage when idle to 3506.78MB
09-May-2008 14:33:26 [---] Preferences limit disk usage to 9.31GB
09-May-2008 14:33:26 [---] Running CPU benchmarks
Detaching after fork from child process 21172.
Detaching after fork from child process 21173.
*** buffer overflow detected ***: /usr/bin/boinc terminated
======= Backtrace: =========
/lib64/libc.so.6(__fortify_fail+0x37)[0x72f3da7]
/lib64/libc.so.6[0x72f1be0]
/lib64/libc.so.6[0x72f0f79]
/lib64/libc.so.6(_IO_default_xsputn+0x96)[0x726d976]
/lib64/libc.so.6(_IO_vfprintf+0x3abf)[0x724133f]
/lib64/libc.so.6(__vsprintf_chk+0x9d)[0x72f101d]
/lib64/libc.so.6(__sprintf_chk+0x80)[0x72f0f60]
/usr/bin/boinc[0x448101]
/usr/bin/boinc[0x448124]
/usr/bin/boinc[0x448124]
/usr/bin/boinc[0x448124]
/usr/bin/boinc[0x448124]
/usr/bin/boinc[0x448124]
/usr/bin/boinc[0x448124]
/usr/bin/boinc[0x448124]
/usr/bin/boinc[0x448124]
/usr/bin/boinc[0x448124]
/usr/bin/boinc[0x448124]
/usr/bin/boinc[0x448124]
/usr/bin/boinc[0x448124]
/usr/bin/boinc[0x448124]
/usr/bin/boinc[0x448124]
/usr/bin/boinc[0x448124]
/usr/bin/boinc[0x448124]
/usr/bin/boinc[0x448124]
/usr/bin/boinc[0x448124]
/usr/bin/boinc[0x448124]
/usr/bin/boinc[0x448124]
/usr/bin/boinc[0x448124]
/usr/bin/boinc[0x448124]
/usr/bin/boinc[0x448124]
/usr/bin/boinc[0x448124]
/usr/bin/boinc[0x426cf2]
/usr/bin/boinc[0x43a6cd]
/usr/bin/boinc[0x4268a0]
/usr/bin/boinc[0x414fb8]
/usr/bin/boinc[0x438431]
/lib64/libc.so.6(__libc_start_main+0xfa)[0x721532a]
/usr/bin/boinc(_ZNSt8ios_base4InitD1Ev+0x41)[0x404549]
======= Memory map: ========
00110000-0012d000 r-xp 00000000 fd:01 2417167                           
/lib64/ld-2.8.so
0032c000-0032d000 r--p 0001c000 fd:01 2417167                           
/lib64/ld-2.8.so
0032d000-0032e000 rw-p 0001d000 fd:01 2417167                           
/lib64/ld-2.8.so
00400000-00477000 r-xp 00000000 fd:01 2965644                           
/usr/bin/boinc_client
00676000-00677000 rw-p 00076000 fd:01 2965644                           
/usr/bin/boinc_client
00677000-00681000 rw-p 00677000 00:00 0 
00681000-00683000 r-xp 00000000 fd:01 2417173                           
/lib64/libdl-2.8.so
00683000-00883000 ---p 00002000 fd:01 2417173                           
/lib64/libdl-2.8.so
00883000-00884000 r--p 00002000 fd:01 2417173                           
/lib64/libdl-2.8.so
00884000-00885000 rw-p 00003000 fd:01 2417173                           
/lib64/libdl-2.8.so
00885000-0089b000 r-xp 00000000 fd:01 2417177                           
/lib64/libnsl-2.8.so
0089b000-00a9a000 ---p 00016000 fd:01 2417177                           
/lib64/libnsl-2.8.so
00a9a000-00a9b000 r--p 00015000 fd:01 2417177                           
/lib64/libnsl-2.8.so
00a9b000-00a9c000 rw-p 00016000 fd:01 2417177                           
/lib64/libnsl-2.8.so
00a9c000-00a9e000 rw-p 00a9c000 00:00 0 
00a9e000-00b8c000 r-xp 00000000 fd:01 63500                             
/usr/lib64/libstdc++.so.6.0.10
00b8c000-00d8c000 ---p 000ee000 fd:01 63500                             
/usr/lib64/libstdc++.so.6.0.10
00d8c000-00d93000 r--p 000ee000 fd:01 63500                             
/usr/lib64/libstdc++.so.6.0.10
00d93000-00d95000 rw-p 000f5000 fd:01 63500                             
/usr/lib64/libstdc++.so.6.0.10
00d95000-00da8000 rw-p 00d95000 00:00 0 
00da8000-00dbe000 r-xp 00000000 fd:01 63310                             
/lib64/libpthread-2.8.so
00dbe000-00fbd000 ---p 00016000 fd:01 63310                             
/lib64/libpthread-2.8.so
00fbd000-00fbe000 r--p 00015000 fd:01 63310                             
/lib64/libpthread-2.8.so
00fbe000-00fbf000 rw-p 00016000 fd:01 63310                             
/lib64/libpthread-2.8.so
00fbf000-00fc3000 rw-p 00fbf000 00:00 0 
00fc3000-01047000 r-xp 00000000 fd:01 2417175                           
/lib64/libm-2.8.so
01047000-01246000 ---p 00084000 fd:01 2417175                           
/lib64/libm-2.8.so
01246000-01247000 r--p 00083000 fd:01 2417175                           
/lib64/libm-2.8.so
01247000-01248000 rw-p 00084000 fd:01 2417175                           
/lib64/libm-2.8.so
01248000-01259000 r-xp 00000000 fd:01 2417185                           
/lib64/libresolv-2.8.so
01259000-01459000 ---p 00011000 fd:01 2417185                           
/lib64/libresolv-2.8.so
01459000-0145a000 r--p 00011000 fd:01 2417185                           
/lib64/libresolv-2.8.so
0145a000-0145b000 rw-p 00012000 fd:01 2417185                           
/lib64/libresolv-2.8.so
0145b000-0145d000 rw-p 0145b000 00:00 0 
01569000-01572000 r-xp 00000000 fd:01 63290                             
/lib64/libcrypt-2.8.so
01572000-01771000 ---p 00009000 fd:01 63290                             
/lib64/libcrypt-2.8.so
01771000-01772000 r--p 00008000 fd:01 63290                             
/lib64/libcrypt-2.8.so
01772000-01773000 rw-p 00009000 fd:01 63290                             
/lib64/libcrypt-2.8.so
01773000-017a1000 rw-p 01773000 00:00 0 
01838000-01871000 rw-p 01838000 00:00 0                                  [heap]
05e30000-05e46000 r-xp 00000000 fd:01 2416677                           
/lib64/libgcc_s-4.3.0-20080428.so.1
05e46000-06045000 ---p 00016000 fd:01 2416677                           
/lib64/libgcc_s-4.3.0-20080428.so.1
06045000-06046000 rw-p 00015000 fd:01 2416677                           
/lib64/libgcc_s-4.3.0-20080428.so.1
071f7000-07359000 r-xp 00000000 fd:01 63286                             
/lib64/libc-2.8.so
07359000-07559000 ---p 00162000 fd:01 63286                             
/lib64/libc-2.8.so
07559000-0755d000 r--p 00162000 fd:01 63286              
Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fce41f0b7b0 (LWP 21169)]
0x0000000007229215 in raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64	  return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
Missing separate debuginfos, use: debuginfo-install keyutils.x86_64
(gdb) bt
#0  0x0000000007229215 in raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x000000000722ad83 in abort () at abort.c:88
#2  0x0000000007269858 in __libc_message (do_abort=2, 
    fmt=0x732e7da "*** %s ***: %s terminated\n")
    at ../sysdeps/unix/sysv/linux/libc_fatal.c:170
#3  0x00000000072f3da7 in __fortify_fail (
    msg=0x732e7a9 "buffer overflow detected") at fortify_fail.c:32
#4  0x00000000072f1be0 in __chk_fail () at chk_fail.c:29
#5  0x00000000072f0f79 in _IO_str_chk_overflow (fp=0x52b1, c=21169)
    at vsprintf_chk.c:35
#6  0x000000000726d976 in _IO_default_xsputn (f=0x7fff49f2ab10, 
    data=<value optimized out>, n=41) at genops.c:485
#7  0x000000000724133f in _IO_vfprintf_internal (s=0x7fff49f2ab10, 
    format=<value optimized out>, ap=0x7fff49f2ac40) at vfprintf.c:1581
#8  0x00000000072f101d in ___vsprintf_chk (
    s=0x7fff49f2ad30 "./.wine/dosdevices/c:/windows/profiles/lmacken/My
Documents/.wine/dosdevices/c:/windows/profiles/lmacken/My
Documents/.wine/dosdevices/c:/windows/profiles/lmacken/My
Documents/Music/Buckethead/The Ele"..., flags=1, 
    slen=256, format=0x4591ed "%s/%s", args=0x7fff49f2ac40)
    at vsprintf_chk.c:87
#9  0x00000000072f0f60 in ___sprintf_chk (
    s=0x52b1 <Address 0x52b1 out of bounds>, flags=21169, slen=6, 
    format=0xffffffffffffffff <Address 0xffffffffffffffff out of bounds>)
    at sprintf_chk.c:33
#10 0x0000000000448101 in ?? ()
#11 0x0000000000448124 in ?? ()
#12 0x0000000000448124 in ?? ()
#13 0x0000000000448124 in ?? ()
#14 0x0000000000448124 in ?? ()
#15 0x0000000000448124 in ?? ()
#16 0x0000000000448124 in ?? ()
#17 0x0000000000448124 in ?? ()
#18 0x0000000000448124 in ?? ()
#19 0x0000000000448124 in ?? ()
#20 0x0000000000448124 in ?? ()
#21 0x0000000000448124 in ?? ()
#22 0x0000000000448124 in ?? ()
#23 0x0000000000448124 in ?? ()
#24 0x0000000000448124 in ?? ()
#25 0x0000000000448124 in ?? ()
#26 0x0000000000448124 in ?? ()
#27 0x0000000000448124 in ?? ()
#28 0x0000000000448124 in ?? ()
#29 0x0000000000448124 in ?? ()
#30 0x0000000000448124 in ?? ()
#31 0x0000000000448124 in ?? ()
#32 0x0000000000448124 in ?? ()
#33 0x0000000000448124 in ?? ()
#34 0x0000000000448124 in ?? ()
#35 0x0000000000426cf2 in ?? ()
#36 0x000000000043a6cd in ?? ()
#37 0x00000000004268a0 in ?? ()
#38 0x0000000000414fb8 in std::ios_base::Init::~Init ()
    at ../../../../libstdc++-v3/src/ios_init.cc:127
#39 0x0000000000438431 in ?? ()
#40 0x000000000721532a in __libc_start_main (main=0x4384d0, argc=1, 
    ubp_av=0x7fff49f2efe8, init=<value optimized out>, 
    fini=<value optimized out>, rtld_fini=<value optimized out>, 
    stack_end=0x7fff49f2efd8) at libc-start.c:220
#41 0x0000000000404549 in std::ios_base::Init::~Init ()
    at ../../../../libstdc++-v3/src/ios_init.cc:127
#42 0x00007fff49f2efd8 in ?? ()
#43 0x000000000000001c in ?? ()
#44 0x0000000000000001 in ?? ()
#45 0x00007fff49f2f37c in ?? ()
#46 0x0000000000000000 in ?? ()


Version-Release number of selected component (if applicable):
boinc-client-5.10.45-9.20080315svn.fc9.x86_64
Comment 1 Milos Jakubicek 2008-05-09 17:17:12 EDT
How did you start it? 
Please follow http://fedoraproject.org/wiki/MilosJakubicek/HowToUseBoinc.
(i.e. if you did NOT start boinc by "service boinc-client start", try it).
Comment 2 Luke Macken 2008-05-09 20:25:27 EDT
I was running it just by calling 'boinc'.  Starting it via the init script seems
to mitigate this issue.  Thanks :)

Note You need to log in before you can comment on or make changes to this bug.