List:MySQL++« Previous MessageNext Message »
From:Ovidiu Bivolaru Date:November 24 2004 2:31pm
Subject:Re: Error Not enough parameters to fill the template
View as plain text  
Hi Warren,

 This is exactly what I've done. I've set a breakpoint at query.parse() 
where the problem occurs.
 Whatever I would use step/next gdb would stop in:
/usr/include/c++/3.2.2/ppc-yellowdog-linux/bits/atomicity.h (line 59)
static inline void
__attribute__ ((__unused__))
__atomic_add (volatile _Atomic_word *__mem, int __val)
{
  _Atomic_word __tmp;
  __asm__ __volatile__ (  <----- LINE 59 ----- >
        "/* Inline atomic add */\n"
        "0:\t"
        "lwarx    %0,0,%1 \n\t"
        "add%I2   %0,%0,%2 \n\t"
        "stwcx.   %0,0,%1 \n\t"
        "bne-     0b \n\t"
        "/* End atomic add */"
        : "=&b"(__tmp)
        : "r" (__mem), "Ir"(__val)
        : "cr0", "memory");
}
  I've attached output for gdb and strace.
 Please let me know if you need other info too because I can reproduce 
anytime.

Regards,
Ovidiu

Warren Young wrote:

> Ovidiu Bivolaru wrote:
>
>> Could you please advise me how to get this information. I've used gdb 
>
>
> Single-step through the program until it breaks.  Read the fine gdb 
> manual.
>


=== gdb/step ===
(gdb) b resetdb.cc:37
Breakpoint 4 at 0x10005840: file resetdb.cc, line 37.
(gdb) run
Starting program: /home/ovidiu/mysql++-1.7.19/examples/.libs/resetdb localhost root
password

Breakpoint 4, main (argc=2147481408, argv=0x7ffff4b8) at resetdb.cc:37
37          query.parse();
Current language:  auto; currently c++
(gdb) s
0x30024f60 in __cache_line_size () from /lib/ld.so.1
(gdb) s
Single stepping until exit from function __cache_line_size,
which has no line number information.
SQLQuery::parse() (this=0x7ffff738) at stl_alloc.h:664
664           allocator() throw() {}
(gdb) s
0x30024f60 in __cache_line_size () from /lib/ld.so.1
(gdb) s
Single stepping until exit from function __cache_line_size,
which has no line number information.
basic_string (this=0x7ffff3b8, __s=0xffc5028 "", __a=@0x7ffff3c8)
    at
/home/dburcaw/BUILD/gcc/BUILD/gcc-3.2.2-20030218/obj-ppc-yellowdog-linux/ppc-yellowdog-linux/libstdc++-v3/include/bits/basic_string.h:749
749    
/home/dburcaw/BUILD/gcc/BUILD/gcc-3.2.2-20030218/obj-ppc-yellowdog-linux/ppc-yellowdog-linux/libstdc++-v3/include/bits/basic_string.h:
No such file or directory.
        in
/home/dburcaw/BUILD/gcc/BUILD/gcc-3.2.2-20030218/obj-ppc-yellowdog-linux/ppc-yellowdog-linux/libstdc++-v3/include/bits/basic_string.h
(gdb) s
135    
/home/dburcaw/BUILD/gcc/BUILD/gcc-3.2.2-20030218/obj-ppc-yellowdog-linux/ppc-yellowdog-linux/libstdc++-v3/include/bits/char_traits.h:
No such file or directory.
        in
/home/dburcaw/BUILD/gcc/BUILD/gcc-3.2.2-20030218/obj-ppc-yellowdog-linux/ppc-yellowdog-linux/libstdc++-v3/include/bits/char_traits.h
(gdb) s
0x0fc40404 in strlen () at mtrace.c:200
200     mtrace.c: No such file or directory.
        in mtrace.c
Current language:  auto; currently c
(gdb) s
basic_string (this=0x7ffff3b8, __s=0xffc5028 "", __a=@0x7ffff3c8)
    at
/home/dburcaw/BUILD/gcc/BUILD/gcc-3.2.2-20030218/obj-ppc-yellowdog-linux/ppc-yellowdog-linux/libstdc++-v3/include/bits/basic_string.h:732
732    
/home/dburcaw/BUILD/gcc/BUILD/gcc-3.2.2-20030218/obj-ppc-yellowdog-linux/ppc-yellowdog-linux/libstdc++-v3/include/bits/basic_string.h:
No such file or directory.
        in
/home/dburcaw/BUILD/gcc/BUILD/gcc-3.2.2-20030218/obj-ppc-yellowdog-linux/ppc-yellowdog-linux/libstdc++-v3/include/bits/basic_string.h
Current language:  auto; currently c++
(gdb) s
char* std::string::_S_construct<char const*>(char const*, char const*,
std::allocator<char> const&, std::forward_iterator_tag) (__beg=0xffc5028 "",
__end=0xffc5028 "", __a=@0x7ffff3c8)
    at
/home/dburcaw/BUILD/gcc/BUILD/gcc-3.2.2-20030218/obj-ppc-yellowdog-linux/ppc-yellowdog-linux/libstdc++-v3/include/bits/basic_string.tcc:142
142    
/home/dburcaw/BUILD/gcc/BUILD/gcc-3.2.2-20030218/obj-ppc-yellowdog-linux/ppc-yellowdog-linux/libstdc++-v3/include/bits/basic_string.tcc:
No such file or directory.
        in
/home/dburcaw/BUILD/gcc/BUILD/gcc-3.2.2-20030218/obj-ppc-yellowdog-linux/ppc-yellowdog-linux/libstdc++-v3/include/bits/basic_string.tcc
(gdb) s
305    
/home/dburcaw/BUILD/gcc/BUILD/gcc-3.2.2-20030218/obj-ppc-yellowdog-linux/ppc-yellowdog-linux/libstdc++-v3/include/bits/basic_string.h:
No such file or directory.
        in
/home/dburcaw/BUILD/gcc/BUILD/gcc-3.2.2-20030218/obj-ppc-yellowdog-linux/ppc-yellowdog-linux/libstdc++-v3/include/bits/basic_string.h
(gdb) s
57     
/home/dburcaw/BUILD/gcc/BUILD/gcc-3.2.2-20030218/obj-ppc-yellowdog-linux/ppc-yellowdog-linux/libstdc++-v3/include/ppc-yellowdog-linux/bits/atomicity.h:
No such file or directory.
        in
/home/dburcaw/BUILD/gcc/BUILD/gcc-3.2.2-20030218/obj-ppc-yellowdog-linux/ppc-yellowdog-linux/libstdc++-v3/include/ppc-yellowdog-linux/bits/atomicity.h
(gdb) s
59      in
/home/dburcaw/BUILD/gcc/BUILD/gcc-3.2.2-20030218/obj-ppc-yellowdog-linux/ppc-yellowdog-linux/libstdc++-v3/include/ppc-yellowdog-linux/bits/atomicity.h
(gdb) s

=== here it remains in an apparently loop ===
Program received signal SIGINT, Interrupt.
0x0fe69240 in char* std::string::_S_construct<char const*>(char const*, char const*,
std::allocator<char> const&, std::forward_iterator_tag) (__beg=0xffc5028 "",
__end=0xffc5028 "", __a=@0x7ffff3c8)
    at
/home/dburcaw/BUILD/gcc/BUILD/gcc-3.2.2-20030218/obj-ppc-yellowdog-linux/ppc-yellowdog-linux/libstdc++-v3/include/ppc-yellowdog-linux/bits/atomicity.h:59
59      in
/home/dburcaw/BUILD/gcc/BUILD/gcc-3.2.2-20030218/obj-ppc-yellowdog-linux/ppc-yellowdog-linux/libstdc++-v3/include/ppc-yellowdog-linux/bits/atomicity.h
(gdb) c
Continuing.
Error: Not enough parameters to fill the template.

Program exited with code 0377.
==== gdb/step =====

=== gdb/next ===
Breakpoint 4, main (argc=2147481408, argv=0x7ffff4b8) at resetdb.cc:37
37          query.parse();
(gdb) n
7       sql_query2.hh: No such file or directory.
        in sql_query2.hh
(gdb) n
664           allocator() throw() {}
(gdb) n
221       _Tp& operator[](const key_type& __k) {
(gdb) n
664           allocator() throw() {}
(gdb) n
369       iterator lower_bound(const key_type& __x) {return _M_t.lower_bound(__x); }
(gdb) n
195           _Rb_tree_iterator(_Link_type __x) { _M_node = __x; }
(gdb) n
224         if (__i == end() || key_comp()(__k, (*__i).first))
(gdb) n
235         { return __x._M_node == __y._M_node; }
(gdb) n
195           _Rb_tree_iterator(_Link_type __x) { _M_node = __x; }
(gdb) n
235         { return __x._M_node == __y._M_node; }
(gdb) n
229           { return  _M_dataplus._M_p; }
(gdb) n
153           if (__b < __a) return __b; return __a;
(gdb) n
199           operator*() const { return _Link_type(_M_node)->_M_value_field; }
(gdb) n
237           { return &((reinterpret_cast<_Rep*> (_M_data()))[-1]); }
(gdb) n
388           size() const { return _M_rep()->_M_length; }
(gdb) n
153           if (__b < __a) return __b; return __a;
(gdb) n
388           size() const { return _M_rep()->_M_length; }
(gdb) n
153           if (__b < __a) return __b; return __a;
(gdb) n
149         {
(gdb) n
229           { return  _M_dataplus._M_p; }
(gdb) n
131           { return memcmp(__s1, __s2, __n); }
(gdb) n
897             if (!__r)
(gdb) n
898               __r =  __size - __osize;
(gdb) n
197       bool operator()(const _Tp& __x, const _Tp& __y) const { return __x <
__y; }
(gdb) n
584           __normal_iterator(const _Iterator& __i) : _M_current(__i) { }
(gdb) n
221       _Tp& operator[](const key_type& __k) {
(gdb) n
633           base() const { return _M_current; }
(gdb) n
261         { return size_type(end() - begin()); }
(gdb) n
664           allocator() throw() {}
(gdb) n
221       iterator end() { return iterator (_M_finish); }
(gdb) n
261         { return size_type(end() - begin()); }
(gdb) n
664           allocator() throw() {}
(gdb) n
23      sql_string1.hh: No such file or directory.
        in sql_string1.hh
(gdb) n
615         { _M_fill_insert(__pos, __n, __x); }
(gdb) n
23      sql_string1.hh: No such file or directory.
        in sql_string1.hh
(gdb) n
615         { _M_fill_insert(__pos, __n, __x); }
(gdb) n
23      sql_string1.hh: No such file or directory.
        in sql_string1.hh
(gdb) n
615         { _M_fill_insert(__pos, __n, __x); }
(gdb) n
584           __normal_iterator(const _Iterator& __i) : _M_current(__i) { }
(gdb) n
229           { return  _M_dataplus._M_p; }
(gdb) n
792           get_allocator() const { return _M_dataplus; }
(gdb) n
584           __normal_iterator(const _Iterator& __i) : _M_current(__i) { }
(gdb) n
229           { return  _M_dataplus._M_p; }
(gdb) n
792           get_allocator() const { return _M_dataplus; }
(gdb) n
24      sql_string1.hh: No such file or directory.
        in sql_string1.hh
(gdb) n
135           { return strlen(__s); }
(gdb) n
394           max_size() const { return _Rep::_S_max_size; }
(gdb) n
135           { return strlen(__s); }
(gdb) n
394           max_size() const { return _Rep::_S_max_size; }
(gdb) n
229           { return  _M_dataplus._M_p; }
(gdb) n
497             if (_M_rep()->_M_is_shared() || less<const _CharT*>()(__s,
_M_data())
(gdb) n
154             { return _M_references > 0; }
(gdb) n
229           { return  _M_dataplus._M_p; }
(gdb) n
154             { return _M_references > 0; }
(gdb) n
242           _M_ibegin() const { return iterator(_M_data()); }
(gdb) n
245           _M_iend() const { return iterator(_M_data() + this->size()); }
(gdb) n
229           { return  _M_dataplus._M_p; }
(gdb) n
245           _M_iend() const { return iterator(_M_data() + this->size()); }
(gdb) n
237           { return &((reinterpret_cast<_Rep*> (_M_data()))[-1]); }
(gdb) n
388           size() const { return _M_rep()->_M_length; }
(gdb) n
245           _M_iend() const { return iterator(_M_data() + this->size()); }
(gdb) n
499               return _M_replace_safe(_M_ibegin(), _M_iend(), __s, __s + __n);
(gdb) n
22      sql_string1.hh: No such file or directory.
        in sql_string1.hh
(gdb) n
664           allocator() throw() {}
(gdb) n
305           { return *reinterpret_cast<_Rep*>(&_S_empty_rep_storage); }
(gdb) n
23      sql_string1.hh: No such file or directory.
        in sql_string1.hh
(gdb) n
305           { return *reinterpret_cast<_Rep*>(&_S_empty_rep_storage); }
(gdb) n
23      sql_string1.hh: No such file or directory.
        in sql_string1.hh
(gdb) n
57      {
(gdb) n
23      sql_string1.hh: No such file or directory.
        in sql_string1.hh
(gdb) n
38      in sql_string1.hh
(gdb) n
23      in sql_string1.hh
(gdb) n
59        __asm__ __volatile__ (
(gdb) n

=== here it is not doing anything  ===
After issuing CTRL+C:

Program received signal SIGINT, Interrupt.
0x10005a14 in main (argc=2147481408, argv=0x1000d674) at atomicity.h:59
59        __asm__ __volatile__ (
(gdb) c
Continuing.
Error: Not enough parameters to fill the template.

Program exited with code 0377.

execve("./resetdb", ["./resetdb", "localhost", "root", "XXXXXX"], [/* 25 vars */]) = 0
uname({sys="Linux", node="XXXXXXX", ...}) = 0
brk(0)                                  = 0x1001fbb4
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libmysqlpp.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=61497, ...}) = 0
mmap(NULL, 61497, PROT_READ, MAP_PRIVATE, 3, 0) = 0x30026000
close(3)                                = 0
open("/usr/lib/libmysqlpp.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\1\261"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=2281722, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x30015000
mmap(0xff72000, 513552, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xff72000
mprotect(0xffcc000, 144912, PROT_NONE)  = 0
mmap(0xffd2000, 118784, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0x50000)
= 0xffd2000
mmap(0xffef000, 1552, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS,
-1, 0) = 0xffef000
close(3)                                = 0
open("/usr/local/lib/libz.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libz.so.1", O_RDONLY)    = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\0+\330"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=71637, ...}) = 0
mmap(0xff43000, 124668, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xff43000
mprotect(0xff50000, 71420, PROT_NONE)   = 0
mmap(0xff53000, 61440, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
0xff53000
close(3)                                = 0
open("/usr/local/lib/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libcrypt.so.1", O_RDONLY)    = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\0\n"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=74107, ...}) = 0
mmap(0xfef7000, 245024, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xfef7000
mprotect(0xfefc000, 224544, PROT_NONE)  = 0
mmap(0xff07000, 20480, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
0xff07000
mmap(0xff0c000, 159008, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xff0c000
close(3)                                = 0
open("/usr/local/lib/libnsl.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libnsl.so.1", O_RDONLY)      = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\0A\350"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=1232325, ...}) = 0
mmap(0xfec1000, 152800, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xfec1000
mprotect(0xfed4000, 74976, PROT_NONE)   = 0
mmap(0xfee1000, 12288, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0x10000)
= 0xfee1000
mmap(0xfee4000, 9440, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS,
-1, 0) = 0xfee4000
close(3)                                = 0
open("/usr/local/lib/libstdc++.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libstdc++.so.5", O_RDONLY) = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\3\320"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=4441729, ...}) = 0
mmap(0xfde1000, 851480, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xfde1000
mprotect(0xfe96000, 110104, PROT_NONE)  = 0
mmap(0xfea1000, 40960, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0xb0000)
= 0xfea1000
mmap(0xfeab000, 24088, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xfeab000
close(3)                                = 0
open("/usr/local/lib/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libm.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\0\241"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=1535296, ...}) = 0
mmap(0xfd4b000, 545216, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xfd4b000
mprotect(0xfdbe000, 74176, PROT_NONE)   = 0
mmap(0xfdcb000, 20480, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0x70000)
= 0xfdcb000
mmap(0xfdd0000, 448, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS,
-1, 0) = 0xfdd0000
close(3)                                = 0
open("/usr/local/lib/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libgcc_s.so.1", O_RDONLY)    = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\0\30"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=1280095, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x30016000
mmap(0xfd1e000, 115680, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xfd1e000
mprotect(0xfd2a000, 66528, PROT_NONE)   = 0
mmap(0xfd2e000, 53248, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
0xfd2e000
close(3)                                = 0
open("/usr/local/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\1\301"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=17688544, ...}) = 0
mmap(0xfbbe000, 1372456, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xfbbe000
mprotect(0xfcf7000, 90408, PROT_NONE)   = 0
mmap(0xfcfe000, 53248, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0x130000)
= 0xfcfe000
mmap(0xfd0b000, 8488, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS,
-1, 0) = 0xfd0b000
close(3)                                = 0
mprotect(0xff72000, 368640, PROT_READ|PROT_WRITE) = 0
mprotect(0xff72000, 368640, PROT_READ|PROT_EXEC) = 0
munmap(0x30026000, 61497)               = 0
brk(0)                                  = 0x1001fbb4
brk(0x10020bb4)                         = 0x10020bb4
brk(0x10021000)                         = 0x10021000
open("/etc/nsswitch.conf", O_RDONLY)    = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=1686, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x30017000
read(3, "#\n# /etc/nsswitch.conf\n#\n# An ex"..., 4096) = 1686
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x30017000, 4096)                = 0
open("/usr/local/lib/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=61497, ...}) = 0
mmap(NULL, 61497, PROT_READ, MAP_PRIVATE, 3, 0) = 0x30026000
close(3)                                = 0
open("/lib/libnss_files.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\0\37"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=339424, ...}) = 0
mmap(0xfb91000, 115320, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xfb91000
mprotect(0xfb9d000, 66168, PROT_NONE)   = 0
mmap(0xfba1000, 49152, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
0xfba1000
mmap(0xfbad000, 632, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS,
-1, 0) = 0xfbad000
close(3)                                = 0
munmap(0x30026000, 61497)               = 0
open("/etc/services", O_RDONLY)         = 3
fcntl64(3, F_GETFD)                     = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=19891, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x30017000
read(3, "# /etc/services:\n# $Id: services"..., 4096) = 4096
read(3, "TBIOS Name Service\nnetbios-ns\t13"..., 4096) = 4096
read(3, "rcs\t\t994/udp\npop3s\t\t995/tcp\t\t\t\t#"..., 4096) = 4096
read(3, "rv\t\t2432/tcp\t\t\t# not used\ncodasr"..., 4096) = 4096
close(3)                                = 0
munmap(0x30017000, 4096)                = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
stat64("/etc/my.cnf", {st_mode=S_IFREG|0755, st_size=2498, ...}) = 0
open("/etc/my.cnf", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0755, st_size=2498, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x30017000
read(3, "# Example MySQL config file for "..., 4096) = 2498
brk(0x10022000)                         = 0x10022000
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x30017000, 4096)                = 0
stat64("/var/lib/mysql/my.cnf", 0x7fffe6a8) = -1 ENOENT (No such file or directory)
stat64("/home/ovidiu/.my.cnf", 0x7fffe6a8) = -1 ENOENT (No such file or directory)
socket(PF_UNIX, SOCK_STREAM, 0)         = 3
fcntl64(3, F_GETFL)                     = 0x2 (flags O_RDWR)
connect(3, {sa_family=AF_UNIX, path="/var/lib/mysql/mysql.sock"}, 110) = 0
brk(0x10023000)                         = 0x10023000
setsockopt(3, SOL_IP, IP_TOS, [8], 4)   = -1 EOPNOTSUPP (Operation not supported)
setsockopt(3, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
read(3, "0\0\0\0", 4)                   = 4
read(3, "\n4.0.22-standard\0\21\0\0\0R=yl1LiP\0, "..., 48) = 48
open("/usr/share/mysql/charsets/Index", O_RDONLY|O_LARGEFILE) = 4
fstat64(4, {st_mode=S_IFREG|0755, st_size=621, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x30017000
read(4, "# sql/share/charsets/Index\n#\n# T"..., 4096) = 621
brk(0x10024000)                         = 0x10024000
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x30017000, 4096)                = 0
write(3, "\22\0\0\1\205 \0\0\0root\0DYYF]PUG", 22) = 22
read(3, "\5\0\0\2", 4)                  = 4
read(3, "\0\0\0\2\0", 5)                = 5
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
read(3, 0x10020cd0, 8192)               = -1 EAGAIN (Resource temporarily unavailable)
fcntl64(3, F_SETFL, O_RDWR)             = 0
write(3, "\17\0\0\0\2mysql_cpp_data", 19) = 19
read(3, "\5\0\0\1", 4)                  = 4
read(3, "\0\0\0\2\0", 5)                = 5
brk(0x10025000)                         = 0x10025000
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
read(3, 0x10020cd0, 8192)               = -1 EAGAIN (Resource temporarily unavailable)
fcntl64(3, F_SETFL, O_RDWR)             = 0
write(3, "\21\0\0\0\3drop table stock", 21) = 21
read(3, "\5\0\0\1", 4)                  = 4
read(3, "\0\0\0\2\0", 5)                = 5
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
read(3, 0x10020cd0, 8192)               = -1 EAGAIN (Resource temporarily unavailable)
fcntl64(3, F_SETFL, O_RDWR)             = 0
write(3, "a\0\0\0\3create table stock  (item c"..., 101) = 101
read(3, "\5\0\0\1", 4)                  = 4
read(3, "\0\0\0\2\0", 5)                = 5
brk(0x10026000)                         = 0x10026000
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
read(3, 0x10020cd0, 8192)               = -1 EAGAIN (Resource temporarily unavailable)
fcntl64(3, F_SETFL, O_RDWR)             = 0
write(3, "\1\0\0\0\1", 5)               = 5
shutdown(3, 2 /* send and receive */)   = 0
close(3)                                = 0
write(2, "E", 1E)                        = 1
write(2, "r", 1r)                        = 1
write(2, "r", 1r)                        = 1
write(2, "o", 1o)                        = 1
write(2, "r", 1r)                        = 1
write(2, ":", 1:)                        = 1
write(2, " ", 1 )                        = 1
write(2, "N", 1N)                        = 1
write(2, "o", 1o)                        = 1
write(2, "t", 1t)                        = 1
write(2, " ", 1 )                        = 1
write(2, "e", 1e)                        = 1
write(2, "n", 1n)                        = 1
write(2, "o", 1o)                        = 1
write(2, "u", 1u)                        = 1
write(2, "g", 1g)                        = 1
write(2, "h", 1h)                        = 1
write(2, " ", 1 )                        = 1
write(2, "p", 1p)                        = 1
write(2, "a", 1a)                        = 1
write(2, "r", 1r)                        = 1
write(2, "a", 1a)                        = 1
write(2, "m", 1m)                        = 1
write(2, "e", 1e)                        = 1
write(2, "t", 1t)                        = 1
write(2, "e", 1e)                        = 1
write(2, "r", 1r)                        = 1
write(2, "s", 1s)                        = 1
write(2, " ", 1 )                        = 1
write(2, "t", 1t)                        = 1
write(2, "o", 1o)                        = 1
write(2, " ", 1 )                        = 1
write(2, "f", 1f)                        = 1
write(2, "i", 1i)                        = 1
write(2, "l", 1l)                        = 1
write(2, "l", 1l)                        = 1
write(2, " ", 1 )                        = 1
write(2, "t", 1t)                        = 1
write(2, "h", 1h)                        = 1
write(2, "e", 1e)                        = 1
write(2, " ", 1 )                        = 1
write(2, "t", 1t)                        = 1
write(2, "e", 1e)                        = 1
write(2, "m", 1m)                        = 1
write(2, "p", 1p)                        = 1
write(2, "l", 1l)                        = 1
write(2, "a", 1a)                        = 1
write(2, "t", 1t)                        = 1
write(2, "e", 1e)                        = 1
write(2, ".", 1.)                        = 1
write(2, "\n", 1
)                       = 1
exit(-1)                                = ?

Thread
Error Not enough parameters to fill the templateOvidiu Bivolaru23 Nov
  • Re: Error Not enough parameters to fill the templateWarren Young23 Nov
    • Re: Error Not enough parameters to fill the templateOvidiu Bivolaru23 Nov
      • Re: Error Not enough parameters to fill the templateWarren Young24 Nov
        • Re: Error Not enough parameters to fill the templateOvidiu Bivolaru24 Nov
          • Re: Error Not enough parameters to fill the templateWarren Young24 Nov
            • Re: Error Not enough parameters to fill the templateOvidiu Bivolaru24 Nov
            • Re: Error Not enough parameters to fill the templateOvidiu Bivolaru25 Nov