git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Solaris test failure for git-1.5.4.4 -- t1300-repo-config.sh seg fault

From
Whit Armstrong <armstrong.whit@gmail.com>
Date
Mar 11, 2008, 18:06 UTC
Message-ID
<8ec76080803111106w26e074eal35915ec634816cc7@mail.gmail.com>

xs5-trd-p1.grn:warmstro> uname -a SunOS xs5-trd-p1.grn.tudor.com 5.9 Generic_118558-38 sun4u sparc SUNW,Sun-Fire-V240 Solaris

from:  bash t1300-repo-config.sh -v -i
* expecting failure:
        git config bool.nobool foobar &&
        git config --bool --get bool.nobool
fatal: bad config value for 'bool.nobool' in .git/config
*   ok 60: invalid bool (--get)
* expecting failure:
        git config --bool bool.nobool foobar
t1300-repo-config.sh: line -186:   319 Segmentation Fault      (core
dumped) git config --bool bool.nobool foobar
* FAIL 61: invalid bool (set)
                git config --bool bool.nobool foobar
xs5-trd-p1.grn:warmstro>
and the core file:
xs5-trd-p1.grn:warmstro> pwd
/home/warmstro/download/solaris/git-1.5.4.4/t/trash
xs5-trd-p1.grn:warmstro> dbx ../../git core
For information about new features see `help changes'
To remove this message, put `dbxenv suppress_startup_message 7.4' in your .dbxrc
Reading git
core file header read successfully
Reading ld.so.1
Reading libcurl.so.3.0.0
Reading libz.so.1
Reading libsocket.so.1
Reading libnsl.so.1
Reading libc.so.1
Reading libdl.so.1
Reading libmp.so.2
Reading libc_psr.so.1
program terminated by signal SEGV (no mapping at the fault address)
0xfefb46a4: strlen+0x0080:      ld       [%o1], %o2
Current function is report
   11           vsnprintf(msg, sizeof(msg), err, params);
(dbx) where
  [1] strlen(0x0, 0x0, 0xffbfed90, 0x7efefeff, 0x81010100, 0xff00), at
0xfefb46a4
  [2] _doprnt(0x279b08, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xff0078e8
  [3] vsnprintf(0xffbfee00, 0x100, 0x279b08, 0xffbff010, 0x66,
0xff02862c), at 0xff009958
=>[4] report(prefix = 0x2799ac "fatal: ", err = 0x279b08 "bad config
value for '%s' in %s", params = 0xffbff010), line 11 in "usage.c"
  [5] die_builtin(err = 0x279b08 "bad config value for '%s' in %s",
params = 0xffbff010), line 23 in "usage.c"
  [6] die(err = 0x279b08 "bad config value for '%s' in %s", ...), line
75 in "usage.c"
  [7] git_config_int(name = 0xffbff57e "bool.nobool", value =
0xffbff58a "foobar"), line 287 in "config.c"
  [8] git_config_bool(name = 0xffbff57e "bool.nobool", value =
0xffbff58a "foobar"), line 309 in "config.c"
  [9] normalize_value(key = 0xffbff57e "bool.nobool", value =
0xffbff58a "foobar"), line 158 in "builtin-config.c"
  [10] cmd_config(argc = 3, argv = 0xffbff3dc, prefix = (nil)), line
366 in "builtin-config.c"
  [11] run_command(p = 0x292380, argc = 4, argv = 0xffbff3d8), line
259 in "git.c"
  [12] handle_internal_command(argc = 4, argv = 0xffbff3d8), line 385 in "git.c"
  [13] main(argc = 4, argv = 0xffbff3d8), line 449 in "git.c"
(dbx)
(dbx) list
   11           vsnprintf(msg, sizeof(msg), err, params);
   12           fprintf(stderr, "%s%s\n", prefix, msg);
   13   }
   14
   15   static NORETURN void usage_builtin(const char *err)
   16   {
   17           fprintf(stderr, "usage: %s\n", err);
   18           exit(129);
   19   }
   20
(dbx)
Next: Jeff King
Message 1 of 2 in “Solaris test failure for git-1.5.4.4 -- t1300-repo-config.sh seg fault”
  1. Whit ArmstrongMar 11, 2008
  2. Jeff KingMar 11, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.