Memory fault when linking shared library
10/01/2018 10:46
Hello!I have the following problem: I have created an executable (MyProcess) under QNX 6.2.1 that islinked to a shared library I have written (let's call it libMyLib.so).

Now, if from a function in libMyLib any function in another sharedlibrary is called (may also be in libc, e.g. printf()) and I startMyProcess, the following memory fault happens without executing anycode: Process 249865 (MyProcess) terminated SIGSEGV code=1 fltno=11ip=703333d2 mapaddr=000303d2. ref=7820155 Memory fault MyProcess doesn't even have to call a function in libMyLib, it is justlinked to it. If from libMyLib no function in another library isreferenced, everything is ok (but that would not be very useful).

Does anyone know how I can solve this problem?Thanks in advance! Arne

Source is Usenet: comp.os.qnx
Sign in to add a comment

Answer score: 5
10/01/2018 10:46 - ok, problem is solved.


Source is Usenet: comp.os.qnx
Sign in to add a comment

eDiscover
Helpforce eDiscover provides technical articles updated each dayHelpforce eDiscover RSS feed contains the latest technical articles in RSS
Click the logo to go back to the main page
Search eDiscover
  
Categories

Click an icon to go to that category

Helpforce eDiscover contains articles about Microsoft Windows Helpforce eDiscover contains articles about Apple products and MacOS Helpforce eDiscover contains articles about Linux and POSIX operating systems Helpforce eDiscover contains articles about Helpforce Helpforce has a large variety of technical information and articles for you to read Helpforce eDiscover contains articles about databases, MYSQL, SQL Server Oracle Helpforce eDiscover contains articles about Java, JVM and the JRE Helpforce eDiscover contains articles about the QNX operating system Helpforce eDiscover contains articles about Oracle Solaris and Open Solaris Helpforce eDiscover contains articles about RISC OS, Acorn and the BBC Micro Helpforce eDiscover contains articles about Amiga and AmigaOS

Type your comment into the box below