* Solaris test failure for git-1.5.4.4 -- t1300-repo-config.sh seg fault
@ 2008-03-11 18:06 Whit Armstrong
2008-03-11 18:14 ` Jeff King
0 siblings, 1 reply; 2+ messages in thread
From: Whit Armstrong @ 2008-03-11 18:06 UTC (permalink / raw)
To: git
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)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Solaris test failure for git-1.5.4.4 -- t1300-repo-config.sh seg fault
2008-03-11 18:06 Solaris test failure for git-1.5.4.4 -- t1300-repo-config.sh seg fault Whit Armstrong
@ 2008-03-11 18:14 ` Jeff King
0 siblings, 0 replies; 2+ messages in thread
From: Jeff King @ 2008-03-11 18:14 UTC (permalink / raw)
To: Whit Armstrong; +Cc: git
On Tue, Mar 11, 2008 at 02:06:54PM -0400, Whit Armstrong wrote:
> * 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)
IIRC, I already fixed this in c1867cea, which is in master but not
v1.5.4.4.
I think this was one of several Solaris fixes that I posted a while ago,
and the others are probably just in master, too. If you are going to try
to run the testsuite, please try with the current 'master'.
-Peff
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-03-11 18:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-11 18:06 Solaris test failure for git-1.5.4.4 -- t1300-repo-config.sh seg fault Whit Armstrong
2008-03-11 18:14 ` Jeff King
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).