Article View: gnu.gdb.bug
Article #1056gdb crashing with segmentation fault - snow leopard
From: yoni shalom
Date: Tue, 22 Dec 2009 15:03
Date: Tue, 22 Dec 2009 15:03
54 lines
4760 bytes
4760 bytes
--00c09fa004c22a36ce047b528352 Content-Type: text/plain; charset=UTF-8 I have a mac application, and every time I try to attach to it I get the following output : http://pastebin.com/f32400775 I tried debugging the debugger and the crash has the following stack trace (seen from the external gdb) : http://pastebin.com/f6a1d9b68 When breaking at the crashing function bundle_basename() just before the crash, the argument passed seemed to be correct (the file name of my executable). It will be a bit hard for me to supply the executable itself since it is part of a large application with many dependencies, but I'm trying to reproduce with a test case. I'm using gdb 6.3.50-20050815 (Apple version gdb-1346) on snow leopard version 10.6.1. regards, Yoni. --00c09fa004c22a36ce047b528352 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><span class=3D"Apple-style-span" style=3D"font-family: ari= al, sans-serif; font-size: 13px; border-collapse: collapse; color: rgb(2, 1= 9, 36); white-space: pre; -webkit-border-horizontal-spacing: 2px; -webkit-b= order-vertical-spacing: 2px; "> I have a mac application, and every time I = try to attach to it I get the following output :</span><div> <font class=3D"Apple-style-span" color=3D"#021324" face=3D"arial, sans-seri= f"><span class=3D"Apple-style-span" style=3D"border-collapse: collapse; whi= te-space: pre; -webkit-border-horizontal-spacing: 2px; -webkit-border-verti= cal-spacing: 2px;"><div> <a href=3D"http://pastebin.com/f32400775">http://pastebin.com/f32400775</a>= </div><div><br></div><div>I tried debugging the debugger and the crash has = the following stack trace (seen from the external gdb) :</div><div><a href= =3D"http://pastebin.com/f6a1d9b68">http://pastebin.com/f6a1d9b68</a></div> <div><br></div><div>When breaking at the crashing function bundle_basename(= ) just before the crash, the argument passed seemed to be correct (the file= name of my executable).</div><div><br></div><div>It will be a bit hard for= me to supply the executable itself since it is part of a large application= with many dependencies, but I'm trying to reproduce with a test case.<= /div> <div><br></div><div>I'm using gdb 6.3.50-20050815 (Apple version gdb-1= 346) on snow leopard version 10.6.1.</div><div><br></div><div>regards,=C2= =A0</div><div>Yoni.</div><div><br></div><div><br></div></span></font></div>= </div> --00c09fa004c22a36ce047b528352--
Technical Details
Message-ID:
<mailman.0.1261502261.18930.bug-gdb@gnu.org>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!usenet.stanford.edu!news.stanford.edu!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: f0ead4270c,a50a7f21131031,start X-Google-Attributes: gidf0ead4270c,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!usenet.stanford.edu!news.stanford.edu!not-for-mail From: yoni shalom <silver83@gmail.com> Newsgroups: gnu.gdb.bug Subject: gdb crashing with segmentation fault - snow leopard Date: Tue, 22 Dec 2009 17:03:44 +0200 Lines: 56 Approved: bug-gdb@gnu.org Message-ID: <mailman.0.1261502261.18930.bug-gdb@gnu.org> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=00c09fa004c22a36ce047b528352 X-Trace: news.stanford.edu 1261502263 21814 199.232.76.165 (22 Dec 2009 17:17:43 GMT) X-Complaints-To: news@news.stanford.edu To: bug-gdb@gnu.org Envelope-to: bug-gdb@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=blLNPqLx5PXrmuWf1PzoWXj2b8BSyYgUpjKzr9E/oHg=; b=gyTznoFhetbEfwxziBDMnjJHnyp9NvsUcKiq+dwx+NaJUKewEt9GL8hLco9/d7whaG YqIQMpuOtn3YmadF0n7W0nX2CB3zGrnaPq6hwXhxfSDE5BGw8RgKzdXX7/OX4h+c9IFr p0zT62iZW6Cq7MZR6WIAUELRWUGjAgkJz74Sc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=DTAf6Ch9WpiSHnPavm69M3JJtF2m+YQ7cWy7FzbPYHnnf3pafkIvm91mFJNcZlkaoA +Z3f5UT3okba8RLY0/7bd00UPs6Yby98b37WOdMp5nQA/DU0bj4pJcw2G6VqvWaNbpKa yJ1+FJ2Tf3DbzGqhxvfsHcjq4KXQV5fcOJnsQ= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Tue, 22 Dec 2009 12:17:40 -0500 X-BeenThere: bug-gdb@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GDB, the GNU debugger" <bug-gdb.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-gdb>, <mailto:bug-gdb-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/bug-gdb> List-Post: <mailto:bug-gdb@gnu.org> List-Help: <mailto:bug-gdb-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-gdb>, <mailto:bug-gdb-request@gnu.org?subject=subscribe>