This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- FlexNet Publisher
- :
- FlexNet Publisher Forum
- :
- Re: QUESTION: (P0) coredump when running FlxStat test program in Linux
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 15, 2005
05:46 PM
QUESTION: (P0) coredump when running FlxStat test program in Linux
Hi,
We tried to compile our FlxStat test program in Linux. When we run it, linking with the .so libraries, we get a core dump at the first call of the FlxStat API. Here is the stack trace:
(gdb) bt
#0 0x4000ae2c in fixup () from /lib/ld-linux.so.2
#1 0x4000ade0 in _dl_runtime_resolve () from /lib/ld-linux.so.2
#2 0x40130f12 in rwlock_have_already () from /lib/i686/libpthread.so.0
#3 0x4013081b in pthread_rwlock_rdlock () from /lib/i686/libpthread.so.0
#4 0x42022d8a in __dcigettext () from /lib/i686/libc.so.6
#5 0x42022b25 in dcgettext () from /lib/i686/libc.so.6
#6 0x4207b8c7 in strerror_r () from /lib/i686/libc.so.6
#7 0x4207b715 in strerror () from /lib/i686/libc.so.6
#8 0x4003bf43 in l_set_error ()
from /home/greid/FLEXnet/platform_linux/FlxStat/lib/libFlxStatImpl.so
#9 0x4009333f in l_open_file ()
from /home/greid/FLEXnet/platform_linux/FlxStat/lib/libFlxStatImpl.so
#10 0x4008ecca in l_init_file ()
from /home/greid/FLEXnet/platform_linux/FlxStat/lib/libFlxStatImpl.so
#11 0x400466bc in l_next_conf_or_marker ()
from /home/greid/FLEXnet/platform_linux/FlxStat/lib/libFlxStatImpl.so
#12 0x4003e496 in lm_start_real ()
from /home/greid/FLEXnet/platform_linux/FlxStat/lib/libFlxStatImpl.so
#13 0x4003dfaa in l_checkout ()
from /home/greid/FLEXnet/platform_linux/FlxStat/lib/libFlxStatImpl.so
#14 0x4003dd7f in lc_checkout ()
from /home/greid/FLEXnet/platform_linux/FlxStat/lib/libFlxStatImpl.so
#15 0x40035fcb in s_flxStatCheckForFNMLicense ()
from /home/greid/FLEXnet/platform_linux/FlxStat/lib/libFlxStatImpl.so
#16 0x40035c8c in flxStatNew ()
from /home/greid/FLEXnet/platform_linux/FlxStat/lib/libFlxStatImpl.so
#17 0x08048c23 in main (argc=1, argv=0xbffff524) at StatTest.c:117
#18 0x420158f7 in __libc_start_main () from /lib/i686/libc.so.6
Not sure if this is a compatibility issue? Any suggestions? BTW the same program runs in Windows without a problem.
Thanks,
Johnson
We tried to compile our FlxStat test program in Linux. When we run it, linking with the .so libraries, we get a core dump at the first call of the FlxStat API. Here is the stack trace:
(gdb) bt
#0 0x4000ae2c in fixup () from /lib/ld-linux.so.2
#1 0x4000ade0 in _dl_runtime_resolve () from /lib/ld-linux.so.2
#2 0x40130f12 in rwlock_have_already () from /lib/i686/libpthread.so.0
#3 0x4013081b in pthread_rwlock_rdlock () from /lib/i686/libpthread.so.0
#4 0x42022d8a in __dcigettext () from /lib/i686/libc.so.6
#5 0x42022b25 in dcgettext () from /lib/i686/libc.so.6
#6 0x4207b8c7 in strerror_r () from /lib/i686/libc.so.6
#7 0x4207b715 in strerror () from /lib/i686/libc.so.6
#8 0x4003bf43 in l_set_error ()
from /home/greid/FLEXnet/platform_linux/FlxStat/lib/libFlxStatImpl.so
#9 0x4009333f in l_open_file ()
from /home/greid/FLEXnet/platform_linux/FlxStat/lib/libFlxStatImpl.so
#10 0x4008ecca in l_init_file ()
from /home/greid/FLEXnet/platform_linux/FlxStat/lib/libFlxStatImpl.so
#11 0x400466bc in l_next_conf_or_marker ()
from /home/greid/FLEXnet/platform_linux/FlxStat/lib/libFlxStatImpl.so
#12 0x4003e496 in lm_start_real ()
from /home/greid/FLEXnet/platform_linux/FlxStat/lib/libFlxStatImpl.so
#13 0x4003dfaa in l_checkout ()
from /home/greid/FLEXnet/platform_linux/FlxStat/lib/libFlxStatImpl.so
#14 0x4003dd7f in lc_checkout ()
from /home/greid/FLEXnet/platform_linux/FlxStat/lib/libFlxStatImpl.so
#15 0x40035fcb in s_flxStatCheckForFNMLicense ()
from /home/greid/FLEXnet/platform_linux/FlxStat/lib/libFlxStatImpl.so
#16 0x40035c8c in flxStatNew ()
from /home/greid/FLEXnet/platform_linux/FlxStat/lib/libFlxStatImpl.so
#17 0x08048c23 in main (argc=1, argv=0xbffff524) at StatTest.c:117
#18 0x420158f7 in __libc_start_main () from /lib/i686/libc.so.6
Not sure if this is a compatibility issue? Any suggestions? BTW the same program runs in Windows without a problem.
Thanks,
Johnson
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 15, 2005
05:57 PM
Hmm, what are you linking with? You should only link with libFlxStat.so (-lFlxStat).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 15, 2005
07:00 PM
I was linking with both libFlxStat and libFlxStatImpl, maybe that was the problem. I linked with libFlxStatImpl because it seems to contain the lc_* commands which I couldn't really find elsewhere.
Thanks,
Johnson
Thanks,
Johnson
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 16, 2005
06:39 PM
Did you solve this? otherwise give me a call and let's discuss.
Thanks
Lars
Thanks
Lars
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 17, 2005
11:23 AM
When i stopped linking with the FlxStatImpl library, the problem seems to be solved. However I had to remove the lc_* functions because they became unresolved at compile time, and therefore couldn't use our original test code. I think maybe I am not linking some other FLEX library that provides these. Do you have any idea what it might be?
Thanks,
Johnson
Thanks,
Johnson
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 21, 2005
02:56 PM
This issue is resolved. We are able to properly build with both libraries.
Greg
Greg