search for: stext

Displaying 19 results from an estimated 19 matches for "stext".

Did you mean: text
2008 Dec 15
1
WineLib and Java Native Interface (JNI) - UNIX
...JAVA call to load so lib (I can load and link to the function) 4.Load so and call the function It can call BUT it will have crashed at the wine lib functions. JNIEXPORT jstring JNICALL Java_HelloImpl_sayHello (JNIEnv *jEvn, jobject jObj){ printf("sayHello [BEGIN]\n"); char sText[255]; HELLOIMPL_global_sayHello_2(sText); printf("sayHello [END CALL]\n"); jstring retmess; retmess = (*jEvn)->NewStringUTF(jEvn, sText); return retmess; } Crashed at: HELLOIMPL_global_sayHello_2(sText); I also try with other way, that I have write a ne...
2005 Aug 22
2
RFC: "loop connections"
...fineVar(this->namesymbol, val, VECTOR_ELT(OutTextData, idx)); UNPROTECT(1); } @@ -1859,49 +1913,55 @@ } -static Rconnection newouttext(char *description, SEXP sfile, char *mode, +static Rconnection newoutloop(char *description, SEXP sfile, char *mode, int idx) { + int isText = (mode[1] != 'b'); Rconnection new; void *tmp; new = (Rconnection) malloc(sizeof(struct Rconn)); - if(!new) error(_("allocation of text connection failed")); - new->class = (char *) malloc(strlen("textConnection") + 1); + if(!new) error(_(&q...
2023 Jul 21
1
tools::parseLatex() crashes on "\\verb{}"
...o to use the same character as the > delimiter on both sides: > > tools::parseLatex('\\verb!hello!') > # \verb!hello! > > What the loop doesn't have is a check for EOF, which leads TEXT_PUSH() > to increase the temporary buffer exponentially until unsigned int > nstext overflows and results in a 0-byte allocation, which is then > overrun, corrupting the heap. Any other unterminated \verb!... would > have caused the same crash. > > Here's a patch that prevents this particular crash: > > --- src/library/tools/src/gramLatex.y (revision 84714)...
2008 Dec 15
0
wine: could not load and Bad EXE format for
...#39; ... [OK] Export 3 - '?writeNUM@@YAXH at Z' ... [OK] 3. Winegcc to make so (Share Object) winegcc HelloImpl.spec -o libhelloimpl HelloImpl_main.c -shared -fPIC 4. write a c main function to try to call the so #include "HelloImpl_dll.h" int main(int argc, char **arg){ char sText[254]; HELLOIMPL_global_sayHello_2(sText); printf("Huu Tri %s", sText); return 0; } 5. Build the main funciton with winegcc and link to so lib winegcc -o maintest main.c -L. -lhelloimpl.dll Build successful BUT when trying to run ./maintest It show the problem: wine: could not loa...
2005 Sep 18
0
Updated rawConnection() patch
...ur + size*nitems > this->nchars) + nitems = (this->nchars - this->cur)/size; + memcpy(ptr, this->data+this->cur, size*nitems); + this->cur += size*nitems; + return nitems; +} + +static Rconnection newtext(char *description, SEXP data) { Rconnection new; + int isText = isString(data); new = (Rconnection) malloc(sizeof(struct Rconn)); - if(!new) error(_("allocation of text connection failed")); - new->class = (char *) malloc(strlen("textConnection") + 1); - if(!new->class) { - free(new); - error(_("allocation of text...
2004 Jan 26
2
Crashed kernel
http://www.sample.banga.lt/crash.gif System - fully (except kernel) updated RedHat 7.3. Filesystems - ext3 in default ordered mode. What could be the cause of the crash? Kernel update will solve the problem? Thanks, Mindaugas
2002 Aug 19
2
Applying ACL patches
...ng someone can help me with this problem. I have redhat 7.3 with the 2.4.18-3 kernel and after applying the acl patches to the kernel, running make menuconfig and make dep I then run make bzImage which produces the following error: ld -m elf_i386 -T /usr/src/linux-2.4.18-3/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o init/do_mounts.o --start-group arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o...
2007 Jul 10
0
backgroundrb.ppid
...rying to use monit with backgroundrb, but it seems that backgroundrb.ppid isn''t holding the id of the backgroundrb task. jodi at soup/var/www/the-soup/current $ cat log/backgroundrb.ppid 23182 jodi at soup/var/www/the-soup/current $ ps -efl 1 S deploy 23184 1 0 75 0 - 27056 stext 11:27 ? 00:00:04 backgroundrb 1 S deploy 23186 23184 0 76 0 - 14444 - 11:27 ? 00:00:00 backgroundrb_logger 1 S deploy 23187 23184 0 76 0 - 14768 - 11:27 ? 00:00:00 backgroundrb_results 0 R jodi 23799 23755 0 76 0 - 676 - 14:06 pts/0...
2001 Nov 07
1
Error compiling 2.4.14 with ext3 patch
...lease CC me as I'm not subscribed. Attached is my kernel configuration. Please forgive me if this is being asked a gazillion times in the list. I'm using the 2.4.14 patch found at http://www.uow.edu.au/~andrewm/linux/ext3/ . ld -m elf_i386 -T /usr/src/linux-2.4.14/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o \ --start-group \ arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \ drivers/acpi/acpi.o drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/m...
2001 Jun 10
1
compile error ext3-2.4-0.0.6 on
Hi all, I followed the instructions on http://www.uow.edu.au/~andrewm/linux/ext3/ext3-usage.html, and make bzImage gave the following: ..... make[1]: Leaving directory `/usr/src/linux-2.4.5/arch/i386/lib' ld -m elf_i386 -T /usr/src/linux-2.4.5/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o \ --start-group \ arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \ drivers/parport/driver.o drivers/char/char.o drivers/block/block.o drivers/misc/misc...
2004 Feb 21
0
OFFTOPIC - ACPI ERROR during compiling kernel (ACL support for samba)
...em is that I don't know what I must set up in menuconfig, so I copied config.gz from /proc an import this to 2.4.22 menuconfig, that checked ACL, after it, make dep clean bzImage modules modules_install install During compiling: ld -m elf_i386 -T /usr/src/linux-2.4.22/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o init/do_mounts.o \ --start-group \ arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \ drivers/acpi/acpi.o drivers/char/char.o drivers/block/block.o drivers/m...
2001 Nov 06
2
ext3fs and 2.4.14 kernel
...have downloaded the latest kernel and the ext3 patch. I have used the .config file used for the compilation of my 2.4.13 kernel, but the compilation ends with make[1]: Quitte le répertoire `/usr/src/linux-2.4.14/arch/i386/lib' ld -m elf_i386 -T /usr/src/linux-2.4.14/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o \ --start-group \ arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \ drivers/acpi/acpi.o drivers/parport/driver.o drivers/char/char.o drivers/block/block...
2008 May 20
3
R for loop question
Hello, I am trying to assign a variable name (x1,x2,x3...) in a loop statement that is based on a counter (counter is based on the number of hours within the datafile). The x1,x2 data will later be called for plotting the data. Below is a clip of the for loop I am using, any suggestions? k = 1 for (i in 1:length(stats$hour)) { "x(i)" = dataset[k,(3:15)] k = k+1 } Thanks,
2004 Aug 17
0
HTB kernel panic crash!
...[k] 0x05 0xc0385f88 c0110068 restore_i387 [k] 0x28 0xc0385fa8 c0106fb3 default_idle [k] 0x23 0xc0385fb4 c0115a7c apm_cpu_idle [k] 0xac 0xc0385fc0 c01159d0 apm_cpu_idle [k] 0x00 0xc0385fc4 c0107032 cpu_idle [k] 0x32 0xc0385fd4 c0105000 stext [k] 0x00 0xc0385fe0 code 01 b8 d0 01 00 00 01 88 d4 01 00 00 b8 1f 85 eb 51 89 96 c4 <0> kernel panic: Aiee, killing int handler! In interrupt handler not syncing Lastly, thanks! _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a....
2001 Jan 19
2
building ext3 as a module
...a module, I get the follwing errors during the kernel link: /usr/bin/kgcc -D__KERNEL__ -I/home/brian/src/kernel-2.2.19-pre6mvd/linux-2.2.19pre6-kdb-ext3/include -c -o dummy_sym.o dummy_sym.c ld -m elf_i386 -T /home/brian/src/kernel-2.2.19-pre6mvd/linux-2.2.19pre6-kdb-ext3/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_t ask.o -Map map init/main.o init/version.o \ --start-group \ arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o arch/i386/kdb/kdb.o \ fs/filesystems.a \ net/network.a \ drivers/...
2004 Jul 01
14
filter ingress policy rates -> slow!!
Hello one more time, As others seem to already asked without reply, I''m getting lower speed rates than specified via ingress. How do I know. Because I have this in my script: tc qdisc add dev $DEV handle ffff: ingress # Filter intranet traffic, so fit it to intranet speed tc filter add dev $DEV parent ffff: protocol ip prio 10 u32 \ match ip src $Q_2_HOSTS \ match ip dst
2007 Apr 18
43
[RFC PATCH 00/35] Xen i386 paravirtualization support
Unlike full virtualization in which the virtual machine provides the same platform interface as running natively on the hardware, paravirtualization requires modification to the guest operating system to work with the platform interface provided by the hypervisor. Xen was designed with performance in mind. Calls to the hypervisor are minimized, batched if necessary, and non-critical codepaths
2007 Apr 18
43
[RFC PATCH 00/35] Xen i386 paravirtualization support
Unlike full virtualization in which the virtual machine provides the same platform interface as running natively on the hardware, paravirtualization requires modification to the guest operating system to work with the platform interface provided by the hypervisor. Xen was designed with performance in mind. Calls to the hypervisor are minimized, batched if necessary, and non-critical codepaths
2007 Apr 18
33
[RFC PATCH 00/33] Xen i386 paravirtualization support
Unlike full virtualization in which the virtual machine provides the same platform interface as running natively on the hardware, paravirtualization requires modification to the guest operating system to work with the platform interface provided by the hypervisor. Xen was designed with performance in mind. Calls to the hypervisor are minimized, batched if necessary, and non-critical codepaths