looks like uninitialized data.  try changing lines
1659 + 1660 to look like this:

flags_init(int *argc, char ***argv) {
   char *arg0 = (*argv)[0];
   char *bracket_begin = 0;
   char *bracket_end = 0;


Paul Brossier wrote:

On Tue, Jul 12, 2005 at 01:58:17PM -0700, [EMAIL PROTECTED] wrote:
thanks for letting me know.
i don't have a powerpc either.
paul, if you can compile from source
and reproduce the crash and email me
the trace, perhaps we can debug remotely.
best, -spot

after compiling with the package with nostrip:

$ ulimit -c unlimited

$ electricsheep
Segmentation fault (core dumped)

$ gdb electricsheep core
GNU gdb 6.3-debian
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 "powerpc-linux"...Using host libthread_db library 
"/lib/libthread_db.so.1".

Core was generated by `electricsheep'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libexpat.so.1...done.
Loaded symbols for /usr/lib/libexpat.so.1
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld.so.1...done.
Loaded symbols for /lib/ld.so.1
#0 0x10004134 in parse_bracket (arg=0x1 <Address 0x1 out of bounds>, bracket_id=0x1001f9b4, bracket_time=0x1001f9ac) at electricsheep.c:1567
1567      if (0 == arg || 0 == arg[0]) return;

hope this helps,

cheers, piem

Alexis Sukrieh wrote:

Hi.

Below is a bug report submitted to the Debina Bug Tracking System agains
the electricsheep package, version 2.6.2-1.

Unfortunately, a segfault occurs on powerpc architecture, and I don't
have such a thing for debugging...

----- Forwarded message from Paul Brossier <[EMAIL PROTECTED]> -----

Subject: Bug#318003: electricsheep: segfaults on powerpc
Date: Tue, 12 Jul 2005 21:12:28 +0100
From: Paul Brossier <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Reply-To: Paul Brossier <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Mailer: reportbug 3.15

Package: electricsheep
Version: 2.6.2-1
Severity: grave
Justification: renders package unusable

i just updated to the last electricsheep package. before i got something
along the lines of 'cannot resolve v32.electricsheep.net'. now it
segfaults:

$ electricsheep
Segmentation fault (core dumped)

the output of gdb is not very helpful since the debugging symbols are
stripped:

Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/ld.so.1
#0  0x10004134 in ?? ()

cheers, piem


-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-rc5-powerpc
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages electricsheep depends on:
ii curl 7.14.0-2 Get a file from an HTTP, HTTPS, FT ii debconf 1.4.52 Debian configuration management sy ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an ii libexpat1 1.95.8-3 XML parsing C library - runtime li
ii  libice6                  4.3.0.dfsg.1-14 Inter-Client Exchange library
ii libjpeg-progs 6b-10 Programs for manipulating JPEG fil ii libjpeg62 6b-10 The Independent JPEG Group's JPEG ii libpng12-0 1.2.8rel-1 PNG library - runtime ii libsm6 4.3.0.dfsg.1-14 X Window System Session Management ii libx11-6 4.3.0.dfsg.1-14 X Window System protocol client li ii libxext6 4.3.0.dfsg.1-14 X Window System miscellaneous exte ii libxv1 4.3.0.dfsg.1-14 X Window System video extension li ii xlibs 4.3.0.dfsg.1-14 X Keyboard Extension (XKB) configu
ii  xloadimage               4.1-14.2        Graphics file viewer under X11
ii  zlib1g                   1:1.2.2-8       compression library - runtime

electricsheep recommends no packages.

-- no debconf information

----- End forwarded message -----







--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to