Hi all,

I recompiled fish with -g and -O0 and ran it in gdb. Here are the
results:

,----
| [EMAIL PROTECTED] ~> env TERM=dumb gdb
| GNU gdb 6.6
| Copyright (C) 2006 Free Software Foundation, Inc.
| GDB is free software, covered by the GNU General Public License, and you are
| welcome to change it and/or distribute copies of it under certain conditions.
| Type "show copying" to see the conditions.
| There is absolutely no warranty for GDB.  Type "show warranty" for details.
| This GDB was configured as "i686-pc-linux-gnu".
| (gdb) file /bin/fish
| Reading symbols from /bin/fish...done.
| Using host libthread_db library "/lib/libthread_db.so.1".
| (gdb) run
| Starting program: /bin/fish 
| Welcome to fish, the friendly interactive shell
| Type help for instructions on how to use fish
| fish: function writembs called with null value for argument str.
| fish: This is a bug. If you can reproduce it, please send a bug report to 
[EMAIL PROTECTED]
| fish: Backtrace:
| /bin/fish [0x807c94e]
| /bin/fish [0x807325a]
| /bin/fish [0x807fda3]
| /bin/fish [0x807ff7c]
| /bin/fish [0x80805f5]
| /bin/fish [0x8068960]
| /bin/fish [0x806b27a]
| /bin/fish [0x806aef9]
| /bin/fish [0x806c48b]
| /bin/fish [0x808149b]
| /lib/libc.so.6(__libc_start_main+0xe3) [0xb7df1823]
| > 
| Program received signal SIGTSTP, Stopped (user).
| 0xb7f73410 in __kernel_vsyscall ()
| (gdb) bt
| #0  0xb7f73410 in __kernel_vsyscall ()
| #1  0xb7ea5b6d in select () from /lib/libc.so.6
| #2  0x08075bce in readb () at input_common.c:86
| #3  0x08075dee in input_common_readch (timed=0) at input_common.c:194
| #4  0x080728d1 in input_try_mapping (m=0x80ab800) at input.c:1637
| #5  0x08072ade in input_readch () at input.c:1709
| #6  0x0806b2dd in reader_readline () at reader.c:2344
| #7  0x0806aef9 in read_i () at reader.c:2176
| #8  0x0806c48b in reader_read (fd=0, io=0x0) at reader.c:3050
| #9  0x0808149b in main (argc=1, argv=0xbfa21b84) at main.c:335
| (gdb) bt full
| #0  0xb7f73410 in __kernel_vsyscall ()
| No symbol table info available.
| #1  0xb7ea5b6d in select () from /lib/libc.so.6
| No symbol table info available.
| #2  0x08075bce in readb () at input_common.c:86
|       fd = {fds_bits = {65, 0 <repeats 31 times>}}
|       fd_max = 7
|       res = 134922072
|       arr = "¿"
|       do_loop = 0
| #3  0x08075dee in input_common_readch (timed=0) at input_common.c:194
|       b = 134743555
|       bb = 0 '\0'
|       sz = 134915924
|       res = 1181802916
|       state = {__count = 0, __value = {__wch = 0, __wchb = "\000\000\000"}}
| #4  0x080728d1 in input_try_mapping (m=0x80ab800) at input.c:1637
|       j = -1079896828
|       k = 134937000
|       c = 0
| #5  0x08072ade in input_readch () at input.c:1709
|       res = 134656671
|       i = 0
|       __func__ = "input_readch"
| #6  0x0806b2dd in reader_readline () at reader.c:2344
|       was_interactive_read = 0
|       regular_char = 0
|       c = 0
|       i = 48
|       last_char = 0
|       yank = 0
|       yank_str = (wchar_t *) 0x30
|       comp = (array_list_t *) 0x0
|       comp_empty = 1
|       finished = 0
|       old_modes = {c_iflag = 25862, c_oflag = 5, c_cflag = 191, c_lflag = 
35377, c_line = 0 '\0', 
|   c_cc = "\003\034\177\025\004\000\001\000\021\023\032\000\022\017\027\026", 
'\0' <repeats 15 times>, c_ispeed = 15, c_ospeed = 15}
|       search_mode = 0
| #7  0x0806aef9 in read_i () at reader.c:2176
|       tmp = (wchar_t *) 0x0
| #8  0x0806c48b in reader_read (fd=0, io=0x0) at reader.c:3050
|       res = 134875488
| #9  0x0808149b in main (argc=1, argv=0xbfa21b84) at main.c:335
|       res = 1
|       cmd = 0x0
|       my_optind = 1
| (gdb) fg
| Continuing.
| fish: function writembs called with null value for argument str.
| fish: This is a bug. If you can reproduce it, please send a bug report to 
[EMAIL PROTECTED]
| fish: Backtrace:
| /bin/fish [0x807c94e]
| /bin/fish [0x807325a]
| /bin/fish [0x807fda3]
| /bin/fish [0x807ff7c]
| /bin/fish [0x80805f5]
| /bin/fish [0x8068960]
| /bin/fish [0x8068c01]
| /bin/fish [0x8068c33]
| /bin/fish [0x806c058]
| /bin/fish [0x806aef9]
| /bin/fish [0x806c48b]
| /bin/fish [0x808149b]
| /lib/libc.so.6(__libc_start_main+0xe3) [0xb7df1823]
| > efish: function writembs called with null value for argument str.
| fish: This is a bug. If you can reproduce it, please send a bug report to 
[EMAIL PROTECTED]
| fish: Backtrace:
| /bin/fish [0x807c94e]
| /bin/fish [0x807325a]
| /bin/fish [0x807fc58]
| /bin/fish [0x80800e7]
| /bin/fish [0x80805f5]
| /bin/fish [0x8068960]
| /bin/fish [0x8068c01]
| /bin/fish [0x8068c33]
| /bin/fish [0x806c058]
| /bin/fish [0x806aef9]
| /bin/fish [0x806c48b]
| /bin/fish [0x808149b]
| /lib/libc.so.6(__libc_start_main+0xe3) [0xb7df1823]
| exfish: function writembs called with null value for argument str.
| fish: This is a bug. If you can reproduce it, please send a bug report to 
[EMAIL PROTECTED]
| fish: Backtrace:
| /bin/fish [0x807c94e]
| /bin/fish [0x807325a]
| /bin/fish [0x807fc58]
| /bin/fish [0x80800e7]
| /bin/fish [0x80805f5]
| /bin/fish [0x8068960]
| /bin/fish [0x8068c01]
| /bin/fish [0x8068c33]
| /bin/fish [0x806c058]
| /bin/fish [0x806aef9]
| /bin/fish [0x806c48b]
| /bin/fish [0x808149b]
| /lib/libc.so.6(__libc_start_main+0xe3) [0xb7df1823]
| fish: function writembs called with null value for argument str.
| fish: This is a bug. If you can reproduce it, please send a bug report to 
[EMAIL PROTECTED]
| fish: Backtrace:
| /bin/fish [0x807c94e]
| /bin/fish [0x807325a]
| /bin/fish [0x807fc58]
| /bin/fish [0x80800e7]
| /bin/fish [0x80805f5]
| /bin/fish [0x8068960]
| /bin/fish [0x8068c01]
| /bin/fish [0x8068c33]
| /bin/fish [0x806c058]
| /bin/fish [0x806aef9]
| /bin/fish [0x806c48b]
| /bin/fish [0x808149b]
| /lib/libc.so.6(__libc_start_main+0xe3) [0xb7df1823]
| exifish: function writembs called with null value for argument str.
| fish: This is a bug. If you can reproduce it, please send a bug report to 
[EMAIL PROTECTED]
| fish: Backtrace:
| /bin/fish [0x807c94e]
| /bin/fish [0x807325a]
| /bin/fish [0x807fc58]
| /bin/fish [0x80800e7]
| /bin/fish [0x80805f5]
| /bin/fish [0x8068960]
| /bin/fish [0x8068c01]
| /bin/fish [0x8068c33]
| /bin/fish [0x806c058]
| /bin/fish [0x806aef9]
| /bin/fish [0x806c48b]
| /bin/fish [0x808149b]
| /lib/libc.so.6(__libc_start_main+0xe3) [0xb7df1823]
| fish: function writembs called with null value for argument str.
| fish: This is a bug. If you can reproduce it, please send a bug report to 
[EMAIL PROTECTED]
| fish: Backtrace:
| /bin/fish [0x807c94e]
| /bin/fish [0x807325a]
| /bin/fish [0x807fc58]
| /bin/fish [0x80800e7]
| /bin/fish [0x80805f5]
| /bin/fish [0x8068960]
| /bin/fish [0x8068c01]
| /bin/fish [0x8068c33]
| /bin/fish [0x806c058]
| /bin/fish [0x806aef9]
| /bin/fish [0x806c48b]
| /bin/fish [0x808149b]
| /lib/libc.so.6(__libc_start_main+0xe3) [0xb7df1823]
| fish: function writembs called with null value for argument str.
| fish: This is a bug. If you can reproduce it, please send a bug report to 
[EMAIL PROTECTED]
| fish: Backtrace:
| /bin/fish [0x807c94e]
| /bin/fish [0x807325a]
| /bin/fish [0x807fc58]
| /bin/fish [0x80800e7]
| /bin/fish [0x80805f5]
| /bin/fish [0x8068960]
| /bin/fish [0x8068c01]
| /bin/fish [0x8068c33]
| /bin/fish [0x806c058]
| /bin/fish [0x806aef9]
| /bin/fish [0x806c48b]
| /bin/fish [0x808149b]
| /lib/libc.so.6(__libc_start_main+0xe3) [0xb7df1823]
| exit
| 
| Good bye
| 
| Program exited normally.
| (gdb) q
| [EMAIL PROTECTED] ~>
`----

Bye,
Tassilo
-- 
My opinions may have changed, but not the fact that I am right.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to