Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Feb 2014 20:00:01 GMT
From:      Sebastian Chmielewski <chmiels@o2.pl>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/186518: finance/ledger: segmentation fault
Message-ID:  <201402142000.s1EK01Gh030168@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/186518; it has been noted by GNATS.

From: Sebastian Chmielewski <chmiels@o2.pl>
To: Woody Carey <woodycarey@hotmail.com>, bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/186518: finance/ledger: segmentation fault
Date: Fri, 14 Feb 2014 20:50:16 +0100

 stack from binary package is not very interesting
 
 result of make WITH_DEBUG=yes and gdb on my system:
 
 gdb /usr/local/bin/ledger                   
 GNU gdb 6.1.1 [FreeBSD]                      
 Copyright 2004 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 "amd64-marcel-freebsd"...
 gdb$ r
 [New LWP 101771]
 [New Thread 802406400 (LWP 101771/ledger)]
 
 Program received signal SIGILL, Illegal instruction.
 [Switching to Thread 802406400 (LWP 101771/ledger)]
 Error while running hook_stop:
 Invalid type combination in ordering comparison.
 0x000000000042c1fb in ledger::amount_t::parse (this=0x7fffffffb200, str=@0x7fffffffb1c8, flags=0x2) at amount.cc:1226
 1226	  parse(stream, flags);
 gdb$ bt
 #0  0x000000000042c1fb in ledger::amount_t::parse (this=0x7fffffffb200, str=@0x7fffffffb1c8, flags=0x2) at amount.cc:1226
 #1  0x000000000042d1a0 in ledger::parse_conversion (larger_str=@0x7fffffffb488, smaller_str=@0x7fffffffb470) at amount.cc:1234
 #2  0x0000000000443b25 in _init_amounts (this=0x791e10) at amount.cc:91
 #3  0x0000000000433495 in _init_amounts (this=0x791e10) at amount.cc:103
 #4  0x0000000000421065 in __cxx_global_var_init3 () at amount.cc:126
 #5  0x00000000004333f8 in global constructors keyed to a () at amount.cc:33
 #6  0x00000000005516a2 in __do_global_ctors_aux ()
 #7  0x0000000000404de6 in _init ()
 #8  0x00007fffffffbb90 in ?? ()
 #9  0x0000000800794691 in r_debug_state () from /libexec/ld-elf.so.1
 #10 0x0000000800793d27 in __tls_get_addr () from /libexec/ld-elf.so.1
 #11 0x0000000800792089 in .text () from /libexec/ld-elf.so.1
 #12 0x0000000000000000 in ?? ()
 gdb$ 
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402142000.s1EK01Gh030168>