Writings Photos Code Contact Resume
Blogs

You are here

The 1st katoob 0.3.8 bug report.

Submitted by msameer on Tue, 14/12/2004 - 4:33am

Oh
Here's the stack trace, It's not that helpful as you can see. :-(

Katoob version: 0.3.8
Compiled in features: PRINT NEW_SPELL

(no debugging symbols found)...Using host libthread_db library
"/lib/libthread_db.so.1".
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...0x40711ab8
in read () from /lib/libc.so.6
#0 0x40711ab8 in read () from /lib/libc.so.6
#1 0x40777620 in ?? () from /lib/libc.so.6
#2 0x406b327b in _IO_file_read () from /lib/libc.so.6
#3 0x406b201b in _IO_file_underflow () from /lib/libc.so.6
#4 0x406b434d in _IO_default_uflow () from /lib/libc.so.6
#5 0x406b417e in __uflow () from /lib/libc.so.6
#6 0x406a8dc8 in _IO_getline_info () from /lib/libc.so.6
#7 0x406a8cc1 in _IO_getline () from /lib/libc.so.6
#8 0x406a7cdf in fgets () from /lib/libc.so.6
#9 0x080589dd in katoob_init_debug ()
#10
#11 0x406bc820 in strcmp () from /lib/libc.so.6
#12 0x0805a3cf in katoob_encodings_get_by_name ()
#13 0x0805a2fe in encodings_init ()
#14 0x0805d371 in main ()

It seems that katoob_encodings_get_by_name() is not playing fine with strcmp()!

I thought that this release is/was stable. That's the 1st serious bug report I get, I'm used to dozen when 0.3.5 was the one ;-)


Help me, RMS; you're my only hope.

Submitted by msameer on Tue, 14/12/2004 - 4:21am

Yesterday I've emailed RMS personally about what to do against xchat.
Trying to convince Peter failed, And he isn't replying to my emails anymore.
Yes the guy removed the patch, And I really feel it's a missing feature though it wasn't a big feature anyway. Maybe I should post it here so other distros might add it.
But It really hurts me that I helped a project violating the GPL to evolve.
Anyway, Talking with the FSF license violations guys lead to talking about trying to enforce the GPL by law and so.
In Egypt IMHO it's very hard or almost impossible to do something like this.
I really don't know what to do, So I've asked RMS whether this thing really matters, If he tells me to ignore the whole thing, I'll do it for the sake of the GNU, He knows more than I do regarding this case.
The problem now is that I need a graphical IRC client, And I don't like all of the KDE clients out there. I think I should try to free sometime and work more on my own GTK IRC client, It's currently an incomplete IRC handling library with a broken GUI.


Fixed the wrong number of comments.

Submitted by msameer on Tue, 14/12/2004 - 4:01am

After fixing the spam.module, I used this code to fix the wrong statistics.

<?php
$result
= db_query("select * from node_comment_statistics");
while (
$node = db_fetch_object($result))
{
echo
"Manipulating node: ";
echo
"$node->nid";
_comment_update_node_statistics($node->nid);
echo
"<br />";
}
?>

I've posted it on the drupal forum.


I really want this job...

Submitted by msameer on Sun, 12/12/2004 - 7:53pm

The Frss Software Foundation is seeking a Senior GNU/Linux Systems Administrator and Programmer.
Damn, I can even pay them to get this job, I'd be really honored!
Imagine working for the free software foundation, With the guys behind the free software movement and the GNU project! This is the coolest thing on earth.
Anyway, I'm not even thinking about sending my CV, I'm not crazy :'(


SPAM Everywhere

Submitted by msameer on Sun, 12/12/2004 - 5:03am

I'm not supposed to like it when I find that some assholes wrote a script to spam my website with comments about online poker, casino and roulette!
I installed drupal spam.module from the CVS and patched the comments module so I can mass delete/unpublish/mark as SPAM the ~13 pages generated by this script "Thanks grohk from #drupal-support @ irc.freenode.org"
Everything is fine now, I piped the +800 comments to the spam filter. Doing fine.
The only problem now is that it seems that it broke the statistics module somehow, It's saying that I have more comments than what I really have. Let's see what can be done for this!
The only problem is that the spam module is not updating the number of comments for a node correctly after unpublishing it, After a long discussion with grohk again, We came up with a theory, I submitted an issue explaining the theory, Anyway despite the fact that i'll be killed for such a bug report, I'll be writing a script to correct the number of comments after the spam module gets a fix!


none of the 3d drivers support suspend/resume.

Submitted by msameer on Thu, 09/12/2004 - 12:06am

I wish I'd found this email long ago.
> after a software suspend/resume cycle, running glxgears emits the following error msgs and quits:
With the semi-exception of the radeon driver, none of the 3d drivers support suspend/resume.

I was about to start digging and playing with the kernel code, I even started to unload/reload the DRI/DRM modules after resuming.
Now I know it's not a specific problem to me, And I've reverted back to using APM.


Scratching my head with a knife.

Submitted by msameer on Mon, 06/12/2004 - 4:57pm
Imagine writing this:
for i in *; do echo mv $i \"`echo $i | cut -d - -f 3 | tr _ " "`.mp3\"; done | sed s/\(/\\\\\(/g | sed s/\)/\\\\\)/g

To get this output:
mv 01-backstreet_boys-everybody_\(backstreets_back\)-bul.mp3 "everybody \(backstreets back\).mp3"
mv 02-backstreet_boys-weve_got_goin_on-bul.mp3 "weve got goin on.mp3"
mv 03-backstreet_boys-get_down_\(youre_the_one_for_me\)-bul.mp3 "get down \(youre the one for me\).mp3"
mv 04-backstreet_boys-as_long_as_you_love_me-bul.mp3 "as long as you love me.mp3"
mv 05-backstreet_boys-quit_playin_games_\(with_my_heart\)-bul.mp3 "quit playin games \(with my heart\).mp3"
mv 06-backstreet_boys-ill_never_break_your_heart-bul.mp3 "ill never break your heart.mp3"
mv 07-backstreet_boys-thats_the_way_i_like_it-bul.mp3 "thats the way i like it.mp3"
mv 08-backstreet_boys-hay_mr._dj_\(keep_playin_this_song\)-bul.mp3 "hay mr. dj \(keep playin this song\).mp3"
mv 09-backstreet_boys-if_you_want_to_be_a_good_girl-bul.mp3 "if you want to be a good girl.mp3"
mv 10-backstreet_boys-i_wanna_be_with_you-bul.mp3 "i wanna be with you.mp3"
mv 11-backstreet_boys-anywhere_for_you-bul.mp3 "anywhere for you.mp3"
mv 12-backstreet_boys-all_i_have_to_give-bul.mp3 "all i have to give.mp3"
mv 13-backstreet_boys-10_000_promises-bul.mp3 "10 000 promises.mp3"
mv 14-backstreet_boys-boys_will_be_boys-bul.mp3 "boys will be boys.mp3"
mv 15-backstreet_boys-lets_have_a_party-bul.mp3 "lets have a party.mp3"
mv 16-backstreet_boys-like_a_child-bul.mp3 "like a child.mp3"
mv 17-backstreet_boys-if_i_dont_have_you-bul.mp3 "if i dont have you.mp3"

After verifying that everything is OK, pipe the command output to bash:
for i in *; do echo mv $i \"`echo $i | cut -d - -f 3 | tr _ " "`.mp3\"; done | sed s/\(/\\\\\(/g | sed s/\)/\\\\\)/g | bash

Cool, You've got a directory renamed!
I usually do this trick, I don't know why am I posting it this time!

Anyway, Any idea why I have to use s/\(/\\\\\(/ ?

The Egyptian Blog Ring

Submitted by msameer on Sun, 05/12/2004 - 8:11am

A few hours ago, I was configuring awstats on my home server, So I can see what are the visitors doing.
I decided to have a look at folab stats too, And I found The Egyptian Blog Ring was one of the referrers. Alaa's and Youssef's blogs were there too!
Maybe we need a planet egypt too ?


I like this.

Submitted by msameer on Sat, 04/12/2004 - 12:57pm
I don't give a fuck whether this is correct or not, I love star wars!

Which Fantasy/SciFi Character Are You?

Princess Leia:
A strong-willed herald of causes against injustice, you passionately strive to right the wrongs around you.
Somebody has to save our skins!
Leia is a character in the Star Wars universe. See her character entry at the Star Wars Databank for more information.

The last few days.

Submitted by msameer on Sat, 04/12/2004 - 11:29am

I've been busy the last few days since I gave the debugging session, I didn't publish anything about it, I didn't even add the photos yet, I'll do this soon.
I've been busy writing a files upload/download module for drupal, The one I'm using here is deprecated and I wasn't support to port it to drupal 4.5 API and continue using it, But I had no time to migrate.
Anyway since I don't like any of the available modules, I wrote mine, I haven't published the code yet as I'm still testing it and fine tweaking it. But it should be here after a day or two.
Oh, And I've just upgraded to drupal 4.5.1!


Pages