Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

RE: RE: Other programming language I most often use

by pope (Friar)
on Oct 25, 2000 at 13:29 UTC ( #38311=note: print w/replies, xml ) Need Help??


in reply to RE: Other programming language I most often use
in thread Other programming language I most often use

This is a common symptom if the argument marshalling goes wrong.
Wrap C routines into a library, and link it to a C driver which calls the routines. And it executes without any problem.
But using the same library, write the required glue XS code, then link it together to create a shared module. Load the module and call the function. Coredump.
  • Comment on RE: RE: Other programming language I most often use

Replies are listed 'Best First'.
RE: RE: RE: Other programming language I most often use
by extremely (Priest) on Oct 25, 2000 at 14:25 UTC
    Oooh that does sound nasty, my mistake was much nastier...
    double *result = NULL; /* oops did I null the pointer or what it pointed too? =P */

    Very sad that I spent a day of my life debugging good code because I felt the need to initialize my pointers. (That will teach me to never initialize anything in C *laugh* <--- not serious, I'm not using C any more... =)

    --
    $you = new YOU;
    honk() if $you->love(perl)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://38311]
help
Chatterbox?
[Corion]: Discipulus: Yeah, from my investigations, you can somewhat silence+disable Cortana, but some services of it remain always running unfortunately. What a waste of resources :-/
[Corion]: I hope you had a good weekend still ;)
choroba had a workshop with the band
[choroba]: which counts as a good weekend
[Discipulus]: yes, (at least until Sun afternoon...): Saturday we got splendid birthday party in a park: lot of eat, drink and children amusement: bag running, magnetic fishing, rope and that big pot full of candies to smash with a club

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2017-09-25 08:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (277 votes). Check out past polls.

    Notices?