Bug#344481: Mysterious crash in php4-rrdtool
On Fri, Dec 23, 2005 at 02:44:21AM +0100, Artur R. Czechowski wrote: > On Thu, Dec 22, 2005 at 04:45:25PM -0800, Steve Langasek wrote: > > On Fri, Dec 23, 2005 at 01:09:31AM +0100, Artur R. Czechowski wrote: > > > The rrd_graph_options() gets a string with parameters. The begin if this > > > string is (at least in my case, but this is common value in rrdtools): > > > --start -2d > > > The rrd_graph_options calls getopt_long to split parameters into tokens. > > > You can see the code in rrdtool's sources, file rrd_graph.c, line 2965. > > > getopt_long reckognises the --start parameter correctly and, according to > > > struct option returns opt as s. But, for some strange reasons, it sets > > > optarg for NULL. > > Erm, don't you need to write --start=-2d if you want an optarg that begins > > with a hyphen? > No. The "s:" in optstring and 1 as a second value in {"start",1,0,'s'} always > makes next token a parameter. Ok. > > Anyway, I don't see where any of the other packages you've mentioned are > > providing a broken implementation of getopt_long. Shouldn't you check where > > this "broken" function is coming from, and file the bug there? > Wish I know how to do it. Simple grep in sources gives no results. > That's why it is so mysterious to me and I am asking for help at wider > auditorium. Break on rrd_graph_options, step into getopt_long, run bt to see what lib it says it's in. > Because only apache/php4(module) is a problematic combination I suspect > an apache. If it is sufficient for you I have no objections against > reassigning this bug to apache package. I'd rather see some analysis to show where the bug actually belongs instead of guessing and reassigning. -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. [EMAIL PROTECTED] http://www.debian.org/ signature.asc Description: Digital signature
Bug#344481: Mysterious crash in php4-rrdtool
On Thu, Dec 22, 2005 at 04:45:25PM -0800, Steve Langasek wrote: > On Fri, Dec 23, 2005 at 01:09:31AM +0100, Artur R. Czechowski wrote: > > The rrd_graph_options() gets a string with parameters. The begin if this > > string is (at least in my case, but this is common value in rrdtools): > > --start -2d > > The rrd_graph_options calls getopt_long to split parameters into tokens. > > You can see the code in rrdtool's sources, file rrd_graph.c, line 2965. > > getopt_long reckognises the --start parameter correctly and, according to > > struct option returns opt as s. But, for some strange reasons, it sets > > optarg for NULL. > Erm, don't you need to write --start=-2d if you want an optarg that begins > with a hyphen? No. The "s:" in optstring and 1 as a second value in {"start",1,0,'s'} always makes next token a parameter. Try to compile and run following example: #include #include struct option opt[] = { {"letter-a",1,0,'a'}, {"letter-b",1,0,'b'}, {0,0,0,0} }; int main(int argc,char **argv) { int idx,c; while((c=getopt_long(argc,argv,"a:b:",opt,&idx))!=EOF) printf("option: %c, optarg: %s\n",c,optarg); }; It gives: [EMAIL PROTECTED]:/tmp/g$ ./gol --letter-a -2d option: a, optarg: -2d [EMAIL PROTECTED]:/tmp/g$ ./gol -a -2d option: a, optarg: -2d > Anyway, I don't see where any of the other packages you've mentioned are > providing a broken implementation of getopt_long. Shouldn't you check where > this "broken" function is coming from, and file the bug there? Wish I know how to do it. Simple grep in sources gives no results. That's why it is so mysterious to me and I am asking for help at wider auditorium. Because only apache/php4(module) is a problematic combination I suspect an apache. If it is sufficient for you I have no objections against reassigning this bug to apache package. Best regards Artur -- here http://www.messagelabs.com/home/default.asp they say that spam is more than 50% of email... let's start some flames in -devel! * Beowulf writes something about Sarge not being released /from #debian-devel/ signature.asc Description: Digital signature
Processed: .
Processing commands for [EMAIL PROTECTED]: > reassign 344481 apache,php4,rrdtool,libc6 Bug#344481: php4-rrdtool: Use of RRD extensions (graph only?) causes Apache to segfault Bug reassigned from package `php4-rrdtool' to `apache,php4,rrdtool,libc6'. > thanks Stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
3 neue Kontaktanzeige(n) fuer Dich
1 Million neue Baeume fuer die Welt - jetzt dabeisein und sogar mitverdienen! http://email-partner.com/nlforestation.asp Hallo, hier kommt der Newsletter von http://email-partner.com/newsletter.asp mit neuen Anzeigen sortiert nach PLZ, die Deinen Suchkriterien entsprechen! Um sie zu lesen und zu beantworten, besuche bitte unseren Website und klicke auf 'Anzeigen lesen': - Erotik-/Hardcore-DVDs selbst brennen und hunderte heisse Videos downloaden mit FLATRATE zum Preis einer Kauf-CD! http://email-partner.com/nldvd.asp - >>> Angie, 23/165/schlank aus 701 Stuttgart (mit Foto) <<< (ohne finanzielle Interessen) WER MOECHTE MEIN LUSTGEFAEHRTE FUER AUSGEFALLENE ... ... Liebesspielchen sein? Stehe auf schnellen Sex und franzoesische Spielchen aber auch auf andere schoene Sachen die zu zweit Spass machen. Welcher nette Er hat Lust auf unkomplizierte Treffen mit mir? Ich freue mich sehr, wenn du dich bei mir ... >>> http://email-partner.com/newsletter.asp <<< >>> Isabel, 46/156/schlank aus 888 Friedrichshafen (mit Foto) <<< (mit finanziellen Interessen) ZUSEHEN UND DANN MITMACHEN...AUCH NS + ANAL Sehr elegantes, gutaussehendes Paar, Mitte 40, sehr gepflegt, sie ist eine naturgeile ganz rasierte Stute die es geniest von ihrem Partner und einem fremden Mann einfach hemmungslos durchgevoegelt zu werden auch gerne Anal. Sie blaest sehr gerne mehrere Schwaenze gleichzeitig und das bis zum Ende, PUR! Er geniest es ebenfalls, wenn seine geile Blasemaus richtig rangenommen wird. Auch geile NS Spiele Aktiv oder PassivReizt Dich das und ist es Dir ein nettes TG wert, fuer ein geiles und ... >>> http://email-partner.com/newsletter.asp <<< >>> Heidi, 20/165/weiblich aus 915 Ansbach (mit Foto) <<< (ohne finanzielle Interessen) HEISSBLUETIG UND ALLEIN Was soll ich gross schreiben?- Ich suche einen Mann der es versteht einer heissbluetigen Frau absolute Befriedigung zu verschaffen. Ich moechte Kuscheln, Schmusen, Sex in allen moeglichen Stellungen und Ortenbin fuer jeden guten Vorschlag zu haben! Na, Lust auf ein explosives Abenteuer was Du nie vergessen wirst?! Ich warte auf Deine Nachricht, ... >>> http://email-partner.com/newsletter.asp <<< -- Und ab in den Urlaub! Lastminute & Restplaetze superguenstig bei http://email-partner.com/urlaub.asp -- Passen die obigen Anzeigen zu Deinen Erwartungen? Wenn nein, dann besuche unseren Website nochmals und bestelle diesen Newsletter einfach mit anderen Kriterien neu! Diese gelten dann sofort fuer den naechsten Newsletter! Und Du siehst dabei ja dann auch gleich alle Anzeigen, nach denen Du gesucht hast. Also, dann viel Spass auf http://email-partner.com/newsletter.asp ! Liebe Gruesse Chris PS: Du erhaeltst diese automatisierte Mail, da auf unserem Website http://email-partner.com am 16.09.05 um 09:42:59 Uhr von der IP-Adresse 66.249.65.234 unser kostenfreier Newsletter fuer die Email-Adresse [EMAIL PROTECTED] abonniert wurde. Das Abonnement unseres Newsletters kannst Du jederzeit im Menuepunkt wieder abbestellen. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Disattivazione completata.
Grazie per aver utilizzato i servizi AMGI . L'indirizzo email [EMAIL PROTECTED] è stato inserito nella lista di esclusione (BlackList). Per riattivarlo clicca questo link: http://www2.amgi.it/mailing/mailing/[EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Attivazione completata ad AMGI informa
Grazie per aver utilizzato i servizi AMGI . L'utente è stato aggiunto con successo, codice utente: JG3JRDD9YEW6B3A6 . Password: 9NEC9J2D Codice Utente: JG3JRDD9YEW6B3A6 Indirizzo email: [EMAIL PROTECTED] ___ Per essere esclusi dalla mailing list cliccate sul Link sottostante *-- http://www2.amgi.it/mailing/mailing/[EMAIL PROTECTED] --* ___ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]