linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Martin Buchan <M.J.Buchan@gre.ac.uk>
To: linux-c-programming@vger.kernel.org
Cc: Chris Nanakos <nanakos@wired-net.gr>
Subject: Re: segfault with strdup
Date: Tue, 20 May 2003 14:12:54 +0100	[thread overview]
Message-ID: <20030520131254.GC674@gre.ac.uk> (raw)
In-Reply-To: <002d01c31ecb$8c947600$852005d5@carlos>

On Tue, May 20, 2003 at 03:25:31PM +0300, Chris Nanakos wrote:
> Can you send the source code???
> 

Here is an excerpt from the XML file as well so you can see what im
dealing with. (Althyough, i dont think it is a libxml problem going
by the errors given back by ddd)


<?xml version="1.0"?>
 <root>
   <newterm name="New Terminal">
     <termxpm>terminal.xpm</termxpm>
     <termcmd>rxvt -fn 6x13 -sb -sl 1000 -T Unix@CMS</termcmd>
   </newterm>
   <section name="Internet">
     <xpm>browsers.xpm</xpm>
     <submenu name="Web Browsers">
       <app name="Mozilla Web Broswer">
         <command>mozilla http://unix.cms.gre.ac.uk</command>
       </app>
     </submenu>
   </section>
   <section name="Internet">
     <xpm>browsers.xpm</xpm>
     <submenu name="Web Browsers">
       <app name="Netscape Navigator">
         <command>netscape http://unix.cms.gre.ac.uk</command>
       </app>
     </submenu>
   </section>
   <section name="Internet">
     <xpm>browsers.xpm</xpm>
     <submenu name="Web Browsers">
       <app name="Lynx Text Only Browser">
         <command>rxvt -fn 6x13 -e lynx http://unix.cms.gre.ac.uk</command>
       </app>
     </submenu>
   </section>
  
<...snipped...>
  
  
It fails on "Netscape Navigator" when i install to a different directory than 
/home/bm98/prg/gtk-menu/current

If i change it to Netscape, it then works but fails on "Lynx Text Only Browser" and so on.

However, it all works if i run it in /home/bm98/prg/gtk-menu/current

Martin

  parent reply	other threads:[~2003-05-20 13:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-20 11:20 segfault with strdup Martin Buchan
2003-05-20 12:25 ` Chris Nanakos
2003-05-20 12:46   ` Martin Buchan
2003-05-20 13:12   ` Martin Buchan [this message]
     [not found] ` <200305201316.h4KDGUhG007842@grinch.txt.com>
2003-05-20 13:52   ` Martin Buchan
2003-05-20 16:32 ` Glynn Clements
2003-05-21  9:50   ` Martin Buchan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030520131254.GC674@gre.ac.uk \
    --to=m.j.buchan@gre.ac.uk \
    --cc=linux-c-programming@vger.kernel.org \
    --cc=nanakos@wired-net.gr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).