---------- Forwarded message ---------- From: Ibrahim Abbas <[email protected]> Date: Wed, Oct 6, 2010 at 5:34 AM Subject: Camera Test Jpeg Serial code running To: [email protected]
Hi, Any body who has run the code of Camera Test Jpeg Serial. I m having some problems in it. This code gives me .bytes file (compressed image using Jpeg compression). At PC when I try to decompress this .bytes file, ( using code /opt/tinyos-2.x-contrib/intelmote2/support/sdk/c/compress/idctApp.c ) , sometimes it gives me following errors *** stack smashing detected ***: ./idctApp terminated ======= Backtrace: ========= /lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0x84d008] /lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x0)[0x84cfc0] ./idctApp[0x804a95d] [0x0] ======= Memory map: ======== 0035a000-00375000 r-xp 00000000 08:01 2781 /lib/ld-2.10.1.so 00375000-00376000 r--p 0001a000 08:01 2781 /lib/ld-2.10.1.so 00376000-00377000 rw-p 0001b000 08:01 2781 /lib/ld-2.10.1.so 0045c000-00480000 r-xp 00000000 08:01 4484 /lib/tls/i686/cmov/ libm-2.10.1.so 00480000-00481000 r--p 00023000 08:01 4484 /lib/tls/i686/cmov/ libm-2.10.1.so 00481000-00482000 rw-p 00024000 08:01 4484 /lib/tls/i686/cmov/ libm-2.10.1.so 0051c000-00602000 r-xp 00000000 08:01 4936 /usr/lib/libstdc++.so.6.0.13 00602000-00606000 r--p 000e6000 08:01 4936 /usr/lib/libstdc++.so.6.0.13 00606000-00607000 rw-p 000ea000 08:01 4936 /usr/lib/libstdc++.so.6.0.13 00607000-0060e000 rw-p 00000000 00:00 0 0076c000-008aa000 r-xp 00000000 08:01 2783 /lib/tls/i686/cmov/ libc-2.10.1.so 008aa000-008ab000 ---p 0013e000 08:01 2783 /lib/tls/i686/cmov/ libc-2.10.1.so 008ab000-008ad000 r--p 0013e000 08:01 2783 /lib/tls/i686/cmov/ libc-2.10.1.so 008ad000-008ae000 rw-p 00140000 08:01 2783 /lib/tls/i686/cmov/ libc-2.10.1.so 008ae000-008b1000 rw-p 00000000 00:00 0 00b53000-00b6f000 r-xp 00000000 08:01 3226 /lib/libgcc_s.so.1 00b6f000-00b70000 r--p 0001b000 08:01 3226 /lib/libgcc_s.so.1 00b70000-00b71000 rw-p 0001c000 08:01 3226 /lib/libgcc_s.so.1 00d1c000-00d1d000 r-xp 00000000 00:00 0 [vdso] 08048000-0804c000 r-xp 00000000 08:01 530148 /home/user/Desktop/compress/idctApp 0804c000-0804d000 r--p 00003000 08:01 530148 /home/user/Desktop/compress/idctApp 0804d000-0804e000 rw-p 00004000 08:01 530148 /home/user/Desktop/compress/idctApp 08644000-08665000 rw-p 00000000 00:00 0 [heap] b788d000-b788f000 rw-p 00000000 00:00 0 b78a0000-b78a3000 rw-p 00000000 00:00 0 bf8ae000-bf937000 rw-p 00000000 00:00 0 [stack] Aborted and sometimes segmentation fault and for other .bytes file it create a .pgm file which is also not similar to the original one. Please help me asap. bunch of thanks in advance. -- Ibrahim Abbas Research Assistant CoNNekT Lab School of Electrical Engineering and Computer Science National University of Sciences and Technology Islamabad, Pakistan Web: http://connekt.seecs.nust.edu.pk/people/ibrahim_abbas.html -- Ibrahim Abbas Research Assistant CoNNekT Lab School of Electrical Engineering and Computer Science National University of Sciences and Technology Islamabad, Pakistan Web: http://connekt.seecs.nust.edu.pk/people/ibrahim_abbas.html
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
