Today, that is 6 years after initial report ;)
here are the detail when running with git from current master
v2.4.0-53-g8440f74
Starting program: /home/yoh/proj/misc/git/git push origin master
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
0x000000000046de8d in map_refspec (ref=0x7fffffffe10a "master",
remote=0x863810, local_refs=0x86c260) at builtin/push.c:63
63 if (branch->merge_nr == 1 && branch->merge[0]->src) {
(gdb) print branch
$1 = (struct branch *) 0x83dba0
(gdb) print (branch->merge_nr)
$2 = 1
(gdb) print (branch->merge[0]->src)
Cannot access memory at address 0x0
*(gdb) print (branch->merge[0])
Cannot access memory at address 0x0
*(gdb) print (branch->merge)
$3 = (struct refspec **) 0x0
when I added a remote for that (origin) branch -- push went fine.
--
Yaroslav O. Halchenko, Ph.D.
http://neuro.debian.net http://www.pymvpa.org http://www.fail2ban.org
Research Scientist, Psychological and Brain Sciences Dept.
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419
WWW: http://www.linkedin.com/in/yarik
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]