Motif library v4.0.4 causes segfault in legacy app
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
motif (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Our group develops an X application that uses the Motif Library (package libxm4 v2.3.4-5). It appears that in the latest version of libXm.4.0.4 on Trusty (14.04), on certain types of X events, it causes a segfault. I've isolated this to a particular version of the library and OS rev. Our application works fine for OS older than 14.04, ie 12.04 etc. I also confirmed the version issue by copying libXm.4.0.3 from a 12.04 machine onto a 14.04 machine and it allows the program to work normally. I basically copied libXm.4.0.3 from a 12.04 machine to the 14.04 machine and created a symlink to it:
ln -s /usr/lib/
So, whatever has changed between 4.0.3 and 4.0.4 has broken some API calls. It's hard for us to debug this from the application side b/c it generates a segfault, which causes the application to crash.
Example of what causes the crash. When our application generates a child window which has text field widgets like a text field or textarea, typing into the field causes this crash.
Any ideas on why the new version would cause these crashes? Looking at the release notes (/usr/share/
Thanks in advance.
Quang
Changed in motif (Ubuntu): | |
status: | New → Incomplete |
Could you get a backtrace of the issue using gdb?