revolution crash on revdatafromquery on 3.0 mac os x

Andre Garzia andre at andregarzia.com
Wed Nov 5 15:00:46 EST 2008


Mark,

Thanks for the reply. I know I am one of those guys that keep trying
to do complicated stuff with the engine but in this case I was doing
the most standard thing ever. I opened a connection to a remote MySQL
server at dreamhost, it returned an id as expected and then issued a
simple revdatafromquery call and it broke. After repeating this five
times, I decided to launch from the console to see if something worthy
appeared there and glued the output here.

Two lines only, one opens the database, another one calls... and it explodes.
(MySQL params are right and accounted for)

Any clue?

Andre

On Wed, Nov 5, 2008 at 5:24 PM, Mark Wieder <mwieder at ahsoftware.net> wrote:
> Andre-
>
> Monday, November 3, 2008, 2:38:03 PM, you wrote:
>
>> Hello Friends,
>
>> can anyone confirms that RevDataFromQuery works with MySQL in Mac OS X
>> with Rev 3.0?
>
>> Here is crashes rev, no error... just crash...
>
>> Terminal capture says:
>
>> dyld: lazy symbol binding failed: image not found for lazy pointer at 0x15b952cb
>> dyld: image not found for lazy pointer at 0x15b952cb
>> Trace/BPT trap
>
>> Which doesn't really help...
>
> Actually, it's a fair amount of help. What in the world are you trying
> to do? If you've gotten as far as a call to revDataFromQuery (opened a
> connection to the database, etc.) then you've linked to the MySQL
> external properly, so that's probably not the problem. It sounds like
> you're doing something more complicated than just a simple call to a
> function in the db library.
>
> A dyld error is a failure to find a library at runtime. The compiler
> produces a stub for external libraries, and this is resolved at
> runtime by the dynamic loader (usually a call to dlopen). If the stub
> (the lazy pointer) can't be resolved (the dynamic loader binds a
> pointer to the library in place of the stub) then you get that error
> message. So if any db functions are working, this doesn't sound like a
> problem finding the db external library.
>
> If it helps any, the library search path priority is supposed to be:
>
> $DYLD_LIBRARY_PATH
> the given pathname
> $DYLD_FALLBACK_LIBRARY_PATH
>
> This might help some:
>
> http://developer.apple.com/documentation/DeveloperTools/Reference/MachOReference/Reference/reference.html#//apple_ref/c/func/dyld_stub_binding_helper
>
> --
> -Mark Wieder
>  mwieder at ahsoftware.net
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



-- 
http://www.andregarzia.com All We Do Is Code.



More information about the use-livecode mailing list