{"thread":{"id":"12640","subject":"Solaris test failure for git-1.5.4.4 -- t1300-repo-config.sh seg fault","startedAt":"2008-03-11T18:06:54Z","lastAt":"2008-03-11T18:14:43Z","messageCount":2,"participants":["Whit Armstrong","Jeff King"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"71746","messageId":"8ec76080803111106w26e074eal35915ec634816cc7@mail.gmail.com","threadId":"12640","inReplyTo":null,"subject":"Solaris test failure for git-1.5.4.4 -- t1300-repo-config.sh seg fault","fromName":"Whit Armstrong","fromEmail":"armstrong.whit@gmail.com","sentAt":"2008-03-11T18:06:54Z","receivedAt":"2008-03-11T18:06:54Z","isPatch":false,"sender":{"key":"armstrong.whit@gmail.com","avatar":"https://gravatar.com/avatar/3977f2e287db4d4de47839714313edee1222fa9d68677e1de922ec243da4b77d?d=mp&s=160"},"body":"xs5-trd-p1.grn:warmstro> uname -a\nSunOS xs5-trd-p1.grn.tudor.com 5.9 Generic_118558-38 sun4u sparc\nSUNW,Sun-Fire-V240 Solaris\n\n\nfrom:  bash t1300-repo-config.sh -v -i\n\n* expecting failure:\n\n        git config bool.nobool foobar &&\n        git config --bool --get bool.nobool\nfatal: bad config value for 'bool.nobool' in .git/config\n*   ok 60: invalid bool (--get)\n\n* expecting failure:\n\n        git config --bool bool.nobool foobar\nt1300-repo-config.sh: line -186:   319 Segmentation Fault      (core\ndumped) git config --bool bool.nobool foobar\n* FAIL 61: invalid bool (set)\n\n\n                git config --bool bool.nobool foobar\nxs5-trd-p1.grn:warmstro>\n\n\nand the core file:\n\nxs5-trd-p1.grn:warmstro> pwd\n/home/warmstro/download/solaris/git-1.5.4.4/t/trash\nxs5-trd-p1.grn:warmstro> dbx ../../git core\nFor information about new features see `help changes'\nTo remove this message, put `dbxenv suppress_startup_message 7.4' in your .dbxrc\nReading git\ncore file header read successfully\nReading ld.so.1\nReading libcurl.so.3.0.0\nReading libz.so.1\nReading libsocket.so.1\nReading libnsl.so.1\nReading libc.so.1\nReading libdl.so.1\nReading libmp.so.2\nReading libc_psr.so.1\nprogram terminated by signal SEGV (no mapping at the fault address)\n0xfefb46a4: strlen+0x0080:      ld       [%o1], %o2\nCurrent function is report\n   11           vsnprintf(msg, sizeof(msg), err, params);\n(dbx) where\n  [1] strlen(0x0, 0x0, 0xffbfed90, 0x7efefeff, 0x81010100, 0xff00), at\n0xfefb46a4\n  [2] _doprnt(0x279b08, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xff0078e8\n  [3] vsnprintf(0xffbfee00, 0x100, 0x279b08, 0xffbff010, 0x66,\n0xff02862c), at 0xff009958\n=>[4] report(prefix = 0x2799ac \"fatal: \", err = 0x279b08 \"bad config\nvalue for '%s' in %s\", params = 0xffbff010), line 11 in \"usage.c\"\n  [5] die_builtin(err = 0x279b08 \"bad config value for '%s' in %s\",\nparams = 0xffbff010), line 23 in \"usage.c\"\n  [6] die(err = 0x279b08 \"bad config value for '%s' in %s\", ...), line\n75 in \"usage.c\"\n  [7] git_config_int(name = 0xffbff57e \"bool.nobool\", value =\n0xffbff58a \"foobar\"), line 287 in \"config.c\"\n  [8] git_config_bool(name = 0xffbff57e \"bool.nobool\", value =\n0xffbff58a \"foobar\"), line 309 in \"config.c\"\n  [9] normalize_value(key = 0xffbff57e \"bool.nobool\", value =\n0xffbff58a \"foobar\"), line 158 in \"builtin-config.c\"\n  [10] cmd_config(argc = 3, argv = 0xffbff3dc, prefix = (nil)), line\n366 in \"builtin-config.c\"\n  [11] run_command(p = 0x292380, argc = 4, argv = 0xffbff3d8), line\n259 in \"git.c\"\n  [12] handle_internal_command(argc = 4, argv = 0xffbff3d8), line 385 in \"git.c\"\n  [13] main(argc = 4, argv = 0xffbff3d8), line 449 in \"git.c\"\n(dbx)\n(dbx) list\n   11           vsnprintf(msg, sizeof(msg), err, params);\n   12           fprintf(stderr, \"%s%s\\n\", prefix, msg);\n   13   }\n   14\n   15   static NORETURN void usage_builtin(const char *err)\n   16   {\n   17           fprintf(stderr, \"usage: %s\\n\", err);\n   18           exit(129);\n   19   }\n   20\n(dbx)\n"},{"id":"71747","messageId":"20080311181443.GA16196@sigill.intra.peff.net","threadId":"12640","inReplyTo":"8ec76080803111106w26e074eal35915ec634816cc7@mail.gmail.com","subject":"Re: Solaris test failure for git-1.5.4.4 -- t1300-repo-config.sh seg fault","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2008-03-11T18:14:43Z","receivedAt":"2008-03-11T18:14:43Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Tue, Mar 11, 2008 at 02:06:54PM -0400, Whit Armstrong wrote:\n\n> * expecting failure:\n> \n>         git config --bool bool.nobool foobar\n> t1300-repo-config.sh: line -186:   319 Segmentation Fault      (core\n> dumped) git config --bool bool.nobool foobar\n> * FAIL 61: invalid bool (set)\n\nIIRC, I already fixed this in c1867cea, which is in master but not\nv1.5.4.4.\n\nI think this was one of several Solaris fixes that I posted a while ago,\nand the others are probably just in master, too. If you are going to try\nto run the testsuite, please try with the current 'master'.\n\n-Peff\n"}]}