Displaying 20 results from an estimated 56091 matches for "main".
2004 Oct 01
6
rsync 2.6.3 hang (was rsync 2.6.2 crash)
Here are strace outputs of a hung session, 2.6.3 on both ends (server, client process 1, client process 2):
$ strace -t -p 4040
Attached to pid 4040 (windows pid 2488)
14:04:47 [unknown (0x938)] rsync 4040 _cygtls::remove: wait 0x0
14:05:17 [main] rsync 4040 select_stuff::wait: timed out
14:05:17 [main] rsync 4040 select_stuff::wait: returning 1
14:05:17 [main] rsync 4040 select_stuff::cleanup: calling cleanup routines
14:05:17 [select_pipe] rsync 4040 thread_pipe: stopping
14:05:17 [main] rsync 4040 select_stuff::poll: returning 0
14:05:17...
2006 May 09
1
Seg fault when installing package from bad repository
...here
#0 0x90002f48 in strlen ()
#1 0x9000d7d0 in __vfprintf$LDBL128 ()
#2 0x900273cc in vsnprintf$LDBL128 ()
#3 0x0108ea1c in Rvsnprintf (buf=0xbfff35f4 "B", size=1000,
format=0x3 <Address 0x3 out of bounds>, ap=0x34 <Address 0x34 out of
bounds>) at ../../../../R-2.3.0/src/main/errors.c:211
#4 0x01092e68 in Rf_warning (format=0x3 <Address 0x3 out of bounds>)
at ../../../../R-2.3.0/src/main/errors.c:223
#5 0x023c39a8 in in_R_HTTPOpen (url=0x212c930
"/Library/Frameworks/R.framework/Resources/share/locale/en/LC_MESSAGES/R.mo",
cacheOK=404) at
../../../../.....
2010 Jan 10
1
cygwin 1.7.x rsync 3.0.6 hangs at arbitrary reproducible points in transfers
...ygwin/rsync, but it only started for me with
cygwin 1.7.x).
I've posted cygcheck and strace output here:
http://adam.rosi-kessel.org/bugs/rsync/
Here are the last few lines of the strace in one example run. At the end
is where it is just hung. This is from the cygwin side.
34 8512408 [main] rsync 5052 select_stuff::wait: woke up. wait_ret
1. verifying
30 8512438 [main] rsync 5052 select_stuff::wait: gotone 1
26 8512464 [main] rsync 5052 select_stuff::wait: returning 0
28 8512492 [main] rsync 5052 select_stuff::cleanup: calling cleanup
routines
27 8512519 [main] rs...
2010 Jun 17
0
Debian packages fixing CVE-2010-2063 are available for lenny
...his is a security release in order to address CVE-2010-2063.
>
>
> o CVE-2010-2063:
> In Samba 3.3.x and below, a buffer overrun is possible in chain_reply code.
As this issue also affect the 3.2 series of samba (which is no longer
officially supported by the Samba Team), Debian maintainers
prepared fixed packages for Debian stable (codename "lenny") that are
now available through the Debian security repositories and will be
included in upcoming point releases of Debian lenny.
Packages in Debian squeeze, unstable and experimental are either 3.4
or 3.5 versions of sam...
2007 May 23
2
Possible ld.exe problem when building
...std=gnu99' -f Makefile.win
make --no-print-directory -C ../appl OPTFLAGS='-O3 -Wall -pedantic -std=gnu99' FOPTFLAGS='-O3 -Wall' -f Makefile.win
make --no-print-directory -C ../nmath OPTFLAGS='-O3 -Wall -pedantic -std=gnu99' -f Makefile.win
make --no-print-directory -C ../main OPTFLAGS='-O3 -Wall -pedantic -std=gnu99' FFLAGS='-O3 -Wall' -f Makefile.win
make --no-print-directory -C ./graphapp OPTFLAGS='-O3 -Wall -pedantic -std=gnu99'
make --no-print-directory -C ./getline OPTFLAGS='-O3 -Wall -pedantic -std=gnu99'
make[4]: `gl.a' is up t...
2019 Jan 27
2
How does LLVM know where to resolve declared only functions?
...n?
It seems that user functions have higher priorities over system
functions as demonstrated by the following example.
Is there any way to always use system functions for certain function
calls (but not always default to system functions) when there are
local functions with the same name?
==> main.c <==
/* vim: set noexpandtab tabstop=2: */
#include <stdio.h>
int main() {
puts("Hello World!");
return 0;
}
==> myputs.c <==
/* vim: set noexpandtab tabstop=2: */
#include <stdio.h>
int myputs(char *s) {
return printf("myputs:%s\n", s);
}
$...
2019 Feb 27
2
Intermittent crashes with inset `[<-` command
...711== by 0x5020100: do_subassign (subassign.c:1571)
==4711== by 0x4F66398: bcEval (eval.c:6795)
==4711== by 0x4F7D86D: R_compileAndExecute (eval.c:1407)
==4711== by 0x4F7DA70: do_for (eval.c:2185)
==4711== by 0x4F7741C: Rf_eval (eval.c:691)
==4711== by 0x4FA7181: Rf_ReplIteration (main.c:258)
==4711== by 0x4FA7570: R_ReplConsole (main.c:308)
==4711== by 0x4FA760E: run_Rmainloop (main.c:1082)
==4711== by 0x40075A: main (Rmain.c:29)
==4711== Address 0x19b3ab90 is 0 bytes inside a block of size 160,048
free'd
==4711== at 0x4C2ACBD: free (vg_replace_malloc.c:530)
==4...
2011 Jan 11
3
A section with name main already exists (Bug 5231)
Hi all,
I''m facing the bug 5231 when running puppet: host has some repos with
many section main defined:
# grep main *
atrpms.repo:[main]
cern-extra.repo:[main]
cern-extra-srpms.repo:[main]
cern-only.repo:[main]
cern-only-srpms.repo:[main]
cern.repo:[main]
cern-srpms.repo:[main]
cern-test.repo:[main]
cern-test-srpms.repo:[main]
cern-update.repo:[main]
cern-update-srpms.repo:[main]
dag.repo:[...
2010 Feb 17
4
Question about "Title"
...56,89,45,77,82,68,79,56,77,90)
mydata <- data.frame(ID,test,score)
score_002 <- score[mydata$ID=="002"]
lbls <- round(score_002/sum(score_002)*100)
lbls <- paste(lbls,"%",sep="")
par(mar=c(4,4,4,4),oma=c(0,0,0,0))
pie(score_002,labels=lbls,radius=0.5)
title(main="Pie chart of score",font.main=3,cex.main=1,line=-2.6)
title(main="(Total score: 177)",font.main=3,cex.main=0.8,line=-3.6)
title(main="ID is 002",font.main=3,cex.main=0.9,line=-22)
As you can see in the title:"(Total score: 177)" and "ID is 002" is...
2014 Jun 02
3
[LLVMdev] -fvisibility=hidden, and typeinfo, and type-erasure
...lude "foo.hh"
void bar(const base& b)
{
b.as<derived<payload>>();
}
and
// baz.cc
#include "foo.hh"
void baz(const base& b)
{
b.as<derived<payload>>();
}
>From these two files, I build a dylib. Here is the `main` function, calling these functions from the dylib:
// main.cc
#include <stdexcept>
#include <iostream>
#include "foo.hh"
int main()
try
{
derived<payload> d;
bar(d);
baz(d);
}
catch (std::exception& e)
{...
2004 Jul 17
2
gsub(*, perl=TRUE) bug incl. seg.fault (PR#7108)
...: 12345 :a", perl=TRUE)
-> segmentation fault
and from "R -d gdb" :
> gsub(" ", "", "a: 12345 :a", perl=TRUE)
Program received signal SIGSEGV, Segmentation fault.
hashIndex (symbol=0x8fd0060, table=0x823f2b8) at
../../../R/src/main/envir.c:599
599 if( !HASHASH(c) ) {
(gdb) bt
#0 hashIndex (symbol=0x8fd0060, table=0x823f2b8)
at ../../../R/src/main/envir.c:599
#1 0x080b145d in R_GetGlobalCache (symbol=0x1)
at ../../../R/src/main/envir.c:656
#2 0x080b1ac1 in findGlobalVar (symbol=0x8fd0060)
at ../../....
2019 Feb 27
0
Intermittent crashes with inset `[<-` command
..._subassign (subassign.c:1571)
> ==4711== by 0x4F66398: bcEval (eval.c:6795)
> ==4711== by 0x4F7D86D: R_compileAndExecute (eval.c:1407)
> ==4711== by 0x4F7DA70: do_for (eval.c:2185)
> ==4711== by 0x4F7741C: Rf_eval (eval.c:691)
> ==4711== by 0x4FA7181: Rf_ReplIteration (main.c:258)
> ==4711== by 0x4FA7570: R_ReplConsole (main.c:308)
> ==4711== by 0x4FA760E: run_Rmainloop (main.c:1082)
> ==4711== by 0x40075A: main (Rmain.c:29)
> ==4711== Address 0x19b3ab90 is 0 bytes inside a block of size 160,048
> free'd
> ==4711== at 0x4C2ACBD: free...
2017 Dec 24
2
dovecot-submission SMTP send error with Thunderbird (BODY=8BITMIME)
...t), capture size 262144 bytes
>
> I cannot reproduce this behavior so far.
The odd thing is, I can 100% of the time reproduce this with the client,
but 100% not reproduce it if I put the commands in by hand, at least up
to the MAIL FROM: part of the conversation.
Here's the TB log:
[Main Thread]: I/SMTP SMTP Connecting to: smtp.reub.net:587
[Main Thread]: I/SMTP SMTP entering state: 0
[Main Thread]: I/SMTP SMTP Response: 220 thunderstorm.reub.net Dovecot
ready.
[Main Thread]: I/SMTP SMTP entering state: 14
[Main Thread]: I/SMTP SMTP Send: EHLO
[IPv6:2001:44b8:31d4:1311:c0c8:3064:...
2007 May 03
4
Finding instrumented code
...ss about
10 years ago. If anyone has any recommendations for learning SPARC
assembly, please let me know.)
So, in one window I run mdb on a simple program and run it to a
breakpoint:
$ mdb a.out
> _start::bp
> :r
mdb: stop at _start
mdb: target stopped at:
_start: clr %fp
> main::dis
main: save %sp, -0x70, %sp
main+4: call +0x2c <globalsum>
main+8: nop
main+0xc: mov %o0, %g1
main+0x10: sethi %hi(0x10400), %o5
main+0x14:...
2019 Aug 03
2
lld-link /ALIGN option doesn't work for the "execute in place (XIP)"
...is not affordable for firmware.
Could we not hardcode the SectionAlignment as 4096 in COFF file and let the lld-link respect the user's /ALIGN option value? We can set the 4096 as the default SectionAlignment value.
Below are some steps to show the hardcode issue and code size impact:
$ cat main.c
int main()
{
return 0;
}
$ "/home/jshi19/llvm/llvm-project/releaseinstall/bin/clang" -target i686-unknown-windows -fno-builtin -c -o main.obj main.c
$ "/home/jshi19/llvm/llvm-project/releaseinstall/bin/lld-link" /OUT:main.dll /MACHINE:X86 /DLL /ENTRY:main /ALIGN:32 /FILEALI...
2018 Jun 28
1
Null pointer dereference in Rf_isVector()
...tor
ASAN Report:
==11608==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000002
(pc 0x0000005cc479 bp 0x000000000000 sp 0x7fff7a56d770 T0)
==11608==The signal is caused by a READ memory access.
==11608==Hint: address points to the zero page.
#0 0x5cc478 in Rf_isVector
R-3.5.0/src/main/../../src/include/Rinlinedfuns.h:857:12
#1 0x5cc478 in Rf_dimnamesgets R-3.5.0/src/main/attrib.c:1099
#2 0x5c4f72 in Rf_setAttrib R-3.5.0/src/main/attrib.c:259:9
#3 0x5db48d in do_attributesgets R-3.5.0/src/main/attrib.c:1373:6
#4 0x84b939 in bcEval R-3.5.0/src/main/eval.c:7082:...
2004 Sep 06
4
substitution in expression
I have been struggling with this problem for a while and I hope someone
could help me. Or if someone could point me to a section in the manual I
would be grateful.
x <- "my"
plot(1:10, main=expression(paste( x, Delta, "values" )))
Q : How do I get the title to say "my (triangle symbol) values" ?
The following trial-and-error produced mainly errors :
plot(1:10, main=expression(paste( get(x), Delta, "values" )))
plot(1:10, main=expression(paste( subs...
2008 May 11
4
Latest rb_win32_select patch
Hi Park,
I tried your latest patch and ran the sample code:
readPipe, writePipe = IO.pipe
t = Thread.new{
sleep 5
while true
sleep 0.1
puts "got #{readPipe.readline.length} bytes"
end
}
i = 1
while true
i += 1
sleep 1
puts "hello from main"
if i > 3
writePipe.puts "a"*2048
end
end
t.join
At the console I typed the word "world", let it run for a bit, then hit
Ctrl-C. It mostly seems to work. Here was the difference between Ruby
with your patch and JRuby 1.1.1.
# Ruby 1.8.6-114 with patch
C:\D...
2018 Sep 06
6
postfix on centos 7
When I try and send mail I see this in the maillog:
Sep 6 11:59:48 postfix/sendmail[11059]: fatal: open
/etc/postfix/main.cf: Permission denied
But /etc/postfix/main.cf is world readable:
$ ls -l /etc/postfix/main.cf
-rw-r--r--. 1 root root 27176 Jun 9 2014 /etc/postfix/main.cf
2010 Nov 01
1
[LLVMdev] llvm-ld stripping debugging symbols?
It seems that llvm-ld is stripping debugging symbols even with
optimizations disabled:
> cat main.c
int main()
{
int a = 42;
return a;
}
> clang -c -g -emit-llvm -o main.bc main.c
> llvm-ld -disable-opt -b=a.out.bc main.bc
> clang -g a.out.bc -o a.out
>gdb a.out
[...]
(gdb) break main
Breakpoint 1 at 0x40045b: file mai...