FileSelectionDialog segfaults

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

2 posts / 0 new
Last post
FileSelectionDialog segfaults

Submitted by Anonymous on Wed, 01/03/2001 - 04:55. Developers
System SuSE Linux 7.0 with glibc 2.1, XFree 4, OpenMotif 2.1.30. After changing directories several times in a file selection dialog, I occasionally get the stderr message "regexp(3) unmatched ()", followed by a bunch of "regexp(3) corrupted program" messages, after which the application segfaults in some Motif library routine. The segfaults apparently occur at random, but can be produced easily. Is this a known bug? Incompatibility? Any workarounds?

TIA, Albert Graef

Anonymous

Well, I think I found it myself... Just in case anyone else stumbles across this It appears that the Motif libs are linked against the system`s regexp libraries, but the application I tested incorporates its own regexp version which is not compatible. So the file selection dialog picks up the wrong regexp routines and dumps core. Nice one. )