On Sun, Apr 08, 2012 at 01:21:27PM +0200, Robert Grimm wrote:
> tags 667998 moreinfo unreproducible
> thanks
>
> I have this running on i386 (virtual) and amd64 without problems.
>
> Can you please try to get a backtrace with an unstripped build?
>
> e.g.
> $ DEB_BUILD_OPTIONS="nostrip" apt-get -b source leafnode
> $ sudo (or whatever you use to become root) dpkg -i leafnode_1.11.8-2_i386.deb
Here's what I'm getting for a non-stripped debug build with -O0:
(gdb) bt
#0 0x00007ffff7898b61 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007ffff7898876 in strdup () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x00000000004119b6 in is_validfqdn (f=<optimized out>) at validatefqdn.c:68
#3 0x0000000000410309 in whoami () at miscutil.c:514
#4 initvars (progname=0x7fffffffee96 "/usr/sbin/fetchnews") at miscutil.c:203
#5 0x0000000000403507 in main (argc=1, argv=0x7fffffffecb8) at fetchnews.c:2326
This fails since p->ai_canonname is empty:
514 if (is_validfqdn(p->ai_canonname)) {
(gdb) p->ai_canonname
Undefined command: "p->ai_canonname". Try "help".
(gdb) print p->ai_canonname
$2 = 0x0
Cheers,
Moritz
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]